Pink 0.9

ellipsefit.c File Reference

ellipse identification and drawing from spare points More...


Detailed Description

ellipse identification and drawing from spare points

Usage: ellipsefit in.pgm pts.list filled out.pgm

Description: Identifies the ellipse E which minimizes the sum of the (approximate) distances between the points in pts.list and E. If filled (int32_t) is set, then a filled ellipse is drawn.

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