I have a large image and there only small area is ROI and that I have to use for segmentation I use
if true % code
*startgrayImageOrig = imread(fullFileName);c=[150,181,263,384,443,440,302,183];r=[273,245,317,361,367,423,401,331];maskImg=roipoly(grayImageOrig,c,r);*finishedend
Extract the area and work over that is difficult because of non regular shape. I want to use original image and then like freehand selection I select area and then rest calculation.
Best Answer