Ellipse detection via gradient direction in the hough transform.