Manuscript Offprint
arXiv:2610.26238Surface matching for image-derived geometries with a projection-based separation of rigid body modes
Abstract
The large diffeomorphic deformation metric mapping (LDDMM) framework offers numerous techniques for analyzing shapes and images. Surface matching computes a non-rigid, smooth, and invertible mapping that registers one surface to another. The computed deformation may contain rigid body motion, which frequently does not represent meaningful shape differences but is due to external factors like imaging modalities, such as the object's positioning during image acquisition. We present a simple extension to the LDDMM framework's surface matching that uniquely decomposes the computed deformation into rigid body modes (RBM) and RBM-free motion by introducing a suitable projection. This enables a focused analysis of each component individually and additionally helps to preserve the surface discretization quality. Three sets of examples illustrate our approach. A small-scale example demonstrates the proposed method's effects, followed by an example using a single pair of heart geometries, and finally an example involving a cohort of 98 heart shapes.
These authors contributed equally to this work.
Keywords: surface matching, image registration, subspace projection, rigid body motion, large diffeomorphic deformation metric mapping
1 Introduction
Establishing spatial correspondence between medical images and the embedded anatomical geometries is critical in many medical applications, offering significant benefits for diagnosis, treatment planning, and monitoring. The geometries are typically derived through manual segmentation and are represented by their surface. Several methods have been proposed to perform the registration task. Their categorization is extensive, and a complete account is not provided here but can be found in [31]. However, we outline the key ideas of two commonly used registration categories: landmark-based and landmark-free registration.
In the landmark-based approach, usually, a trained expert places corresponding landmarks in all images to track their position across a dimension, e.g., time. The geometry change of interest is subsequently interpolated. However, the precise placement of landmarks in anatomical images is challenging. It requires expert knowledge and suffers from operator bias. Additionally, pathological conditions can severely alter the anatomy, making the identification of consistent reference points difficult. A pure landmark description of the geometry change cannot represent intricate local changes.
Landmark-free approaches describe the evolution of geometry in an integral way. This captures the motion of the whole geometry by utilizing sophisticated surface representations. A well-established method can be contained in the LDDMM framework and is called surface matching [8, 28]. It defines a smooth and invertible mapping between segmented surfaces where no point-to-point correspondence is assumed or established. This mapping is expressed with a spatial motion field. The term LDDMM was first proposed in [6] and has since evolved into a widely adopted and extended framework. A comprehensive mathematical treatment of shapes and diffeomorphic matching within this framework is given in the monograph by Younes [32]. A historically motivated literature overview is given in [24]. LDDMM has a wide field of applications which ranges from palaeoanthropology [9], to brain [11, 14, 21, 27, 30] and heart [18, 19] structures to name a few examples. Partial surface registration has been studied in [1, 7, 20]. [3] simultaneously incorporates multiple objects and [2] enforces inequality constraints within a deformation model, including affine alignment. [27] reconstructed dense 3D anatomical coordinates from 2D measurements using projective LDDMM.
In the examples above and in general, RBMs may be of interest for certain applications, but often need to be separated from shape-changing deformations. This is because RBMs may arise from factors like patient positioning (e.g., lying down, standing), breathing, or other external influences rather than intrinsic shape changes. Consequently, isolating RBM motion from the total motion can significantly enhance the information value of subsequent statistical and computational analyses. Other approaches have addressed rigid motions within diffeomorphic registration, either by

