On Jul 31, 2012 9:07 AM, "jeff witz" firstname.lastname@example.org wrote:
I must use regionprops in order to identify a lot of el
I must use regionprops in order to identify a lot of ellipse in a picture. I have constated a mistake in the implementation of the 'Orientation' identification. in skimage/measure/_regionprops.py at line 298 the function atan is used to recover the angle. In my case I constate that a lot of the ellipse are correctly identified using atan, but in some cases the 'MinorAxisLength' and the 'MajorAxisLength' are swapped. You can solve this issue using the atan2 function that take into account the trigonometric quadrant.