Top-down control in contour grouping