Fig. 1: Surface Matching example. The source surface S depicted with a black contour is mapped onto the target surface T depicted with a green contour. The colored paths indicate the pseudo-temporal evolution of the source surface nodes . Additionally, center points and , along with normals and , are displayed for ith and jth triangular element of the respective surface.
jointly optimizing rigid and non-rigid components [16] or by introducing deformation models with localized rigid transformations, such as diffeomorphic modules [17] or higher order momenta [26]. These approaches improve the registration to better capture rigid motions by extending the deformation model.
Instead of adding new terms to the deformation model, in this work, we propose an extension of the LDDMM framework that explicitly separates RBM motion from the shape-changing motion within the matching framework. We start with an overview of the essential aspects of LDDMM for surface matching to introduce necessary notation. Subsequently, we briefly repeat subspace projections to eliminate rigid body components from a given motion field and integrate them into the LDDMM framework. Finally, we present a small-scale example and an application using heart geometries.
2.1 Surface matching framework
The objective is to identify a diffeomorphic transformation through pseudo-time deforming a source surface to optimally represent a target surface . Notably, this transformation is not limited to points located on the surfaces but instead distorts the entire ambient space and, thereby, the surfaces embedded in it. In this work, we limit ourselves to directly summarizing the spatially discretized framework and skip going through the established underlying continuum theory for the sake of brevity. Thus, a surface is represented by a mesh composed of nodes and triangular elements, as illustrated in Fig. 1.
2.1.1 Point motion through space and pseudo-time
In LDDMM, the motion of an arbitrary point is expressed as a weighted sum of radial basis functions located at control point positions , where
are referred to as momenta and is the number of control points. Any point motion is an element of the pre-Hilbert space . In the case of infinite sums, can be completed into a reproducing kernel Hilbert space (RKHS); for more details, see, for example, [14, 15, 28]. With known initial positions, the point motion is parametrized only by . For the sake of simplicity and readability, we omit the pseudo-time dependence in the following. For the radial basis function , we choose the Gaussian kernel with kernel width
where denotes another arbitrary point position.
As control points are specific instances of arbitrary points in the ambient space, their trajectory adheres to the identical equation of motion (1) and reads
Note that control points do not have to be located on the surface but can be distributed in its neighborhood. One common approach for determining initial positions of control points is to distribute them uniformly across a grid within a bounding box of the source surface S.
We are interested in the pseudo-temporal evolution of the source surface defined by a total number of nodes, see Fig. 1. We denote the surface nodes by and express their motion as
where and is called the kernel matrix. It consists of point-wise main-diagonal blocks , where is the identity, and . Similarly, using the control point motion can be written as
2.1.2 Uniqueness of transformation
The transformation of point positions defined by the equations of motion is determined by their initial positions and the pseudo-time varying momenta , which are non-unique. A unique transformation is obtained by minimizing the motion's (pseudo-) kinetic energy . To compute the kinetic energy, a scalar product of two vector fields and , where are control point positions and are corresponding momenta, is defined as
The total kinetic energy of the control point motion is subsequently defined as the pseudo-time integral
The authors in [14] show that in order to minimize the kinetic energy, the gradient of the kinetic energy with respect to the momenta must vanish, which leads to
where is the gradient with respect to the control point positions c.
With equations (4), (5), and (8), the transformation is uniquely characterized by the set of initial conditions .
2.1.3 Similarity between two surfaces
Here, the metric to assess the similarity between source surface and target surface utilizes the varifold metric between surfaces
(9)
W is a RKHS with its dual space , see [14] for details . The discrete inner product is given as
and denote the center points while and denote the normal vectors of each source and target triangular element, respectively. The norm of and is half the area of the corresponding triangle. See Fig. 1 for an example. and are the number of elements. Analogous to , is a radial basis function. We choose the Gaussian kernel with kernel width . As we are interested in the similarity between the transformed source and target , we assess (9) at and
In the case and are composed of multiple disjoint subsurfaces, the similarity metric (9) expands to where is the number of subsurfaces each individually weighted by . For more details, the reader is referred to [12, 13, 28].
write . The final optimization problem reads
In the following, we will call this method the standard method.
2.2 Decomposing motion via projection
For completeness and clarity, a short repetition of subspace projections is given in App. D based on [5]. We decompose the mesh node motion into RBM motion and RBM-free motion . The corresponding projection matrix and its orthogonal complement are computed from the basis , see [29]. represents RBMs and is defined as
with for each
The six columns of are discrete representations of the six RBMs at . The first three columns represent translations in -directions and the last three represent linearized rotations around the Cartesian axis through a reference point .
The projection matrix is constructed as
see e.g. [5, 22]. This ensures that projects any vector onto the six-dimensional subspace spanned by the RBM motion basis. The orthogonal complement captures any remaining motion components that cannot be expressed as a rigid body transformation.
2.3 Surface matching with decomposed motion
We decompose the motion space V into two orthogonal subspaces corresponding to RBM motions and shape-changing motions . In the discrete setting, the infinite-dimensional RKHS V of smooth vector fields on is approximated via finite kernel sums centered at the time-evolving control points c.
As the procedure is equivalent for and , we focus on the control point motion first, and omit the dependence on the for brevity using , , .
We can use from (14) to expand the kernel such that
(15)
As a modeling choice, the cross terms and are omitted, yielding a block-diagonal approximation of K, which allows for a decoupled analysis of the two subspaces:
Appendix A shows that the subspaces induced by are finite dimensional approximations of a RKHS, too.
Following (16) the decomposition of the control point motion from (5) now reads
We denote as shape-changing motion and as RBM motion.
2.3.1 Energy definition for the decomposed motion
In (7), the kinetic energy was defined with the help of the scalar product on V. Inserting the decomposition (17), the scalar product now reads
(18)
With this, we can penalize the two components individually by weighting their contributions with factors , such that
Analogously to subsection 2.1.2, in order for to minimize (19), must fulfill
as shown in App. B.
2.4 Parametrization of RBMs
Having separated the RBM motion from the shape-changing motion, the RBM component can be analyzed independently. For such analyses, a compact and physically interpretable parametrization is essential, as it allows the magnitude and direction of RBM motion to be quantified directly. We therefore represent as the sum of a translation and a rotation . This yields a six-degree-of-freedom description consisting of three translation parameters and three rotation parameters that are constant in pseudo-time. then reads
The translation part is also constant in space and reads
To ensure consistent dimensions, the three translation components are repeated for each control point. The rotational component is parameterized by angles around the and -axis in the reference point , and reads
where are vectors rotated around the reference point with rotation matrix , see Fig. 2.

