MATLAB: Angle between two objects in image using regionprops.

angleimageImage Processing Toolboxorientationregionprops

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?

Best Answer

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