How to measure the horizontal and vertical axis length of an object?
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
gugu
el 3 de Dic. de 2017
Comentada: gugu
el 3 de Dic. de 2017
I want to measure the horizontal and vertical axis length of the object in the attached image. How can I do that?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170578/image.jpeg)
0 comentarios
Respuesta aceptada
Image Analyst
el 3 de Dic. de 2017
props = regionprops(binaryImage, 'BoundingBox');
horizontalWidth = props.BoundingBox(3);
verticalHeight = props.BoundingBox(4);
Más respuestas (0)
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!