I have an image of size 584x565x3 and a binary mask of size 584×565. please consider the following piece of code
greenimg=I(:,:,2);masked_I=mask.*greenimg;imshow(masked_I);
But I am not getting the region of interest instead it seems same as the original mask
Please help
Best Answer