Pink 0.9

ellipseparams.c File Reference

ellipse identification and main parameter computation More...


Detailed Description

ellipse identification and main parameter computation

Usage: ellipseparams pts.list out.list

Description: Identifies the ellipse E which minimizes the sum of the (approximate) distances between the points in pts.list and E. The output is a list containing 6 numbers: a1, a2, r1, r2, r3, r4 where a1 is the half of the big axis length, a2 is the the half of the little axis length, and each ri is the mean "distance", for quadrant i, between intput points and the computed ellipse (the expected value for points forming a perfect ellipse is 0)

Ref: Andrew W. Fitzgibbon, Maurizio Pilu, and Robert B. Fisher Direct least-squares fitting of ellipses, IEEE Transactions on Pattern Analysis and Machine Intelligence, 21(5), 476--480, May 1999

Types supported: byte 2d

Category: geo

Author:
Michel Couprie