[Paper Review] Bayesian Separation of Document Images with Hidden Markov Model
This paper proposes a Bayesian hierarchical model that jointly separates and segments linearly mixed document images using a Hidden Markov Model (HMM) with a Potts-Markov prior on class labels to enforce spatial regularity. The method employs MCMC sampling for joint estimation of sources, mixing matrix, and label fields, achieving effective separation of text and background across multiple color channels with improved segmentation accuracy over ICA-based methods.
this paper we consider the problem of separating noisy instantaneous linear mixtures of document images in the Bayesian framework. The source image is modeled hierarchically by a latent labeling process representing the common classifications of document objects among different color channels and the intensity process of pixels given the class labels. A Potts Markov random field is used to model regional regularity of the classification labels inside object regions. Local dependency between neighboring pixels can also be accounted by smoothness constraint on their intensities. Within the Bayesian approach, all unknowns including the source, the classification, the mixing coefficients and the distribution parameters of these variables are estimated from their posterior laws. The corresponding Bayesian computations are done by MCMC sampling algorithm. Results from experiments on synthetic and real image mixtures are presented to illustrate the performance of the proposed method.
Motivation & Objective
- To address the ill-posed problem of blind source separation in document images, particularly in cases of show-through and bleed-through degradation.
- To incorporate spatial and structural prior knowledge—such as local smoothness and edge consistency—into the separation process using a hierarchical Bayesian model.
- To jointly estimate source images, mixing matrix, and class labels (e.g., text vs. background) across multiple color channels.
- To improve separation performance by modeling pixel intensities as a Mixture of Gaussians (MoG) with hidden class labels and enforcing spatial coherence via a Potts-Markov prior.
- To demonstrate the feasibility of joint separation and segmentation using both synthetic and real-world document mixtures.
Proposed method
- Models document image mixtures using a linear instantaneous mixing model with unknown mixing matrix A and additive white Gaussian noise.
- Represents source pixel intensities as a Mixture of Gaussians (MoG), where each component corresponds to a class (e.g., text or background), with class labels z(r) indicating the class at pixel r.
- Imposes a Potts-Markov random field prior on the class label field z to enforce spatial coherence and edge preservation, promoting smooth regions with sharp boundaries.
- Applies conjugate priors to hyperparameters (means, variances, mixing matrix) and uses Gibbs sampling within a Markov Chain Monte Carlo (MCMC) framework to sample from the joint posterior distribution.
- Employs a hierarchical Bayesian formulation where the posterior distributions of all unknowns (sources, labels, mixing matrix, noise variance) are estimated iteratively using conditional posteriors.
- Uses Kronecker product and vectorization to efficiently compute joint covariance matrices for the mixing matrix and source parameters in the posterior sampling steps.
Experimental results
Research questions
- RQ1Can a Bayesian hierarchical model with spatial priors improve the separation of overlapping document images compared to traditional ICA methods?
- RQ2How effective is the use of a Potts-Markov prior on hidden class labels in preserving structural features such as text boundaries during image separation?
- RQ3To what extent does modeling multi-channel image mixtures jointly enhance separation performance compared to single-channel processing?
- RQ4Can the joint estimation of source images, mixing matrix, and class labels via MCMC sampling yield more accurate and robust results in the presence of noise and complex mixtures?
- RQ5How does the proposed method handle real-world degradation such as show-through and bleed-through in duplex-printed or ancient documents?
Key findings
- The proposed Bayesian HMM method successfully separates synthetic and real document image mixtures into distinct source components, with clear segmentation of text and background regions.
- The use of a Potts-Markov prior on class labels significantly improves spatial coherence and edge preservation in the separated sources compared to non-spatial models.
- On synthetic data, the method accurately recovers both source images and their corresponding class label fields, as shown in Fig. 2, with minimal artifacts.
- In real show-through cases (Fig. 3), the algorithm successfully isolates the front-side and back-side text, producing visually coherent and interpretable source images.
- Compared to FastICA, the proposed method avoids the permutability issue and produces cleaner, more meaningful components; ICA outputs include four noise-like components, reducing usability for reconstruction.
- Despite high computational cost (hours for a 300×240 image), the method demonstrates feasibility and effectiveness for joint separation and segmentation, with potential for acceleration via variational inference or mean-field approximations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.