Borrar filtros
Borrar filtros

How can i find longest axis from mango shape object?

8 visualizaciones (últimos 30 días)
Sabanam
Sabanam el 7 de Mzo. de 2014
Comentada: Image Analyst el 10 de Mzo. de 2014
In this image i want to crop only mango part.After then find the longest axis from mango shape and draw longest line from mango and calculate the length of the line.Based on the longest line value i can grade mango in large ,medium and small..Please help me as soon as possible.

Respuesta aceptada

Image Analyst
Image Analyst el 7 de Mzo. de 2014
See my image segmentation tutorial: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 Adapt it to use your image and to segment the mango somehow. Then call regionprops and ask for MajorAxisLength.
  8 comentarios
Sabanam
Sabanam el 10 de Mzo. de 2014
Yaa..Got ur Point..Thanks sir
Image Analyst
Image Analyst el 10 de Mzo. de 2014
Good. Please accept the answer if we're done.

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by