I\'m trying to detect and extract curves in images. More specifically, I\'m developing and algorithm to detect a sailboat mast and draw the curve the mast produces. I\'ve tr