Hough transform-based cubic spline recognition for natural shapes