Fig. 2: Exemplary visualization of the rotation of the control point c around a reference point .
Analogous to the translation, the rotation matrix consists of a point wise rotation matrix repeated times along its main diagonal, and thus is
Since our motivation is to create an easily interpretable parametrization, we choose Euler angles to define , consisting of three elemental rotations around the coordinate axes. See App. E for more details. Note that while is constant in space and pseudo-time, is not due to the spatial and pseudo-temporal dependence of .
Using the reparametrization (21) in the definition of leads to
and the evolution of momenta (see App. B for details) simplifies to
where . Note, while we employ Euler angles to reparametrize the RBM motion due to their simplicity, this step is optional, and the decomposition framework accommodates many other RBM parametrization possibilities.
2.4.1 Final problem setup
As mentioned above, we apply the same steps of subsection 2.3 and 2.4 to the motion of the mesh nodes x instead of control points c, which results in
(27)
Finally, the projection-based optimization problem reads
(28)
To clarify, the variables evolve over pseudo-time , while and remain constant. The similarity measure is evaluated at and the gradient is given in App. C.
3 Examples
First, we present a small-scale example featuring simple ellipsoid surfaces to demonstrate the impact of the decomposition. Next, we show an application using a single pair of heart geometries. Finally, we present results on a cohort of 98 heart geometries. We solve all examples with the projection-based method (28) and the standard method (11) using an L-BFGS [23] optimizer. We discretize the pseudo-time-dependent differential equations defining with ten pseudo-time steps ( s) and solve them with an explicit second-order Runge-Kutta [10, 25] scheme. For the initial guess we set to zero. To clarify the solution process, a pseudo-code for the projection-based method can be found in Alg. 1, see App. F.
3.1 Ellipsoid example
A three-dimensional ellipsoid with radii [1350 mm, 900 mm, 900 mm] is discretized with two different meshes and centered in the origin such that . We transform the surface in Fig. 3a with four affine operations to generate four initial source surfaces , see Fig. 4. The transformations are:
• Translation of in direction (Fig. 4a).
• Rotation of around y-axis (Fig. 4b).
- 80% scaling of all nodal coordinate vectors with respect to the ellipsoids center (Fig. 4c).
• A combination superimposing the above translation, rotation, and scaling.
The initial source surfaces are subsequently matched onto the target in Fig. 3b. Due to the smooth nature of the surfaces and the absence of local details, hyperparameters are set to , , . All surface nodes are designated as control points, with the reference point coinciding with the center of the source ellipsoids , serving as the coordinate system's origin.
Given that translation and rotation constitute RBM transformations, the projection-based approach is anticipated to reconstruct these transformations without the component . Conversely, scaling represents a uniform distortion, expected to result in a motion without the component .

(a)
(b)
Fig. 3: Two ellipsoids discretized with triangular meshes, and their contour highlighted with thick colored lines. (a) is transformed with affine operations yielding three different source surfaces depicted in Fig. 4. (b) is used as the target surface .
Both methods successfully deform the source surfaces to accurately match the target surface , but the nodal distribution differs between the two approaches, see Fig. 4. In the translation example (Fig. 4a), the standard method introduces distortion within the surface. This distortion arises from the non-uniform motion depicted in the second row of Fig. 4. In contrast, the projection-based method exhibits a spatially constant translation. It is illustrated with blue arrows in the third row of Fig. 4. Similarly, the projection-based method exclusively applies rotation. Both methods, standard and projection-based, lead to an identical result for the scaling example. In the following figures, we use black arrows for shape-changing motion, blue for translation, and orange for rotation. The average nodal motion components are listed in Table 1.
Table 1: Average motion ellipsoids .
| Example | Standard method | Projection-based method |
|---|---|---|
| (a) Translation | ||
| (b) Rotation | ||
| (c) Scaling | ||
| (d) Combined | ||
As the projection-based method separates the RBM motion from the shape-changing motion, it is easy to remove the RBM component and focus on the pure shape-changing motion. Fig. 5 shows the pure shape-changing motion of the combined example.
(a) Translation
(b) Rotation
(c) Scaling
(d) Combined
Initial configuration



