Iterative Grassmannian optimization for robust image alignment

Jun He, Dejiao Zhang, Laura Balzano, Tao Tao

Abstract

This paper introduces t-GRASTA (Transformed Grassmannian Robust Adaptive Subspace Tracking Algorithm), an online framework designed to simultaneously align misaligned images and decompose them into low-rank (background) and sparse (foreground/occlusions) components. By performing optimization over the Grassmannian manifold and utilizing local linearization for transformations, t-GRASTA achieves a 4x speedup and a 50% reduction in memory usage compared to state-of-the-art batch methods like RASL. The algorithm enables real-time video stabilization and background subtraction even in the presence of significant camera jitter.

Introduction

Robust Principal Component Analysis (RPCA) is a cornerstone of computer vision, used to separate data into a low-rank component (e.g., a static background) and a sparse component (e.g., moving objects). However, the effectiveness of RPCA is contingent upon precise image alignment. Camera jitter or subject movement violates the low-rank assumption, causing the decomposition to fail.

Existing solutions like RASL address this through joint alignment and decomposition but are limited by their "batch" nature, requiring all images to be processed at once. This leads to high computational costs and memory demands. t-GRASTA solves this by providing an "online" approach, processing images sequentially as they arrive, which is critical for real-time surveillance and large-scale web applications.

Methods

t-GRASTA extends the Grassmannian Robust Adaptive Subspace Tracking Algorithm (GRASTA) by incorporating a transformation estimation layer. The algorithm treats the collection of possible subspaces as a Grassmannian manifold—a curved geometric space—and updates the background model by taking gradient steps along its geodesics.

Alignment of images across evolving subspaces

Key technical components include:

  • Local Linearization: To handle non-linear image transformations such as rotation or scaling, the algorithm employs Taylor expansion (Jacobians) at each step to linearize the problem.
  • ADMM Solver: The Alternating Direction Method of Multipliers (ADMM) is used to efficiently solve for sparse error and transformation parameters for each frame.
  • Union of Subspaces: In its fully online mode, the algorithm approximates the image manifold using a collection of subspaces that evolve over time, allowing it to adapt to dynamic scenes.

Results and Discussion

The researchers evaluated t-GRASTA across several datasets, including the Labeled Faces in the Wild (LFW), MNIST, and various video sequences with simulated and real-world camera jitter.

Background subtraction and alignment results on video data

Performance Metrics: * Speed: t-GRASTA processed images at approximately 5 frames per second (fps), roughly 4x faster than RASL, which struggled to reach 1-2 fps. * Memory: For a dataset of 10,000 mega-pixel images, t-GRASTA required only 50.1% of the memory used by RASL, as it maintains only a low-dimensional subspace rather than the entire image stack. * Robustness: Unlike standard GRASTA, which fails under camera jitter, t-GRASTA successfully separated foreground objects from moving backgrounds, producing clean aligned frames and accurate foreground masks.

An important observation from the study is that as images become better aligned, the rank of the subspace required to represent them decreases, confirming that alignment effectively compresses the data into a more coherent model.

Conclusion

t-GRASTA provides a scalable and efficient solution for joint image alignment and decomposition. By solving the "chicken and egg" problem of simultaneous alignment and subspace tracking, it enables robust vision in real-time scenarios. Future work will explore automatic rank estimation and improving robustness to extreme, sudden camera movements.

Summary updated

BibTeX
@article{he2014iterative,
  author = {Jun He and Dejiao Zhang and Laura Balzano and Tao Tao},
  title = {{Iterative Grassmannian optimization for robust image alignment}},
  journal = {Image and Vision Computing},
  year = {2014},
  doi = {10.1016/j.imavis.2014.02.015},
}
Figure