The Insight Journal logo

Itk::Transforms supporting spatial derivatives

Staring, Marius, Klein, Stefan
Leiden University Medical Center
The Insight Journal logo

Please use this identifier to cite or link to this publication: http://hdl.handle.net/10380/3215
New: Prefer using the following doi: https://doi.org/10.54294/t5q4cl
Submitted by Marius Staring on 2010-09-08 09:54:27.

This document describes the use and implementation of first and second order spatial derivatives of coordinate transformations in the Insight Toolkit url{www.itk.org}). Spatial derivatives are useful for many types of regularising or penalty terms frequently used in image registration. These derivatives are dubbed 'SpatialJacobian' and 'SpatialHessian' to distinguish with the derivative to the transformation parameters themselves, which is called `Jacobian' in the ITK. In addition to the spatial derivatives, we derived and implemented the derivatives to the registration/transform parameters of these spatial derivatives, required for gradient descent type optimisation routines. These derivatives are implemented in a sparse manner, reducing the computation time for transformations which have local support. All of these derivatives are implemented for the most common ITK coordinate transformation, such as the rigid, affine and B-spline transformation. In addition we derive formulae and code for arbitrary compositions of transformations. The spatial derivatives were subsequently exploited by implementing the bending energy penalty term. This paper is accompanied with the source code, input data, parameters and output data that the authors used for validating the algorithm described in this paper. This adheres to the fundamental principle that scientific publications must facilitate reproducibility of the reported results.