A straight line passing through the points (x1, y1) and (x2, y2) can in the x, y plane be described by, y = ax+b (3) The Hough transform for lines does not using this representation of lines, since lines perpendicular to the x-axis will have a value of infinity.