how to eliminate identical portions of an image?
1 次查看(过去 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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145201/image.jpeg)
someone to a solution
0 个评论
回答(1 个)
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).
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!