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 条
[1]   Feature analysis using line sweep thinning algorithm [J].
Chang, F ;
Lu, YC ;
Pavlidis, T .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 1999, 21 (02) :145-158
[2]  
CHANG F, 2001, SPECIAL ISSUES DOCUM, V4, P46
[3]   A GENERAL-APPROACH TO CONNECTED-COMPONENT LABELING FOR ARBITRARY IMAGE REPRESENTATIONS [J].
DILLENCOURT, MB ;
SAMET, H ;
TAMMINEN, M .
JOURNAL OF THE ACM, 1992, 39 (02) :253-280
[4]   Two linear time Union-Find strategies for image processing [J].
Fiorio, C ;
Gustedt, J .
THEORETICAL COMPUTER SCIENCE, 1996, 154 (02) :165-181
[5]  
FREEMAN H, 1961, P NATL EL C, P421
[6]  
HAID TD, 1989, IEE EUR C CIRCUIT TH, P118
[7]   BORDER FOLLOWING - NEW DEFINITION GIVES IMPROVED BORDERS [J].
HAIG, TD ;
ATTIKIOUZEL, Y ;
ALDER, MD .
IEE PROCEEDINGS-I COMMUNICATIONS SPEECH AND VISION, 1992, 139 (02) :206-211
[8]  
Haralick RM, 1981, REAL TIME PARALLEL C
[9]   2-D SHAPE CLASSIFICATION USING HIDDEN MARKOV MODEL [J].
HE, Y ;
KUNDU, A .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 1991, 13 (11) :1172-1184
[10]   Statistical pattern recognition: A review [J].
Jain, AK ;
Duin, RPW ;
Mao, JC .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2000, 22 (01) :4-37