Introduction
Image segmentation is a fundamental task in computer vision, particularly for screen content coding where images contain a mixture of natural backgrounds, text, and computer-generated graphics. Traditional methods like k-means clustering often struggle with screen content because backgrounds frequently contain smooth color gradients, and text colors may overlap with background intensities. While sparse decomposition has emerged as a promising alternative, standard approaches often produce fragmented results, failing to capture the inherent connectivity of text characters and lines.
Problem Formulation
Screen content segmentation aims to separate an image into a smooth background layer and a sparse foreground layer containing text and graphics.
Previous sparse decomposition techniques typically model the image $F$ as $F = X + S$, where $X$ is the background and $S$ is the foreground. However, these methods often suffer from two main issues: overfitting, where the background model captures high-frequency details belonging to the foreground, and a lack of connectivity, where penalizing individual pixels leads to "salt and pepper" noise.
Methodology
The proposed framework addresses these limitations by introducing a structured sparsity prior. The background $X$ is represented as a linear combination of low-frequency 2D Discrete Cosine Transform (DCT) basis functions. By restricting the model to a small set of smooth bases, the algorithm prevents the background from absorbing the sharp edges of the foreground text.
The core innovation is the use of Overlapping Group Sparsity (OGS) for the foreground $S$. Instead of penalizing pixels independently, the authors apply a penalty to overlapping groups defined by all rows and columns within an image block. This mathematical constraint encourages the optimization to select pixels that form continuous horizontal and vertical structures, effectively promoting the connectivity of text strokes and graphical lines. To solve the resulting objective function, the authors employ the Alternating Direction Method of Multipliers (ADMM).
Experimental Results
The algorithm was evaluated using 332 image blocks (64x64 pixels) from the HEVC standard test sequences for screen content coding.
The proposed method significantly outperformed existing baselines, including SPEC, Hierarchical Clustering (DjVu), and Least Absolute Deviation (LAD). Quantitatively, the method achieved an F1 score of 90% and a remarkably high precision of 93.7%. Qualitatively, the inclusion of group sparsity priors successfully eliminated isolated noise pixels, resulting in sharp, well-defined masks for text and graphics.
Conclusion
By combining a smooth DCT-based background model with an overlapping group-sparse foreground model, this framework provides a robust solution for screen content segmentation. The emphasis on spatial connectivity through group sparsity represents a significant advancement over pixel-wise sparse decomposition. Future work will focus on reducing the computational complexity of the ADMM iterations to enable real-time applications.
Summary updated