title: Change regionprops orientation range
body: <p>I am using matlab to track the orientation of rotating object, whose position is retrieved at each step by a camera sensor. This is the image I'm talking about:</p>
  
  <p><img src="https://i.imgur.com/ZE7h1zY.png" alt="camera"></p>
  
  <p>The object moves back and forth rotating on its joint. </p>
  
  <p>I am using regionprops on the image in order to get the angle, however it is my understanding that regionprops works in the range [-90, 90] degrees and computes the angle between the major axis of the ellipsoid encapsulating the area and the x-axis. This is unfortunate, because this is what I get (upper image) compared to what it should look like (lower image).</p>
  
  <p><img src="https://i.imgur.com/2o6EXvU.png" alt="angles"></p>
  
  <p>Is there any way to change the range of regionprops so that it is [0 360]? If not, what can I use instead? 
  Thanks in advance</p>