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

2 vues (au cours des 30 derniers jours)
Elias Unk
Elias Unk le 27 Mai 2017
Commenté : Image Analyst le 31 Mai 2017
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.

Réponses (1)

Image Analyst
Image Analyst le 28 Mai 2017
Try the Color Thresholder app on the Apps tab of the tool ribbon.
  2 commentaires
Elias Unk
Elias Unk le 29 Mai 2017
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 le 31 Mai 2017
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().

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by