How to skeletal the image ?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Naresh Naik
el 28 de Dic. de 2013
Comentada: Image Analyst
el 30 de Dic. de 2013
Do we find out the exact length (In pixels) of horizontal and vertical line....
0 comentarios
Respuesta aceptada
Image Analyst
el 28 de Dic. de 2013
To get the skeleton:
skelImage = bwmorph(binaryImage, 'skel', inf);
to find the number of pixels in that:
theNumberOfPixels = sum(skelImage(:));
2 comentarios
Image Analyst
el 30 de Dic. de 2013
Skeletons are only one pixel wide - that's the definition of them. Perhaps you were thinking of the binary image, like
binaryImage = realImage > 30; % or whatever value you want.
This will have some width to the lines.
Más respuestas (0)
Ver también
Categorías
Más información sobre Computer Vision with Simulink en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!