Follow the script:
BW = roipoly (I, c, r);figure, imshow (BW);figure, imshow(uint8(BW).*I); %Generate the new image for the region selected.%
image analysisimage processingImage Processing Toolboximage segmentation
BW = roipoly (I, c, r);figure, imshow (BW);figure, imshow(uint8(BW).*I); %Generate the new image for the region selected.%
Best Answer