how to find angle of inclination of the object in binary images

2 Ansichten (letzte 30 Tage)
Pradeeba
Pradeeba am 3 Mär. 2014
Kommentiert: Image Analyst am 5 Mär. 2014
Please any one show me the code for finding angle of inclination of the object in binary image, Please help me.

Antworten (1)

Image Analyst
Image Analyst am 3 Mär. 2014
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 Kommentare
Pradeeba
Pradeeba am 5 Mär. 2014
Thank you sir it is working well. i got an answer like this
Image Analyst
Image Analyst am 5 Mär. 2014
Can you mark my Answer as "Accepted" then? Thanks.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by