Orientation-Fields Segmentation Based on the Notion of Line-Segment Function