From: Mathew Thomas on
Hey All !!!!!

Apart of my gui code is follows: I am trying to draw on an image in a GUI.

axes(handles.axes_for_maxilla_boundary_detection); %Axes where image is displayed
imshow(I2+RGB1); %Image shown
hH = imfreehand(gca);
fontSize = 20;
binaryImage = hH.createMask();

The issue is that imfreehand pointer is shown on the image, but nothing comes when I draw on the image and the program doesnt terminate. Does anyone know what the issue is??

Thanks for any help,

Mathew
From: Mathew Thomas on
It works if run normally in a program, but does'nt work in the GUI.