pub type LineSegment = ((usize, usize), (usize, usize));
A line segment detected by Hough transform: ((x1, y1), (x2, y2)).