Grouping local directional signals into moving contours