GROUPING OF RECTILINEAR SEGMENTS BY THE LABELED HOUGH TRANSFORM