Using find and ismember for binary images comparison

1 view (last 30 days)
Hi, I have 2 binary images with objects. Some of the objects in image 1 are still on image 2, the others are not there anymore. I wanna get all the objects that were on the first image but are not on the second image anymore (by using Centroids of regionprops). If a centroid of a given object in image 1 is equal to 1 on image 2, it means the object is still there. Is there a way to do this easily by using find & ismember? I want my output to be the binary image containing objects that were on image 1 but are no longer on image 2.

Answers (0)

Community Treasure Hunt

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

Start Hunting!