Analysis and detection of 3-D curvilinear structures