How to remove the unwanted shapes on the binary image edges?

조회 수: 2 (최근 30일)
Elias Unk
Elias Unk 2017년 5월 27일
댓글: Image Analyst 2017년 5월 31일
Kindly find the original image and the binary one attached.
I have marked the 2 spots i'd like to remove as positive skin issue identification(have them black in the binary pic),kindly note that i need the method to be : 1-automated 2-doesn't affect my accuracy for positive edge identification 3-works with similar pictures not only this one.

답변 (1개)

Image Analyst
Image Analyst 2017년 5월 28일
Try the Color Thresholder app on the Apps tab of the tool ribbon.
  댓글 수: 2
Elias Unk
Elias Unk 2017년 5월 29일
That method,in case would only allow me to modify to this picture but as my main thread suggested i need more of a standard way i can apply to any pic having the same issue.
Image Analyst
Image Analyst 2017년 5월 31일
I don't know why you say that. Of course you can use the same concept to make the thresholds adjustable if you come up with some algorithm for determining the thresholds automatically. See color segmentation demos in My file Exchange
Anyway, if your criteria for rejection is that it touches the edge of the image, use imclearborder().

댓글을 달려면 로그인하십시오.

Community Treasure Hunt

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

Start Hunting!

Translated by