A GENERAL-APPROACH TO CONNECTED-COMPONENT LABELING FOR ARBITRARY IMAGE REPRESENTATIONS

被引:349
作者
DILLENCOURT, MB
SAMET, H
TAMMINEN, M
机构
[1] HELSINKI UNIV TECHNOL,INFORMAT PROC SCI LAB,SF-02150 ESPOO 15,FINLAND
[2] UNIV MARYLAND,CTR AUTOMAT RES,COLLEGE PK,MD 20742
关键词
D O I
10.1145/128749.128750
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
An improved and general approach to connected-component labeling of images is presented. The algorithm presented in this paper processes images in predetermined order, which means that the processing order depends only on the image representation scheme and not on specific properties of the image. The algorithm handles a wide variety of image representation schemes (rasters, run lengths, quadtrees, bintrees, etc.). How to adapt the standard UNION-FIND algorithm to permit reuse of temporary labels is shown. This is done using a technique called age balancing, in which, when two labels are merged, the older label becomes the father of the younger label. This technique can be made to coexist with the more conventional rule of weight balancing, in which the label with more descendants becomes the father of the label with fewer descendants. Various image scanning orders are examined and classified. It is also shown that when the algorithm is specialized to a pixel array scanned in raster order, the total processing time is linear in the number of pixels. The linear-time processing time follows from a special property of the UNION-FIND algorithm, which may be of independent interest. This property states that under certain restrictions on the input, UNION-FIND runs in time linear in the number of FIND and UNION operations. Under these restrictions, linear-time performance can be achieved without resorting to the more complicated Gabow-Tarjan algorithm for disjoint set union.
引用
收藏
页码:253 / 280
页数:28
相关论文
共 20 条
[1]  
Aho A. V., 1974, DESIGN ANAL COMPUTER
[2]  
DILLENCOURT MB, 1988, 3RD P INT C SPAT DAT, P65
[3]   A LINEAR-TIME ALGORITHM FOR A SPECIAL CASE OF DISJOINT SET UNION [J].
GABOW, HN ;
TARJAN, RE .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1985, 30 (02) :209-221
[4]  
Haralick R. M., 1981, Real-Time/Parallel Computing. Image Analysis. Proceedings of Part of the Japan-United States Seminar on Research Towards Real-Time Parallel Image Analysis and Recognition, P11
[5]   EFFICIENT ALGORITHMS FOR GRAPH MANIPULATION [J].
HOPCROFT, J ;
TARJAN, R .
COMMUNICATIONS OF THE ACM, 1973, 16 (06) :372-378
[6]   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
[7]   A NEW 3-DIMENSIONAL CONNECTED COMPONENTS ALGORITHM [J].
LUMIA, R .
COMPUTER VISION GRAPHICS AND IMAGE PROCESSING, 1983, 23 (02) :207-217
[8]  
Park C., 1971, TR156 U MAR COMP SCI
[9]  
ROSENFEL.A, 1966, J ACM, V13, P471
[10]  
Rosenfeld A., 1982, DIGITAL PICTURE PROC, V2nd