Motion standard


Motion
projection-based


Final config.
standard
Final config.
projection-based







Fig. 4: Ellipsoid example. The first row shows the initial configuration of the source surfaces as a gray mesh and the targets as a green contour. The source surfaces are generated by four different affine operations. The second and third rows depict the motion of the standard and the projection-based method, respectively. Shape-changing motion is depicted in black, translation in blue, and rotation in orange. The arrows have been scaled to an observable range. The latter two rows show the resulting surfaces of each method at .


Fig. 5: Evolution of pure shape-changing motion over pseudo-time for the combined ellipsoid example (last column of Fig. 4). As the projection-based method separates RBM from shape-changing motion, a focused analysis of the pure shape-changing motion is possible.
3.2 Single pair of heart geometries
When analyzing organ shapes over time, variations in patient positioning during CT or MRI introduce rigid body motion, which does not reflect actual anatomical changes. This can obscure meaningful structural differences, especially when comparing scans of the same organ, such as the heart, at different time points. For applications like growth analysis, it is essential to eliminate RBMs to ensure accurate alignment. Therefore, we demonstrate the applicability of the proposed method to an example utilizing heart geometries obtained from two different points in time, see Fig. 6.
The two geometries consist of the epicardial, left, and right ventricular luminal surfaces each. All surfaces are discretized with an average element edge length of 6 mm and were manually segmented from CT images with a resolution of 1.2 mm. The surfaces are centered at the coordinate origin such that . We choose the kernel width to approximately three times the average edge length and . The control points are arranged as a uniform grid with a spacing of enclosing the source heart. Fig. 7 demonstrates that both

(a)

(b)
Fig. 6: Source (a) and target (b) heart geometry. Both consist of an epicardial (red), a left ventricular (blue), and a right ventricular (green) luminal subsurface. Control points are arranged as a uniform grid enclosing the source heart and are depicted as red spheres.
the standard and projection-based method yield highly similar surface registrations accurately representing the target heart anatomy. To quantify the registration quality, we define the node-to-node distance of the ith source node at as the minimal euclidean distance to each target node for
where is the number of target mesh nodes.
Table 2 reveals that both methods achieve good matching quality. The projection-based method exhibits a slightly larger error, but the difference is significantly below the spatial discretization and the underlyingCT image resolution.
Table 2: Node-to-node distance [mm].
| Node-to-node distance | Standard method | Projection-based method |
|---|---|---|
| Average | 0.5 | 0.7 |
| Maximum | 4.1 | 4.4 |
We use the aspect ratio of each triangular element to quantify its distortion at a given pseudo-time . It is defined as the scaled ratio between the element's smallest height and the element's longest edge length
The bottom row of Fig. 7 visualizes that, similar to the ellipsoid example, the standard method internally distorts the surface more, by coloring the elements with their relative aspect ratio
Fig. 7d and illustrates the control point motion fields, composed of translation , rotation , and RBM-free motion . The dominant component is the rotational field, see Table 3. Only the RBM-free motion , depicted in black, distorts the surface. The projection-based method significantly reduces the influence of this component and thus preserves the element quality better.
Table 3: Average motion hearts [].
| Motion component | Standard method | Projection-based method |
|---|---|---|
| Shape-changing | ||
| Translation | - | |
| Rotation | - |
Table 4: Extracted RBMs.
| Component | Unit | x | y | z |
|---|---|---|---|---|
| Translation | [mm] | -0.2 | -6.0 | 2.4 |
| Rotation | [] | -0.1 | 3.1 | 38.1 |
The separated RBM components are listed in Table 4 and the effect of the remaining pure shape-changing motion is visualized in Fig. 8.

(a) Registration standard method

(b) Motion standard method

(c) Registration projection-based method
(d) Motion projection-based method

(e) Mesh quality standard method

(f) Mesh quality projection-based method
Fig. 7: Heart example results. (a) and (c) illustrate the registration quality of both methods. The target heart is sliced at three uniformly distributed heights as depicted in Fig. 6b. Green depicts the target, and the dashed and dotted lines depict the deformed source surfaces at t = 1 of the standard and projection-based method, respectively. (b) and (d) show the motion components at t = 0. shape-changing motion is depicted in black, translation in blue, and rotation in orange. The arrows have been scaled to an observable range. (e) and (f) illustrate the mesh element deterioration due to the deformation. The surface triangles are colored with the relative aspect ratio. Red corresponds to a higher and blue to a lower mesh distortion.

