Grouping of Rectilinear Segments by the Labeled Hough Transform