Regression-Based Image Alignment for General Object Categories

Hilton Bristow, Simon LuceyarXiv 2014

Abstract

Image alignment is a fundamental task in computer vision, traditionally solved using the Lucas-Kanade (LK) algorithm. However, LK's reliance on differentiable image functions limits its effectiveness on complex, non-linear features like Dense SIFT, which are necessary for aligning general object categories in unconstrained environments. This paper proposes a novel framework that replaces analytic gradients with learned regression to predict descent directions. By integrating this approach with Dense SIFT and Support Vector Regression (SVR), the authors achieve robust, high-speed alignment for challenging subjects like animals in the wild.

Introduction: The Challenge of General Object Alignment

Image alignment—the process of overlaying two images of the same object—is a cornerstone of computer vision. For decades, the Lucas-Kanade (LK) algorithm has been the gold standard for its speed and ability to handle complex warps such as rotations and scaling. However, LK requires the image function to be smooth and differentiable. While this works for predictable, low-frequency gradients like human faces, it fails for "general" objects such as animals in the wild.

Example zebra images for alignment testing.

Pixel-based representations often fail due to high-frequency noise, lighting changes, and cluttered backgrounds. To address these, researchers use non-linear features like Dense SIFT, which are robust but non-differentiable, making them incompatible with standard LK. Consequently, the vision community has often abandoned LK for general objects in favor of slower, exhaustive sliding-window searches.

Methodology: Learning the Gradient

The authors propose a "best of both worlds" approach: maintaining the efficient LK framework while replacing calculus with machine learning.

Learned Descent Directions

Instead of calculating a mathematical derivative to determine the alignment update, the system uses linear regression. By perturbing a template image with known displacements, a regressor $R$ is trained to map appearance changes back to the correct motion updates. For translational warps, this regression can be implemented as a simple convolution operation, making the training step highly efficient.

Robust Feature Integration

The method applies this regression specifically to Dense SIFT features. This allows the algorithm to benefit from SIFT’s invariance to lighting and small geometric shifts while utilizing LK’s optimization engine. Furthermore, the authors found that Support Vector Regression (SVR) significantly outperforms standard least-squares by ignoring outlier pixels—such as background distractors—that would otherwise skew the alignment.

Experimental Results

The method was evaluated using animal categories from ImageNet, including elephants, zebras, and rhinos. Since standard datasets lack precise alignment labels for these animals, the authors manually aligned image pairs to create a benchmark for testing convergence rates.

Convergence rates for various alignment methods.

As shown in the convergence analysis, pixel-based methods failed to converge entirely on challenging images like zebras. In contrast, the Dense SIFT regression method converged reliably even with significant initial displacement.

Unsupervised Discovery through Congealing

The method was also applied to "congealing" — the joint alignment of an entire stack of images without labels. By minimizing appearance differences across 170 elephant images, the algorithm successfully "discovered" the elephant silhouette, transforming a blurry mean image into a clear shape.

Conclusion

By bridging the gap between fast gradient-descent alignment and robust non-linear features, this work enables precise alignment of general object categories that were previously inaccessible to LK-style methods. While challenges remain for extremely high-dimensional warps or massive viewpoint changes, the use of regression as a proxy for calculus provides a powerful tool for robust computer vision "in the wild."

Summary updated

BibTeX
@misc{bristow2014regression,
  author = {Hilton Bristow and Simon Lucey},
  title = {{Regression-Based Image Alignment for General Object Categories}},
  year = {2014},
  eprint = {1407.1957},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1407.1957},
}
Figure