MATLAB: How to draw different color on single image in GUI

image processingImage Processing Toolboximage segmentation

i want to draw two different color freehand mask on image which is displayed in GUI axes

Best Answer

I don't think the drawing color is an option to imfreehand(). So after you've completed drawing it, you'll have to use plot() to place the outline into the overlay with the color you want.
With the newer drawfreehand() function, there is an input option to specify the color.