Using perceptual grouping for road recognition