An efficient binary image activity detector based on connected components

Activity detection on binary images can be a useful part of image processing for detecting noise, texture, printed text, or dithering. We present an image activity detector based on computing a density of selected connected components (CCs). Connectedness is a useful property because it is present in individual printed letters, lines, and edges. In contrast, salt-and-pepper noise and dithering are typically composed of a large number of disconnected patterns. By filtering the CCs based on size, we can measure different kinds of activities, and segment or filter the image accordingly. The activity detector is extremely efficient and can be run in a fraction of the time it takes to compute a run-length encoding version of the image. As an example, we built a noise removal filter based on the density of CCs, which is both faster and better than a conventional median filter.

[1]  Majdi Ben Hadj Ali Background noise detection and cleaning in document images , 1996, Proceedings of 13th International Conference on Pattern Recognition.

[2]  Reiner Eschbach,et al.  Segmentation of compressed documents , 1997, Proceedings of International Conference on Image Processing.

[3]  Robert M. Haralick,et al.  Document image restoration using binary morphological filters , 1996, Electronic Imaging.

[4]  Yuttapong Rangsanseri,et al.  Removing salt-and-pepper noise in text/graphics images , 1998, IEEE. APCCAS 1998. 1998 IEEE Asia-Pacific Conference on Circuits and Systems. Microelectronics and Integrating Systems. Proceedings (Cat. No.98EX242).