Fig. 8: Evolution of pure shape-changing motion over pseudo-time for the heart pair example. The top row shows the temporally resolved evolution in an angled view, and the bottom row depicts it in frontal view.
3.3 Heart cohort example
We finally assess the two registration methods in a cohort setting by registering a single reference heart to a set of 98 patient-specific heart geometries. Each heart shape again consists of epicardial, left, and right ventricular luminal subsurfaces, obtained from manual segmentation of CT images with an average voxel resolution of 1.2 mm, resulting in a discretized surface with an average edge length of 6 mm. Fig. 9 shows an excerpt of the pre-aligned heart cohort, and Fig. 10 displays the cohort's volume and height distribution. Volume refers to the enclosed space of each subsurface, while the height corresponds to the subsurface's extent along the anatomically defined long axis of the heart (i.e., the base-to-apex direction).

Fig. 9: Exemplary heart shapes in frontal view from a cohort of 98 subjects. Each heart comprises epicardial (red), left ventricular (blue), and right ventricular (green) luminal subsurfaces. Substantial inter-subject variability is evident in global size and local features, such as right ventricular morphology. We use the top left geometry as the source.

Fig. 10: Volume and height of the heart shape cohort. On the left, each box represents the range from the first to the third quartile, with a colored line at the median. The whiskers extend to the farthest data point within 150% of the box range. On the right, the volume is scattered over the height.
To reduce inter-patient pose variability, all hearts are first rigidly aligned using three manually placed landmarks, followed by an Iterative Closest Point (ICP) refinement. As source geometry, we select the heart whose total volume is closest to the mean volume of the cohort (top left in Fig. 9) and the remaining numerical setup for both methods is identical to the single-heart example in Sec. 3.2.
Fig. 11 shows exemplary registration results for the geometries from Fig. 9, displaying the respective slice contours at 50% of the corresponding target height. The registration quality is quantified by the node-to-node distance. Table 5 lists the cohort-wise mean and maximum node-to-node distances for each sub-surface. Consistent with the previous example, the projection-based method yields slightly larger errors compared to the standard method, but the differences remain minor relative to the provided discretization and image resolution.
Table 5: Heart cohort registration results.
| subsurface | Standard method | Projection-based method |
|---|---|---|
| Mean nodal distance [mm] | ||
| Epicardium | 0.92 | 1.34 |
| Left ventricle | 1.79 | 2.14 |
| Right ventricle | 1.55 | 2.17 |
| Average | 1.42 | 1.88 |
| Max. nodal distance [mm] | ||
| Epicardium | 4.59 | 5.76 |
| Left ventricle | 8.61 | 8.71 |
| Right ventricle | 8.42 | 10.10 |
| Average | 7.21 | 8.19 |
To analyze the residual RBM motion that is left even after the rigid pre-align, we extract the translational and rotational components in Table 6.
Table 6: Heart cohort residual RBMs.
| Component | Unit | x | y | z |
|---|---|---|---|---|
| Translation | [mm] | 2.7 | 4.0 | 3.5 |
| Rotation | [] | 2.3 | 3.3 | 13.1 |

