Vision-based curve reconstruction