EM Clustering of Incomplete Data Applied to Motion Segmentation

Kam‐Fai Wong, Lei Ye, Minas E. Spetsakis2004 · DOI

TL;DR

This paper introduces a novel Expectation-Maximization (EM) based clustering algorithm designed to handle uncertainty in optical flow estimation for motion segmentation. By treating velocity likelihoods as incomplete data, their method elegantly models multi-modal motion and robustly handles deviations from intensity constancy, achieving excellent results on real image sequences.

What Problem Does This Paper Address?

Motion segmentation, the task of grouping pixels with similar motion, is often approached by analyzing optical flow. However, computing accurate optical flow is inherently challenging due to the "aperture problem" and the difficulty of enforcing smoothness constraints across object boundaries. This leads to significant uncertainty in flow estimates, making direct clustering problematic. The authors tackle this "chicken and egg" problem: accurate motion boundaries are needed for good flow, but good flow is needed for accurate segmentation. Their goal is to perform motion segmentation without first computing a perfect, dense optical flow field.

Methods

The core of the paper is a novel EM-based clustering algorithm specifically designed for incomplete data. Instead of directly clustering flow vectors, their algorithm takes as input the likelihood of observing certain flow velocities at textured feature points. This probabilistic approach allows for:

  • Handling Uncertainty: Explicitly models the uncertainty in optical flow estimation.
  • Multi-modal Likelihoods: Does not impose constraints on velocity likelihoods, enabling the modeling of multiple motion layers within a single patch.
  • Affine Parameter Estimation: Affine motion parameters for each identified layer are derived as a by-product of the EM clustering process.
  • Correlated Noise Model: A sophisticated noise model is introduced to account for correlations between neighboring pixels, which is crucial for handling lighting changes and uniform tracking errors.
  • Dense Segmentation: After clustering and obtaining affine models, a shift-and-align approach combined with a $\chi^2$ test on small patches is used to determine the spatial support of each layer, leading to dense segmentation.
  • Mahalanobis Distance: Used for segmenting pixels belonging to a layer, with an efficient computation method leveraging the Sherman-Morrison-Woodbury identity to reduce the inversion cost of the covariance matrix.

Datasets

The paper evaluates its algorithm on real image sequences. Specific sequences mentioned are:

  • Flower Garden Sequence [3]: Used for demonstrating dense segmentation and automatic layer selection.
  • Moving Toy Truck Sequence: Used to show segmentation of foreground and background motion.

No new datasets are introduced.

Key Insights and Ideas

  • Clustering Likelihoods, Not Raw Flows: The key insight is that by clustering the probability distributions of potential flow vectors rather than the noisy flow vectors themselves, the algorithm can effectively handle significant uncertainty.
  • EM for Incomplete Data: Adapting the EM algorithm to treat velocity likelihoods as incomplete data is a powerful way to integrate probabilistic information into the clustering process.
  • Affine Parameters as a By-product: Deriving affine motion models directly from the clustering process simplifies the overall pipeline and avoids separate, potentially error-prone, estimation steps.
  • Correlated Noise is Crucial: Recognizing and modeling correlated noise between pixels is essential for robust segmentation, especially in scenarios with changing illumination or consistent tracking drift.
  • Efficient Mahalanobis Distance: The optimization for Mahalanobis distance computation is a significant practical contribution, making the method computationally feasible for dense segmentation.

Key Results

  • The algorithm automatically selects the number of motion layers using the Bayesian Information Criterion (BIC).
  • Experiments on real image sequences (Flower Garden, moving toy truck) demonstrate "excellent results" in motion segmentation, producing well-defined layers for different moving objects and backgrounds.
  • The method successfully handles scenarios with both foreground and background motion.
  • The correlated noise model improves robustness compared to approaches assuming independent noise.
  • The Mahalanobis distance computation is reduced from $O(k^6)$ to constant time per pixel for $k \times k$ patches after amortization over the whole image.

Limitations and Future Work

  • Computational Cost: While the Mahalanobis distance computation is optimized, the overall EM clustering process can still be computationally intensive, especially for large numbers of feature points or complex motion models.
  • Feature Point Selection: The reliance on feature points for initial likelihood estimation means that areas with insufficient texture might not be well-represented.
  • Future Work: The paper implicitly suggests that further improvements in computational efficiency and robustness to more complex motion models (beyond affine) could be explored. The authors also mention their previous work on tracking-based motion segmentation, hinting at potential integration or comparison with such methods.

Summary updated

Abstract

Man yc lustering problems in Computer Vision group data points that are the result of statistical estimation and these data points can have a great amount of uncertainty . Motion segmentation by clustering of optical flo wi ss uch an example because very often optical flo wc annot be estimated without significant uncertainty .W ep resent a EM based clustering algorithm for incomplete data and we apply it to the problem of motion segmentation. The input to the algorithm are the velocity likelihoods and the number of clusters. The algorithm is mathematically very elegant because it does not impose any constraints on the velocity likelihood thus multi-modal likelihood is modeled without difficulty .C oupled with a sophisticated correlated image noise model, the algorithm can handle substantial deviations from the intensity constanc ya ssumption. Experiments with real image sequences sho we xcellent results. 1. Intr oduction The process of grouping pixels having similar motion characteristics is called motion segmentation .Ap opular approach for describing motion similarity within a se gment/layer [12] is by their optical flow. T he computation of optical flo wa tap ixel is an under-constrained problem and the classical solutions [2] almost exclusively use constraints from neighboring pixels by assuming one of the several smoothness constraints which usually do not hold on object boundaries. Motion segmentation based on optical flo wi st hus a chicken and egg problem: In order to compute flo wa ccurately ,w en eed to kno wm otion boundaries but locating the motion boundaries amounts to doing segmentation which requires flo wa si nput. Our approach subscribes to the paradigm [4] that does motion segmentation without computing the full optical flo wf irst.
BibTeX
@misc{wong2004em,
  author = {Kam‐Fai Wong and Lei Ye and Minas E. Spetsakis},
  title = {{EM Clustering of Incomplete Data Applied to Motion Segmentation}},
  year = {2004},
  doi = {10.5244/c.18.26},
}
Figure