Optimization and application of connected component labeling algorithm based on run-length encoding

2009 ◽  
Vol 28 (12) ◽  
pp. 3150-3153 ◽  
Author(s):  
Shi-jie CAI ◽  
Qiang YU
Author(s):  
LIFENG HE ◽  
YUYAN CHAO ◽  
KENJI SUZUKI

This paper presents a run- and label-equivalence-based one-and-a-half-scan algorithm for labeling connected components in a binary image. Major differences between our algorithm and conventional label-equivalence-based algorithms are: (1) all conventional label-equivalence-based algorithms scan all pixels in the given image at least twice, whereas our algorithm scans background pixels once and object pixels twice; (2) all conventional label-equivalence-based algorithms assign a provisional label to each object pixel in the first scan and relabel the pixel in the later scan(s), whereas our algorithm assigns a provisional label to each run in the first scan, and after resolving label equivalences between runs, by using the recorded run data, it assigns each object pixel a final label directly. That is, in our algorithm, relabeling of object pixels is not necessary any more. Experimental results demonstrated that our algorithm is highly efficient on images with many long runs and/or a small number of object pixels. Moreover, our algorithm is directly applicable to run-length-encoded images, and we can obtain contours of connected components efficiently.


2013 ◽  
Author(s):  
ShaoMin Mu ◽  
XuHeng Zha ◽  
HaiYang Du ◽  
QingBo Hao ◽  
TengTeng Chang

2015 ◽  
Vol E98.D (11) ◽  
pp. 2013-2016 ◽  
Author(s):  
Xiao ZHAO ◽  
Lifeng HE ◽  
Bin YAO ◽  
Yuyan CHAO

Sensors ◽  
2015 ◽  
Vol 15 (9) ◽  
pp. 23763-23787 ◽  
Author(s):  
Wan-Yu Chang ◽  
Chung-Cheng Chiu ◽  
Jia-Horng Yang

Sign in / Sign up

Export Citation Format

Share Document