Semi-automatic spline fitting of planar curvilinear profiles in digital images using the Hough transform