How can i find longest axis from mango shape object?

조회 수: 3 (최근 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 CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by