How to remove mammogram tags automatically?
이전 댓글 표시
Hi All,
I have mammogram images with label tag (top right corner) on each of every image. How do I remove the tags automatically? Please kindly help and advice. I have uploaded the image below. Thank you very much.

채택된 답변
추가 답변 (2개)
Image Analyst
2014년 10월 29일
0 개 추천
You can use my ExtractNLargestBlobs() function, in my attached ExtractLargestBlob file. Uh, maybe you could rename it ExtractLargestBoob for your case. :-)
Just threshold at some low number and this will take the largest blob (boob) in the image. This will work assuming the breast can be thresholded into one large contiguous region, not several regions, which seems like a good assumption.
댓글 수: 8
Epah
2014년 10월 29일
Image Analyst
2014년 10월 29일
Epah, your problem below is that you used locally adaptive histogram equalization for some reason. That got rid of the big blob - the main breast - and created lots of smaller blobs. Don't do that (there's absolutely no reason to whatsoever!) and you should be okay.
Epah
2014년 10월 31일
Epah
2014년 10월 31일
Epah
2014년 10월 31일
Image Analyst
2014년 10월 31일
편집: Image Analyst
2014년 10월 31일
Looks like the threshold is too low so that you get a path of dark gray pixels between the breast and marker. Try raising the threshold.
binaryImage = IM > 30; % Or whatever works.
labeledImage = bwlabel(binaryImage);
Image Analyst
2014년 10월 31일
There could be lot of situations that you need to handle to be completely robust. I gave a solution for one of them. Each time you add another weird situation, the algorithm will need to be modified. For example, in the above case there seems to be a dark grey path connecting the breast to the tag. So you need to handle that, say by raising the threshold so there's a break between the breast and the tag. But then that may shrink the breast in other places, which you don't want. One thing to note is that the tag's texture is not as much as the breast. So you could use a texture filter to determine what areas are breast and which are smooth background and tag. You can split apart the breast and the tag with watershed, and check if the texture inside the split blobs is smooth, meaning it's a tag, or rough, meaning it's breast. Bottom line, you may have to combine several methods to make it more robust to all the possible situations that might occur.
Epah
2014년 11월 2일
카테고리
도움말 센터 및 File Exchange에서 Morphological Operations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



