Crop image based on binary mask

(jaideep v) #1

Hi
Given a RLE mask ,i want to crop the image around the mask so if image is quite big 10241024 and as per mask object of interest is located in small portion of image. I wan to crop image of size 256256 which will enclose the mask completely.

0 Likes