Fig. 11: Comparison of registration results between the standard and the projection-based method. The hearts depicted in Fig. 9 are sliced at 50% of their respective height. Green depicts the target, and the dashed black and dotted blue lines depict the deformed source surfaces at t = 1 of the standard and projection-based method, respectively.
4 Discussion and conclusion
This work presents an extension to LDDMM surface matching that separates rigid body motion (RBMs) and shape-changing motion. RBMs often arise in image and shape registration due to variations in imaging conditions and can hinder the establishment of physically meaningful spatial correspondences when intermixed with shape-changing motion. By isolating shape-changing motion from the rigid transformations, the proposed method enables a focused analysis of each component individually. Overall, the proposed method achieved similarly high registration quality. We showed, for one example, that the additive decomposition of motion components preserves the surface mesh quality better.
To uniquely decompose motion into RBM and shape-changing components, a projector is introduced. The projector is constructed from a basis representing translations and rotations. In this study, all translations and rotations were removed. However, the projector can be adapted to exclude only selected translation directions or rotation axes by modifying the projector basis (13). Notably, when only translational components are considered, the projector remains constant over pseudo-time, eliminating the need for recomputation at each pseudo-time step. The rotation basis vectors are derived from linearized rotations, which necessitates careful adjustment of the pseudo-time step to ensure sufficiently small rotation increments.
For simplicity and to provide an easily interpretable form, the RBM component was parameterized using pseudo-time-constant translation and a rotational component defined in terms of Euler's angles. We note that Euler's angles can suffer from non-uniqueness, but, in our examples, this did not impede the solution of the surface matching problem. Also, in our applications, we want to remove the RBM component to exclusively focus on the analysis of the shape-changing motion, which, of course, might be different in other settings. Alternatively, a rotation representation based on the Lie algebra so(3) or quaternions can be chosen at the cost of increased implementation complexity and reduced interpretability.
To assess the similarity between the registered surfaces, a surface matching metric identical to the standard LDDMM approach was employed in the objective function. However, the kinetic energy term was modified to be able to penalize RBM and shape-changing motion individually. We chose to hardly penalize the RBM component to focus on the shape-changing motion, which is responsible for surface mesh distortion. In the single pair of heart geometries example in Sec 3.2, we showed that the proposed method can effectively reduce surface distortion while promoting a more uniform transformation.
Surface matching is a technique frequently used in various applications, particularly in conjunction with biomechanical models. Accurately mapping organ geometries between different states is crucial for calibrating physical parameters. To ensure adequate coverage of the region of interest, control points were initially distributed on a coarse grid encompassing the source surface. More sophisticated control point placement and hyperparameter optimization strategies exist, but have not been discussed here.
Our method resulted in a slightly higher node-to-node distance (Table 2) compared to the standard method, which may be attributed to neglecting the cross-terms in the kernel split (Section 2.3). As the difference is significantly below the imaging resolution and segmentation accuracy, we consider it negligible for our purposes.
Due to the very high registration quality, the decomposed motion’s flexibility, and the improved mesh preservation, the proposed approach is expected to assist shape analysis, especially for biomechanical problems.
A Subspace RKHS
The Moore-Aronszajn theorem [4] states that every symmetric, positive definite kernel defines a unique RKHS.
Here, we show these requirements for , but the same is true for .
Symmetry of follows from the symmetry of and :
To show the positive definiteness, we assume that K is positive definite and thus
The equality holds if and only if . Using the positive definiteness of the positive definiteness of follows as
(34)
The above equality holds true exclusively if . This is the case if , therefore , or . can be completed into a RKHS characterized by by considering possible infinite sums of terms in (1).
Additionally we show that the induced scalar product is valid by showing its symmetry, positive definiteness, and linearity in both arguments. The scalar product of two vector fields and from (6) is defined as
Symmetry of the scalar product follows from the symmetry of
\begin{align*}\langle\boldsymbol{v},\boldsymbol{v}^{\prime}\rangle_{V^{\perp}}&=\boldsymbol{\alpha}^{T}\boldsymbol{K}^{\perp}(\boldsymbol{c},\boldsymbol{c}^{\prime})\boldsymbol{\alpha}^{\prime}\\&=\left[\boldsymbol{\alpha}^{\prime}^{T}\left(\boldsymbol{K}^{\perp}(\boldsymbol{c},\boldsymbol{c}^{\prime})\right)^{T}\boldsymbol{\alpha}\right]^{T}\\&=\langle\boldsymbol{v}^{\prime},\boldsymbol{v}\rangle_{V^{\perp}}.\end{align*}(36)
To show linearity in the first argument, we use another arbitrary element of the vector space and a scalar , therefore,
\begin{aligned}&\langle\boldsymbol{v}+\lambda\boldsymbol{v}^{\prime},\boldsymbol{v}_{3}\rangle_{V^{\perp}}\\&=(\boldsymbol{\alpha}+\lambda\boldsymbol{\alpha}^{\prime})^{T}\boldsymbol{K}^{\perp}(\boldsymbol{c},\boldsymbol{c}^{\prime})\boldsymbol{\gamma}\\&=\boldsymbol{\alpha}^{T}\boldsymbol{K}^{\perp}(\boldsymbol{c},\boldsymbol{c}^{\prime})\boldsymbol{\gamma}+\lambda\boldsymbol{\alpha}^{\prime}^{T}\boldsymbol{K}^{\perp}(\boldsymbol{c},\boldsymbol{c}^{\prime})\boldsymbol{\gamma}\\&=\langle\boldsymbol{v},\boldsymbol{v}_{3}\rangle_{V^{\perp}}+\lambda\langle\boldsymbol{v}^{\prime},\boldsymbol{v}_{3}\rangle_{V^{\perp}}\quad\forall\lambda\in\mathbb{R}.\\ \end{aligned} \tag{37}Linearity with respect to the second argument can be shown analogously.
B Momenta evolution
The motion must minimize the kinetic energy to ensure uniqueness of motion. Therefore, the condition
must be fulfilled. The derivation of the summands follow the same steps as in Appendix A of [14], and result in
Therefore, (38) is fulfilled if
where we used .
C Gradient of the rigid body mode free Kernel
The gradient with respect to the current control point positions is needed in equation (26). For brevity, we use in
The gradient of the kernel
(43) is known, see [14], where is the Kronecker delta and Einstein summation convention applies. The gradient of the projector is
(44)
We first concentrate on the term in the second summand. We can write and know . Rearranging
gives
with
The only remaining unknown term is the gradient of the basis itself. As was defined in 12 as , its gradient is
(48)
where and .
D Subspace projection
For completeness and clarity, we give a short repetition of subspace projections. See, e.g., [5] for elaborate details. The motion is contained in the finite-dimensional space . Let and be subspaces of , such that and . Then, for each element , there exists a unique decomposition
where and . The elements of the subspaces can be computed by introducing a projection and its orthogonal complement
, defined as . Both projections are linear transformations such that and . The projection is called orthogonal if its nullspace is orthogonal to its image. Their dimension is .
Based on these projections, we define two orthogonal projectors as idempotent and symmetric matrices and , with the following properties
Then, the subspace elements from (49) are defined as
E Elemental rotation matrices
The matrices of the three elemental rotations are defined as
F Pseudo-code
Algorithm 1 Surface matching with decomposed motion
Input: source S, target T, control points , hyperparameters
Output: initial momenta , translations , rotation angles
(Optionally) align source S and target T rigidly
Initialize
while not converged do
Reset
Reset
Reset
Compute translation fields The translation fields are constant in pseudo-time.
while do
Compute Projectors See (14)
Compute Kernels See (16) and App. C
Compute rotation fields See (23)
Update With Runge-Kutta scheme or similar
end while
Compute similarity metric See (9) or [12, 14]
Compute kinetic Energy See (19) and (25)
Update With L-BFGS or similar
end while
Acknowledgements
The project was funded by the Bavarian State Ministry of Science and Arts within the SmartHeart project.
References
[1] Antonsanti PL, Glaunès J, Benseghir T, et al (2021) Partial Matching in the Space of Varifolds. In: Feragen A, Sommer S, Schnabel J, et al (eds) Information Processing in Medical Imaging, vol 12729. Springer International Publishing, Cham, p 123–135, https://doi.org/10.1007/978-3-030-78191-0_10
[2] Arguillère S, Miller MI, Younes L (2016) Diffeomorphic Surface Registration with Atrophy Constraints. SIAM journal on imaging sciences 9(3):975–1003. https://doi.org/10.1137/15m104431x
[3] Arguillère S, Trélat E, Trouvé A, et al (2016) Registration of Multiple Shapes using Constrained Optimal Control. SIAM Journal on Imaging Sciences 9(1):344–385. https://doi.org/10.1137/15M1006726
[4] Aronszajn N (1950) Theory of reproducing kernels. Transactions of the American Mathematical Society 68(3):337–404. https://doi.org/10.1090/S0002-9947-1950-0051437-7
[5] Banerjee S, Roy A (2014) Linear Algebra and Matrix Analysis for Statistics. Texts in Statistical Science, CRC Press, Taylor & Francis, Boca Raton Fla.
[6] Beg MF, Miller MI, Trouvé A, et al (2005) Computing Large Deformation Metric Mappings via Geodesic Flows of Diffeomorphisms. International Journal of Computer Vision 61(2):139–157. https://doi.org/10.1023/B:VISI.0000043755.93987.aa
[7] Ben Amor B, Arguillere S, Shao L (2022) ResNet-LDDMM: Advancing the LDDMM Framework using Deep Residual Networks. IEEE Transactions on Pattern Analysis and Machine Intelligence pp 1–1. https://doi.org/10.1109/TPAMI.2022.3174908
[8] Bône A, Louis M, Martin B, et al (2018) Deformetrica 4: An Open-Source Software for Statistical Shape Analysis. In: Reuter M, Wachinger C, Lombaert H, et al (eds) Shape in Medical Imaging, vol 11167. Springer International Publishing, Cham, pp 3–13, https://doi.org/10.1007/978-3-030-04747-4_1
[9] Braga J, Zimmer V, Dumoncel J, et al (2019) Efficacy of diffeomorphic surface matching and 3D geometric morphometrics for taxonomic discrimination of Early Pleistocene hominin mandibular molars. Journal of Human Evolution 130:21–35. https://doi.org/10.1016/j.jhevol.2019.01.009
[10] Burden A, Burden R, Faires J (2016) Numerical Analysis, 10th Ed. Cengage Learning, https://doi.org/10.13140/2.1.4830.2406
[11] Ceritoglu C, Oishi K, Li X, et al (2009) Multi-contrast large deformation diffeomorphic metric mapping for diffusion tensor imaging. NeuroImage 47(2):618–627. https://doi.org/10.1016/j.neuroimage.2009.04.057
[12] Charon N, Trouvé A (2013) The varifold representation of non-oriented shapes for diffeomorphic registration. SIAM Journal on Imaging Sciences 6(4):2547–2580. https://doi.org/10.1137/130918885, arXiv:1304.6108 [cs, math]
[13] Durrleman S, Pennec X, Trouvé A, et al (2009) Statistical models of sets of curves and surfaces based on currents. Medical Image Analysis 13(5):793–808. https://doi.org/10.1016/j.media.2009.07.007
[14] Durrleman S, Prastawa M, Charon N, et al (2014) Morphometry of anatomical shape complexes with dense deformations and sparse parameters. NeuroImage 101:35–49. https://doi.org/10.1016/j.neuroimage.2014.06.043
[15] Glaunès J, Qiu A, Miller MI, et al (2008) Large Deformation Diffeomorphic Metric Curve Mapping. International Journal of Computer Vision 80(3):317–336. https://doi.org/10.1007/s11263-008-0141-9
[16] Glaunès JA (2005) Transport par difféomorphismes de points, de mesures et de courants pour la comparaison de formes et l'anatomie numérique. PhD thesis, University of Paris
[17] Gris B, Durrleman S, Trouvé A (2018) A Sub-Riemannian Modular Framework for Diffeomorphism-Based Analysis of Shape Ensembles. SIAM Journal on Imaging Sciences 11(1):802–833. https://doi.org/10.1137/16M1076733
[18] Guan D, Tian L, Li W, et al (2024) Using LDDMM and a kinematic cardiac growth model to quantify growth and remodelling in rat hearts under PAH. Computers in Biology and Medicine 171:108218. https://doi.org/10.1016/j.compbiomed.2024.108218
[19] Guigui N, Pennec X (2022) Parallel transport, a central tool in geometric statistics for computational anatomy: Application to cardiac motion modeling. In: Nielsen F, Srinivasa Rao ASR, Rao CR (eds) Handbook of Statistics, Geometry and Statistics, vol 46, 1st edn. Elsevier, p 285–326, https://doi.org/10.1016/bs.host.2022.03.006
[20] Hsieh DN, Arguillère S, Charon N, et al (2021) Diffeomorphic shape evolution coupled with a reaction-diffusion PDE on a growth potential. https://doi.org/10.48550/ARXIV.2101.06508
[21] Lin S, Zhao Y, Xing S (2022) Asymmetry of Endocast Surface Shape in Modern Humans Based on Diffeomorphic Surface Matching. Symmetry 14(7):1459. https://doi.org/10.3390/sym14071459
[22] Meyer CD (2000) Matrix Analysis and Applied Linear Algebra. Society for Industrial and Applied Mathematics, Philadelphia
[23] Nocedal J (1980) Updating quasi-Newton matrices with limited storage. Mathematics of Computation 35(151):773–782. https://doi.org/10.1090/S0025-5718-1980-0572855-7
[24] Polzin T (2018) Large Deformation Diffeomorphic Metric Mappings. PhD thesis, University of Lübeck, Lübeck
[25] Runge C (1895) Ueber die numerische Auflösung von Differentialgleichungen. Mathematische Annalen 46(2):167–178. https://doi.org/10.1007/BF01446807
[26] Sommer S, Nielsen M, Darkner S, et al (2012) Higher-Order Momentum Distributions and Locally Affine LDDMM Registration. https://doi.org/10.48550/arXiv.1112.3166, arXiv:1112.3166
[27] Stouffer KM, Witter MP, Tward DJ, et al (2022) Projective diffeomorphic mapping of molecular digital pathology with tissue MRI. Communications Engineering 1(1):1–11. https://doi.org/10.1038/s44172-022-00044-1
[28] Vaillant M, Glaunès J (2005) Surface Matching via Currents. In: Hutchison D, Kanade T, Kittler J, et al (eds) Information Processing in Medical Imaging, vol 3565. Springer Berlin Heidelberg, Berlin, Heidelberg, p 381–392, https://doi.org/10.1007/11505730_32
[29] Vanvek P, Brezina M, Mandel J (2001) Convergence of algebraic multigrid based on smoothed aggregation. Numerische Mathematik 88(3):559–579. https://doi.org/10.1007/s211-001-8015-y
[30] Vialard FX, Risser L, Rueckert D, et al (2012) Diffeomorphic 3D Image Registration via Geodesic Shooting Using an Efficient Adjoint Calculation. International Journal of Computer Vision 97(2):229–241. https://doi.org/10.1007/s11263-011-0481-8
[31] Viergever MA, Maintz JBA, Klein S, et al (2016) A survey of medical image registration – under review. Medical Image Analysis 33:140–144. https://doi.org/10.1016/j.media.2016.06.030
[32] Younes L (2019) Shapes and Diffeomorphisms, Applied Mathematical Sciences, vol 171. Springer Berlin Heidelberg, Berlin, Heidelberg, https://doi.org/10.1007/978-3-662-58496-5