how to eliminate identical portions of an image?

2 次查看(过去 30 天)
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

回答(1 个)

Image Analyst
Image Analyst 2014-8-27
% 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).

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by