Filter löschen
Filter löschen

How can i find longest axis from mango shape object?

8 Ansichten (letzte 30 Tage)
Sabanam
Sabanam am 7 Mär. 2014
Kommentiert: Image Analyst am 10 Mär. 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.

Akzeptierte Antwort

Image Analyst
Image Analyst am 7 Mär. 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 Kommentare
Sabanam
Sabanam am 10 Mär. 2014
Yaa..Got ur Point..Thanks sir
Image Analyst
Image Analyst am 10 Mär. 2014
Good. Please accept the answer if we're done.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by