A linear-time component-labeling algorithm using contour tracing technique

被引:347
作者
Chang, F [1 ]
Chen, CJ [1 ]
Lu, CJ [1 ]
机构
[1] Acad Sinica, Inst Informat Sci, Taipei 115, Taiwan
关键词
component-labeling algorithm; contour tracing; linear-time algorithm;
D O I
10.1016/j.cviu.2003.09.002
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
A new linear-time algorithm is presented in this paper that simultaneously, labels connected components (to be referred to merely as components in this paper) and their contours in binary images. The main step of this algorithm is to use a contour tracing technique to detect the external contour and possible internal contours of each component, and also to identify and label the interior area of each component. Labeling is done in a single pass over the image, while contour points are revisited more than once, but no more than a constant number of times. Moreover, no re-labeling is required throughout the entire process, as it is required by other algorithms. Experimentation on various types of images (characters, halftone pictures, photographs, newspaper, etc.) shows that our method outperforms methods that use the equivalence technique. Our algorithm not only labels components but also extracts component contours and sequential orders of contour points, which can be useful for many applications. (C) 2003 Elsevier Inc. All rights reserved.
引用
收藏
页码:206 / 220
页数:15
相关论文
共 16 条
[11]   A NEW CONNECTED COMPONENTS ALGORITHM FOR VIRTUAL MEMORY COMPUTERS [J].
LUMIA, R ;
SHAPIRO, L ;
ZUNIGA, O .
COMPUTER VISION GRAPHICS AND IMAGE PROCESSING, 1983, 22 (02) :287-300
[12]   SHAPE DISCRIMINATION USING FOURIER DESCRIPTORS [J].
PERSOON, E ;
FU, KS .
IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS, 1977, 7 (03) :170-179
[13]  
ROSENFEL.A, 1966, J ACM, V13, P471
[14]  
Shima Y., 1990, Proceedings. 10th International Conference on Pattern Recognition (Cat. No.90CH2898-5), P655, DOI 10.1109/ICPR.1990.118183
[15]   EFFICIENCY OF A GOOD BUT NOT LINEAR SET UNION ALGORITHM [J].
TARJAN, RE .
JOURNAL OF THE ACM, 1975, 22 (02) :215-225
[16]  
Trier OD, 1996, PATTERN RECOGN, V29, P641, DOI 10.1016/0031-3203(95)00118-2