I have an image shown in image 1, in which i get two objects bw1 and bw2. But, when i crop the bounding box region of object1 (bw1), i get the left side region of bw2 also, and when i crop bw2 i get the right side of bw1… how can i get the two objects cropped separately from the original image, without the other region coming in the cropped image…
MATLAB: Crop a binary mask without other regions
image processing
Best Answer