I want to specify an ROI (of a binary image) on screen (several times) and make its inside white but do not change the outside. How can I do so?
I used imfill, but it gives me only the choice of choosing one point.
How can I determine the locations (specified by the user on screen) for imfill?
I tried to use this simple code, but it does not do what I want:
ROI = imfreehand();
ROI_xy = floor(hFH.getPosition)
I also used
but it didn't work either.
Could someone help me please with this?