Finds a threshold to distinguish the Region of Interest - Error using roicolor

1 view (last 30 days)
%%Finds a threshold to distinguish the ROI (Region of Interest) from the surrounding medium and other tissue im = imread('metex.tif'); BW = (im>0.5); BW =roicolor(BW,128,255); imshow(BW);
Error using roicolor: Images with dimensions greater than two are not supported. Have I wrong code?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!