How can i find longest axis from mango shape object?

2 ビュー (過去 30 日間)
Sabanam
Sabanam 2014 年 3 月 7 日
コメント済み: Image Analyst 2014 年 3 月 10 日
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.

採用された回答

Image Analyst
Image Analyst 2014 年 3 月 7 日
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 件のコメント
Sabanam
Sabanam 2014 年 3 月 10 日
Yaa..Got ur Point..Thanks sir
Image Analyst
Image Analyst 2014 年 3 月 10 日
Good. Please accept the answer if we're done.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Segmentation and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by