It may well be that those two functions use opposite directions for theta. Do you mind filing an issue?

Thanks

Stéfan

On Fri, Apr 28, 2017, at 11:02, Surya Kasturi wrote:

Hi,I’m trying to use skimage.measure.EllipseModel to estimate an ellipse around a contour. The results seems to be not so satisfying. I am wondering if I am using “orientation” parameter correctly.Could anyone please let me know whether “theta” is in radians or degrees? / I am doing anything wrong?from skimage.measure import EllipseModel# create ellipse modelellipse = EllipseModel()ellipse.estimate(cnt)xc, yc, a, b, theta = np.array(ellipse.params, dtype=int)# find perimeterrr, cc = draw.ellipse_perimeter(xc, yc, a, b,orientation=theta)# plotax.scatter(cc, rr, s=5, label="EllipseModel”)Thank you,Surya_______________________________________________scikit-image mailing list