Abstract
This paper presents a novel probabilistic generative model for image segmentation that bridges the gap between flexible non-parametric methods and principled Bayesian frameworks. By employing Kernel Density Estimation (KDE) instead of rigid parametric distributions, the model captures complex, irregular image structures while facilitating the integration of top-down prior knowledge. We demonstrate the model's effectiveness in maintaining temporal consistency in video and identifying shared objects across image collections.
Introduction
Image segmentation—the task of partitioning an image into semantically meaningful regions—remains a fundamental challenge in computer vision. Existing methodologies typically fall into two categories: parametric probabilistic models and spectral methods. Parametric models, such as Gaussian Mixture Models (GMMs) optimized via Expectation-Maximization (EM), offer a sound mathematical basis and "soft" cluster assignments. However, they are often limited by the assumption that segments follow simple geometric shapes (e.g., Gaussians), failing to represent the irregular boundaries of real-world objects.
Conversely, spectral methods like Normalized Cuts excel at capturing complex shapes but lack a comprehensive probabilistic interpretation. This deficiency makes it difficult to incorporate prior information, such as temporal constraints in video sequences or cross-image object consistency. Our work introduces a hybrid model that combines the shape flexibility of non-parametric clustering with the extensibility of Bayesian generative models.
Methodology
The proposed framework treats image segmentation as a generative process where each pixel $x_i$ is produced by one of $K$ independent processes.
Generative Model
Unlike traditional GMMs, we represent each cluster's density using Kernel Density Estimation (KDE). A cluster is defined as a sum of "probability bumps" centered at its member points, allowing it to adapt to arbitrary shapes. To balance local detail with global structure, we utilize a hybrid representation that combines a global parametric component with a non-parametric component for capturing jagged boundaries.
As shown in Figure 1, the model incorporates Dirichlet priors to manage cluster probabilities, reflecting prior beliefs about segment sizes. Inference is performed using Gibbs Sampling, an iterative MCMC algorithm. This approach naturally yields "soft" assignments, providing a probability distribution for each pixel's membership across all $K$ clusters.
Incorporating Priors
A key advantage of this Bayesian formulation is the ease of adding constraints. For video segmentation, high-confidence labels from preceding frames are "fixed" to ensure temporal coherence. For image collections, "part sharing" is enforced by requiring a specific cluster to maintain a consistent appearance model across multiple images, enabling the extraction of common foreground objects.
Experimental Results
The model was evaluated across diverse datasets, including the Egret intensity set, complex color scenes, ballet video sequences, and face collections.
Qualitative Performance
In unsupervised tasks, the proposed method significantly outperformed GMM-EM and achieved results comparable to or better than state-of-the-art spectral methods. Figure 2 illustrates a typical segmentation result where the model successfully partitions a complex scene with multiple subjects and a textured background.
Key Findings
- Temporal Consistency: In video sequences, our method produced stable segmentations across frames, avoiding the "flickering" artifacts common in independent frame-by-frame spectral clustering.
- Object Discovery: By enforcing part sharing, the model successfully isolated faces from varying backgrounds across 30 distinct images.
- Robustness to Noise: Synthetic tests on intertwined spirals demonstrated that the inclusion of a "Uniform" distribution cluster effectively absorbs outliers and noise, preventing them from distorting the primary segments.
Discussion and Conclusion
The integration of non-parametric density estimation into a Bayesian framework provides a powerful tool for image segmentation. It offers the "best of both worlds": the flexibility to model irregular shapes and the rigor to incorporate complex priors. While Gibbs sampling introduces higher computational costs compared to some heuristic methods, the resulting "soft" assignments and the ability to leverage prior information offer significant advantages for complex vision tasks. Future work will focus on optimizing inference speed and addressing the "label switching" challenge inherent in MCMC methods.
Summary updated