From: Mathew Thomas on
Hi All

I was trying to draw on an image using imfreehand command. This works well in a normal program, but for some reason, in the GUI, it only shows the pointer but does not draw when the imfreehand command is used.

axes(handles.axes_detection); %Axes where image is displayed
imshow(I); %Image shown
hH = imfreehand(gca);

Again only the 'pointer' or 'cross' is shown, but pressing and dragging the mouse does not yield any drawing on the image. Can't figure out what the issue is.

Anyone has any ideas ??

Thanks in advance for any help.