フィルターのクリア

how to accurately remove objects from an image which are also present in another image?

1 回表示 (過去 30 日間)
Krishna Chaitanya
Krishna Chaitanya 2020 年 4 月 9 日
I am trying to remove white spots in an image which lie on the blood vessels.I have tried this code and some spots which are not present on blood vessels are also being removed and I also found that size and shape of some whte spots which aren't present on the blood vessels are also beinng changed.The image of white spots is:
and the image of blood vessels is:
and the final output after removal of white spots which are present on blood vessels is:
The code i have tried is:
VesselCandidates = BloodVessels & CorrelationOutput;%here VesselCandidates are the whitespots which lie on the BloodVessels
[r,c] = find(VesselCandidates==1);%I'm finding location of those VesselCandidates
CorrelationOutput(r,c) = 0;%and making their pixel intensity as zero
Can anyone suggest me what I am doing wrong and help me get the correct output.
Is there any other way to perform the task accurately?
Please suggest ,
Thank you.

回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Segmentation and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by