How to remove the unwanted shapes on the binary image edges?
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Image Analyst
2017-5-28
Try the Color Thresholder app on the Apps tab of the tool ribbon.
2 个评论
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!