Skip to main content
QUICK REVIEW

[Paper Review] Proxy Templates for Inverse Compositional Photometric Bundle Adjustment

Christopher Ham, Simon Lucey|arXiv (Cornell University)|Apr 23, 2017
Robotics and Sensor-Based LocalizationEngineering8 references3 citations
TL;DR

This paper proposes proxy templates to enable inverse compositional photometric bundle adjustment (PBA) for 6-DoF camera poses and inverse depths, overcoming ill-conditioned derivatives that prevent standard inverse compositional methods. By warping the reference template using initial estimates, the method enables valid gradients and achieves up to a 13-fold speed-up over forwards compositional PBA with minimal accuracy loss.

ABSTRACT

Recent advances in 3D vision have demonstrated the strengths of photometric bundle adjustment. By directly minimizing reprojected pixel errors, instead of geometric reprojection errors, such methods can achieve sub-pixel alignment accuracy in both high and low textured regions. Typically, these problems are solved using a forwards compositional Lucas-Kanade formulation parameterized by 6-DoF rigid camera poses and a depth per point in the structure. For large problems the most CPU-intensive component of the pipeline is the creation and factorization of the Hessian matrix at each iteration. For many warps, the inverse compositional formulation can offer significant speed-ups since the Hessian need only be inverted once. In this paper, we show that an ordinary inverse compositional formulation does not work for warps of this type of parameterization due to ill-conditioning of its partial derivatives. However, we show that it is possible to overcome this limitation by introducing the concept of a proxy template image. We show an order of magnitude improvement in speed, with little effect on quality, going from forwards to inverse compositional in our own photometric bundle adjustment method designed for object-centric structure from motion. This means less processing time for large systems or denser reconstructions under the same real-time constraints. We additionally show that this theory can be readily applied to existing methods by integrating it with the recently released Direct Sparse Odometry SLAM algorithm.

Motivation & Objective

  • To address the ill-conditioning of partial derivatives in inverse compositional photometric bundle adjustment when parameterizing structure with inverse depths.
  • To enable efficient large-scale photometric bundle adjustment by overcoming the limitation that depth derivatives vanish at identity warp.
  • To develop a proxy warp formulation that allows valid gradient computation for inverse compositional updates.
  • To demonstrate significant speed improvements in both custom PBA and integration with existing SLAM systems like Direct Sparse Odometry (DSO).
  • To enable real-time performance for dense reconstructions and large-scale SfM systems under tight computational constraints.

Proposed method

  • Introduce a proxy warp by first warping the reference template using initial pose and depth estimates, creating a new evaluation point for the identity warp.
  • Define the proxy warp as $\phi(\mathbf{x};\Delta\mathbf{p}) = \left< \mathbf{M}(\mathbf{R}\tilde{\mathbf{x}} + d\mathbf{t}) \right> $, where $\mathbf{R} = \Delta\mathbf{R}\mathbf{R}_0$, $\mathbf{t} = \mathbf{t}_0 + \Delta\mathbf{t}$, and $d = d_0 + \Delta d$, ensuring $\phi(\mathbf{x};\mathbf{0}) = \mathbf{x}$.
  • Use the warped template to compute gradients for the inverse compositional update, avoiding the need to recompute the Hessian at each iteration.
  • Estimate the Jacobian of the residual with respect to parameters using the proxy template, enabling efficient inverse compositional updates.
  • Apply the method to both a custom photometric bundle adjustment pipeline and integrate it with the Direct Sparse Odometry (DSO) algorithm.
  • Recompute the Hessian only once per optimization, significantly reducing computational cost in large-scale problems.

Experimental results

Research questions

  • RQ1Why does the standard inverse compositional formulation fail for photometric bundle adjustment parameterized by 6-DoF poses and inverse depths?
  • RQ2Can a proxy template be constructed such that all partial derivatives of the warping function are non-zero at the identity warp?
  • RQ3Does the proposed proxy warp formulation enable a valid and efficient inverse compositional update in photometric bundle adjustment?
  • RQ4What performance gains can be achieved in terms of speed and convergence when replacing forwards compositional with inverse compositional PBA?
  • RQ5Can the proxy template method be effectively integrated into existing SLAM systems like DSO to improve tracking efficiency?

Key findings

  • The inverse compositional method achieves a 13-fold speed-up over the forwards compositional method on the Toy Robot sequence, with fewer iterations and lower relative error in pose estimates.
  • On the Stanford Bunny sequence, the inverse compositional method converges in less than a quarter of the time required by the forwards method, achieving a 4x speed-up.
  • On the synthetic ground truth sequence, the inverse compositional method is over 7 times faster than the forwards method, with slightly higher pose error and lower depth error.
  • Integration with Direct Sparse Odometry (DSO) results in a 40% increase in tracking frame rate, with a final camera path difference of only 0.047 units from the original DSO.
  • The method maintains high reconstruction quality, with minimal degradation in accuracy despite the significant speed improvements.
  • The proxy template approach enables the use of inverse compositional optimization in photometric bundle adjustment, which was previously infeasible due to ill-conditioned depth derivatives.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.