In order to obtain better line detection, an algorithm of line detection based on grey relational analysis is presented. The reference series and compare series were defined. The relevant coefficients between the reference series and compare series were calculated to every pixel. The result of edge detection based on grey relational analysis may not only keep the image edge characteristics, but also obtain the clearer image through comparing with common methods. When the edge detection is proceeded, line is be detected by Hough transform. The examples ...