how to find angle of inclination of the object in binary images
조회 수: 2 (최근 30일)
이전 댓글 표시
Please any one show me the code for finding angle of inclination of the object in binary image, Please help me.
댓글 수: 0
답변 (1개)
Image Analyst
2014년 3월 3일
See my image segmentation tutorial, "BlobsDemo" http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
In short, you process your image until you get to an image that you can threshold into foreground and background. Then you call regionprops on the foreground and ask for the 'Orientation' of all the blobs. That's the angles of the major axis of an ellipse fit to the blobs.
댓글 수: 2
참고 항목
카테고리
Help Center 및 File Exchange에서 Labeling, Segmentation, and Detection에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!