Angle between two objects in image using regionprops.

In my image with function regionprops and parameter 'Orientation' I get an angle between object and x-axis. But I need to calculate angle between two objects. Is there an easy way to do it?

 Accepted Answer

Uh, isn't the angles between the two object, the difference between the two Orientations?

1 Comment

I thought so too, so I have error somewhere else in my code:)

Sign in to comment.

More Answers (0)

Asked:

on 30 Nov 2014

Commented:

on 30 Nov 2014

Community Treasure Hunt

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

Start Hunting!