Edge detection of a nail
Mostrar comentarios más antiguos
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 ?

Respuesta aceptada
Más respuestas (1)
Image Analyst
el 10 de Oct. de 2014
0 votos
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.
Categorías
Más información sobre Object Analysis en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


