Ellipse extraction method based on elliptic least squares method and roundness contour error evaluation