How can i find longest axis from mango shape object?

2 vues (au cours des 30 derniers jours)
Sabanam
Sabanam le 7 Mar 2014
Commenté : Image Analyst le 10 Mar 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.

Réponse acceptée

Image Analyst
Image Analyst le 7 Mar 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 commentaires
Sabanam
Sabanam le 10 Mar 2014
Yaa..Got ur Point..Thanks sir
Image Analyst
Image Analyst le 10 Mar 2014
Good. Please accept the answer if we're done.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Image Segmentation and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by