A MATLAB implementation of a new ellipse fitting algorithm that uses an approximate maximum likelihood cost function to fit an ellipse to data, and simultaneously guarantees that an ellipse will be produced.
For more details refer to the publication: Z. Szpak, W. Chojnacki, and A. van den Hengel. Guaranteed ellipse fitting with the Sampson distance. In A. Fitzgibbon, S. Lazebnik, P. Perona, Y. Sato, and C. Schmid, editors, Computer Vision - ECCV 2012, 12th European Conf. Computer Vision, Florence, Italy, October 7-13, 2012. Proceedings, Part V, volume 7576 of Lecture Notes in Computer Science, pages 87-100. Springer, 2012.