An inexact Newton-Krylov algorithm for constrained diffeomorphic image registration

Andreas Mang, George BirosarXiv 2014 · DOI

TL;DR

This paper introduces a highly accurate and efficient numerical framework for large-deformation diffeomorphic image registration by formulating it as an optimal control problem. By leveraging a matrix-free, preconditioned inexact Newton-Krylov optimization method alongside pseudospectral discretizations, the algorithm achieves superior convergence rates and precise control over physical constraints like incompressibility compared to traditional first-order methods.

What Problem Does This Paper Address?

Image registration—the process of aligning two or more images into a common coordinate system—is a foundational task in computer vision and medical image analysis (e.g., tracking anatomical changes over time or aligning different scan modalities). In many applications, the deformation must be diffeomorphic, meaning the spatial mapping is smooth, invertible, and preserves the underlying topology (no folding or tearing of tissue).

Achieving this for large deformations typically requires solving a complex, infinite-dimensional optimization problem. Most existing frameworks rely on first-order optimization techniques (like gradient descent or Picard iterations). While simple to implement, these methods suffer from slow convergence and struggle to strictly enforce physical constraints, such as incompressibility (volume preservation), often resulting in severe numerical ill-conditioning. This paper tackles these efficiency and accuracy bottlenecks head-on.

Methods

The authors formulate nonrigid image registration as a partial differential equation (PDE) constrained optimal control problem. The core components of their approach include:

  1. Optimal Control Formulation: The template image is treated as a passive scalar transported by a velocity field (the control variable) governed by a hyperbolic transport equation.
  2. Incompressibility Constraint: An optional constraint ($\nabla \cdot v = 0$) forces the velocity field to be divergence-free, ensuring exact local volume conservation ($\text{det}(\nabla y) = 1$).
  3. Pseudospectral Discretization:
  4. In Space: A Fourier pseudospectral method provides spectral accuracy and allows the authors to implicitly eliminate the pressure variable from the Stokes-like system, bypassing the notorious inf-sup stability condition.
  5. In Time: A Chebyshev pseudospectral Galerkin method parameterizes the velocity field, drastically reducing the number of temporal unknowns.
  6. Inexact Newton-Krylov Optimization: The authors implement a globalized, matrix-free Newton-Krylov solver (specifically preconditioned conjugate gradient, or PCG) using second-order Hessian information to guarantee fast, superlinear convergence.
  7. Automated Parameter Continuation: To eliminate manual tuning, a binary search strategy automatically selects the regularization parameter ($\beta$) based on user-defined geometric quality thresholds (e.g., minimal grid cell angles).

A comprehensive breakdown of the mathematical notation used across these methods is detailed below:

Summary of notation and symbols used in the paper

Datasets

The framework was evaluated using both synthetic and real-world 2D datasets:

  • Synthetic Problems: Sinusoidal intensity images and "UT" text images, designed to test the algorithm's performance on smooth fields as well as sharp, high-frequency features.
  • Real-World Problems: A standard hand image registration benchmark and real-world medical brain MRI scans exhibiting complex anatomical structures.

Key Insights and Ideas

  • Second-Order Info is Essential for High Fidelity: While first-order Picard iterations are computationally cheap per step, they frequently stagnate when high inversion accuracy is required. Newton methods maintain a steady convergence rate that is virtually independent of the grid resolution.
  • Implicit Pressure Elimination: By utilizing a Fourier basis, the divergence-free constraint can be handled via a spectral projection matrix. This completely removes the pressure variables from the optimization system, turning a difficult saddle-point problem into a much simpler elliptic one.
  • Stationary Fields Suffice for Two-Image Registration: The authors discovered that increasing temporal degrees of freedom (nonstationary velocity fields) yields negligible improvements in registration quality for pairs of images, meaning researchers can safely use stationary fields to save substantial memory and compute.

Key Results

  • Superior Efficiency: The inexact Newton-Krylov methods consistently outperformed the Picard method, requiring significantly fewer outer iterations and overall hyperbolic PDE solves to reach high-accuracy thresholds.
  • Machine-Precision Incompressibility: For smooth images, the error in the determinant of the deformation gradient was driven down to $O(1E-12)$, achieving volume preservation up to numerical machine precision.
  • Robust Automation: The parameter continuation method successfully identified optimal regularization parameters without manual intervention, strictly safeguarding the deformation against non-diffeomorphic grid folding.

Limitations and Future Work

  • Illumination Constraints: The model assumes constant image intensity over time ($L^2$-distance metric), meaning it cannot currently be applied directly to multi-modal registration problems (e.g., aligning a CT scan to an MRI scan).
  • Boundary Conditions: The reliance on Fourier spectral methods mandates periodic boundary conditions, requiring artificial image padding or mollification for non-periodic real-world data.
  • Dimensionality: The current implementation and experimental validation are restricted to two dimensions. The authors note that extending the framework to 3D and handling time-series image sequences are critical next steps.

Summary updated

BibTeX
@misc{mang2014inexact,
  author = {Andreas Mang and George Biros},
  title = {{An inexact Newton-Krylov algorithm for constrained diffeomorphic image registration}},
  year = {2014},
  eprint = {1408.6299},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1408.6299},
}
Figure