Grouping dominant orientations for ill-structured road following