Ellipse Fitting for Computer Vision: Implementation and Applications