how to eliminate identical portions of an image?

3 views (last 30 days)
hi everyone,I need help
after segmentation,i calculate the tortuosity of each vessel for two image,Now I try to remove the image the same parts
someone to a solution

Answers (1)

Image Analyst
Image Analyst on 27 Aug 2014
% Find matching values
binaryImage = (image1 == image2);
% "Remove" the matching pixels by setting them to zero in each original image.
image1(binaryImage) = 0;
image2(binaryImage) = 0;
If that's not what you mean, then explain what you mean (because what you said is confusing).

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!