1. A method for detecting a line in an image, the method comprising: receiving image-space pixel data corresponding to detected edges in the image; computing, using a local memory, a result of a partial conversion of the image-space pixel data to Hough-space data; detecting an edge corresponding to a line present in the partial conversion; and comparing the line against other lines detected in previously computed partial conversions to identify a longest line in the image.