Laser & Optoelectronics Progress, Volume. 56, Issue 21, 211002(2019)
Algorithm for Detecting Straight Line Segments in Color Images
The existing algorithms for detecting straight line segments are all designed for grayscale images. When implemented on color images, they discard the input image's color information; this is undesirable for accurately detecting straight line segments. To solve this problem, this study proposes an algorithm that directly detects straight line segments in color images. First, DiZenzo operator is utilized to compute gradient vectors in three color channels, and image edges are extracted based on the average gradient magnitudes and orientations. Then, the pixels on each image edge are tracked and they are linked or split to generate candidate straight line segments. Finally, based on the gradients of the points on the candidate line segments, Helmholtz criterion is used to eliminate the false line segments caused by noise, yielding the final set of line segments. Experimental results show that the new algorithm can fully exploit the color information of the input image, leading to significantly improved detection efficiency when compared with the existing algorithms. On the YorkUrbanDB image database, the highest accuracy of the proposed algorithm increases from 0.2207 to 0.2687 and a high F-score is achieved.
Get Citation
Copy Citation Text
Yuqing Liu, Baojiang Zhong, Hangjia Zheng. Algorithm for Detecting Straight Line Segments in Color Images[J]. Laser & Optoelectronics Progress, 2019, 56(21): 211002
Category: Image Processing
Received: Mar. 22, 2019
Accepted: Apr. 30, 2019
Published Online: Nov. 2, 2019
The Author Email: Liu Yuqing (bjzhong@suda.edu.cn), Zhong Baojiang (bjzhong@suda.edu.cn)