Edge detection of a nail
Ältere Kommentare anzeigen
I am working on a assignment in which i have to detect the edges of nail. i tried to do this using bwboundaries command i did my work to some extent but the problem is that it detected the boundary of the large circle as well. however i just want to detect the nail edges. is there anyway by which i can do this ?

Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 10 Okt. 2014
0 Stimmen
Simply mask the image by the know location of the circle, which I assume will be in the same location for every image. See my attached masking demo.
Then use bwareaopen, or my attached ExtractNLargestBlobs function to get just the big nail and not all those other blobs in the array.
Kategorien
Mehr zu Object Analysis finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


