tams.Ellipse

tams.Ellipse#

class tams.Ellipse(center, width, height, angle)#

Ellipse fit parameters, e.g. returned by fit_ellipse().

Parameters:
__init__()#

Methods

to_blob()

Convert to Blob object, which provides further conversion methods.

Attributes

a

Semi-major axis length.

angle

Rotation angle (degrees) from x-axis to the width axis.

b

Semi-minor axis length.

c

The linear eccentricity (distance from center to focus).

center

Center (x, y) coordinates.

e

Alias for eccentricity.

eccentricity

The (first) eccentricity.

height

Diameter in the y-direction before rotation.

width

Diameter in the x-direction before rotation.