Dynamic contours: real-time active splines