Riemannian metric and Lie bracket in computational anatomy
Computational anatomy (CA) is the study of shape and form in medical imaging. The study of deformable shapes in computational anatomy rely on high-dimensional diffeomorphism groups [math]\displaystyle{ \varphi \in \operatorname{Diff}_V }[/math] which generate orbits of the form [math]\displaystyle{ \mathcal{M} \doteq \{ \varphi \cdot m \mid \varphi \in \operatorname{Diff}_V \} }[/math]. In CA, this orbit is in general considered a smooth Riemannian manifold since at every point of the manifold [math]\displaystyle{ m \in \mathcal{M} }[/math] there is an inner product inducing the norm [math]\displaystyle{ \| \cdot \|_m }[/math] on the tangent space that varies smoothly from point to point in the manifold of shapes [math]\displaystyle{ m \in \mathcal{M} }[/math]. This is generated by viewing the group of diffeomorphisms [math]\displaystyle{ \varphi \in \operatorname{Diff}_V }[/math] as a Riemannian manifold with [math]\displaystyle{ \| \cdot \|_\varphi }[/math], associated to the tangent space at [math]\displaystyle{ \varphi \in\operatorname{Diff}_V }[/math] . This induces the norm and metric on the orbit [math]\displaystyle{ m \in \mathcal{M} }[/math] under the action from the group of diffeomorphisms.
The diffeomorphisms group generated as Lagrangian and Eulerian flows
The diffeomorphisms in computational anatomy are generated to satisfy the Lagrangian and Eulerian specification of the flow fields, [math]\displaystyle{ \varphi_t, t \in [0,1] }[/math], generated via the ordinary differential equation
-
[math]\displaystyle{ \frac{d}{dt} \varphi_t = v_t \circ \varphi_t , \ \varphi_0 = \operatorname{id}; }[/math]
(
)
with the Eulerian vector fields [math]\displaystyle{ v \doteq (v_1,v_2,v_3) }[/math] in [math]\displaystyle{ {\mathbb R}^3 }[/math] for [math]\displaystyle{ v_t = \dot \varphi_t \circ \varphi_t^{-1}, t \in [0,1] }[/math], with the inverse for the flow given by
-
[math]\displaystyle{ \frac{d}{dt} \varphi_t^{-1} = -(D \varphi_t^{-1}) v_t, \ \varphi_0^{-1} = \operatorname{id}, }[/math]
(
)
and the [math]\displaystyle{ 3 \times 3 }[/math] Jacobian matrix for flows in [math]\displaystyle{ \mathbb{R}^3 }[/math] given as [math]\displaystyle{ \ D\varphi \doteq \left(\frac{\partial \varphi_i}{\partial x_j}\right). }[/math]
To ensure smooth flows of diffeomorphisms with inverse, the vector fields [math]\displaystyle{ {\mathbb R}^3 }[/math] must be at least 1-time continuously differentiable in space[1][2] which are modelled as elements of the Hilbert space [math]\displaystyle{ (V, \| \cdot \|_V ) }[/math] using the Sobolev embedding theorems so that each element [math]\displaystyle{ v_i \in H_0^3, i=1,2,3, }[/math] has 3-square-integrable derivatives thusly implies [math]\displaystyle{ (V, \| \cdot \|_V ) }[/math] embeds smoothly in 1-time continuously differentiable functions.[1][2] The diffeomorphism group are flows with vector fields absolutely integrable in Sobolev norm:
-
[math]\displaystyle{ \operatorname{Diff}_V \doteq \{\varphi=\varphi_1: \dot \varphi_t = v_t \circ \varphi_t , \varphi_0 = \operatorname{id}, \int_0^1 \|v_t \|_V \,dt \lt \infty \} \ . }[/math]
(
)
The Riemannian orbit model
Shapes in Computational Anatomy (CA) are studied via the use of diffeomorphic mapping for establishing correspondences between anatomical coordinate systems. In this setting, 3-dimensional medical images are modelled as diffemorphic transformations of some exemplar, termed the template [math]\displaystyle{ I_{temp} }[/math], resulting in the observed images to be elements of the random orbit model of CA. For images these are defined as [math]\displaystyle{ I \in \mathcal {I} \doteq \{ I = I_{temp} \circ \varphi, \varphi \in \operatorname{Diff}_V \} }[/math], with for charts representing sub-manifolds denoted as [math]\displaystyle{ \mathcal{M} \doteq \{ \varphi \cdot m_{temp} : \varphi \in \operatorname{Diff}_V \} }[/math].
The Riemannian metric
The orbit of shapes and forms in Computational Anatomy are generated by the group action[math]\displaystyle{ \mathcal{M} \doteq \{ \varphi \cdot m : \varphi \in \operatorname{Diff}_V \} }[/math]. This is made into a Riemannian orbit by introducing a metric associated to each point and associated tangent space. For this a metric is defined on the group which induces the metric on the orbit. Take as the metric for Computational anatomy at each element of the tangent space [math]\displaystyle{ \varphi \in \operatorname{Diff}_V }[/math] in the group of diffeomorphisms
- [math]\displaystyle{ \| \dot \varphi \|_\varphi \doteq \| \dot \varphi \circ \varphi^{-1} \|_V=\| v \|_V }[/math],
with the vector fields modelled to be in a Hilbert space with the norm in the Hilbert space [math]\displaystyle{ (V, \| \cdot \|_V ) }[/math]. We model [math]\displaystyle{ V }[/math] as a reproducing kernel Hilbert space (RKHS) defined by a 1-1, differential operator[math]\displaystyle{ A: V \rightarrow V^* }[/math]. For [math]\displaystyle{ \sigma(v) \doteq Av \in V^* }[/math] a distribution or generalized function, the linear form [math]\displaystyle{ (\sigma\mid w) \doteq \int_{\mathbb R^3} \sum_i w_i(x) \sigma_i (dx) }[/math] determines the norm:and inner product for [math]\displaystyle{ v \in V }[/math] according to
- [math]\displaystyle{ \langle v , w \rangle_V \doteq \int_X A v \cdot w \, dx, \ \| v\|_V^2 \doteq \int_X A v \cdot v \, dx, \ v,w \in V \ . }[/math]
where the integral is calculated by integration by parts for [math]\displaystyle{ Av }[/math] a generalized function [math]\displaystyle{ Av \in V^* }[/math] the dual-space. The differential operator is selected so that the Green's kernel associated to the inverse is sufficiently smooth so that the vector fields support 1-continuous derivative.
The right-invariant metric on diffeomorphisms
The metric on the group of diffeomorphisms is defined by the distance as defined on pairs of elements in the group of diffeomorphisms according to
[math]\displaystyle{ d_{\operatorname{Diff}_V} (\psi, \varphi) = \inf_{v_t} \left(\frac 1 2 \int_0^1 \int_X Av_t \cdot v_t \,dx \ dt : \varphi_0 = \psi, \varphi_1 = \varphi, \dot \varphi_t = v_t \circ \varphi_t \right)^{1/2} \ . }[/math] |
|
( ) |
This distance provides a right-invariant metric of diffeomorphometry,[3][4][5] invariant to reparameterization of space since for all [math]\displaystyle{ \varphi \in \operatorname{Diff}_V }[/math],
- [math]\displaystyle{ d_{\operatorname{Diff}_V}(\psi, \varphi) = d_{\operatorname{Diff}_V}(\psi \circ \varphi, \varphi \circ \varphi). }[/math]
The Lie bracket in the group of diffeomorphisms
The Lie bracket gives the adjustment of the velocity term resulting from a perturbation of the motion in the setting of curved spaces. Using Hamilton's principle of least-action derives the optimizing flows as a critical point for the action integral of the integral of the kinetic energy. The Lie bracket for vector fields in Computational Anatomy was first introduced in Miller, Trouve and Younes.[6] The derivation calculates the perturbation [math]\displaystyle{ \delta v }[/math] on the vector fields [math]\displaystyle{ v^\varepsilon = v + \varepsilon \delta v }[/math] in terms of the derivative in time of the group perturbation adjusted by the correction of the Lie bracket of vector fields in this function setting involving the Jacobian matrix, unlike the matrix group case:
-
[math]\displaystyle{ ad_v:V \mapsto V }[/math] given by [math]\displaystyle{ ad_v(w)\doteq (Dv)w - (Dw)v , v,w \in V . }[/math]
(
)
Proof: Proving Lie bracket of vector fields take a first order perturbation of the flow at point [math]\displaystyle{ \varphi \in \operatorname{Diff}_V }[/math].
Taking the first order perturbation gives [math]\displaystyle{ \varphi_t^\varepsilon \doteq (\operatorname{id} + \varepsilon w) \circ \varphi = \varphi+\varepsilon w \circ \varphi }[/math], with fixed boundary [math]\displaystyle{ w_0= w_1=0 }[/math], with [math]\displaystyle{ \frac{d}{dt} \varphi_t^\varepsilon = v_t^\varepsilon \circ \varphi_t^\varepsilon, \varphi_0^\varepsilon = \operatorname{id} , \varphi_1^\varepsilon = \varphi_1 }[/math], giving the following two Eqns:
- [math]\displaystyle{ \frac{d}{dt} \varphi_t^\varepsilon = \frac{d}{dt} \varphi_t + \varepsilon \frac{d}{dt}(w_t \circ \varphi_t ) =v_t \circ \varphi_t + (D w_t)\circ \varphi_t v_t \circ \varphi_t +o(\varepsilon)\ . }[/math]
- [math]\displaystyle{ \dot \varphi_t^\varepsilon = (v_t + \varepsilon \delta v_t) \circ (\varphi_t + \varepsilon w_t \circ \varphi_t) \simeq v_t \circ \varphi_t +\varepsilon (Dv_t)\circ \varphi_t w_t \circ \varphi_t + \delta v_t \circ \varphi_t +o(\varepsilon) \ . }[/math]
Equating the above two equations gives the perturbation of the vector field in terms of the Lie bracket adjustment.
The Lie bracket gives the first order variation of the vector field with respect to first order variation of the flow.
- [math]\displaystyle{ \delta v_t = \frac{d}{d t} w_t - ad_{v_t}(w_t) =\frac{d}{d t} w_t- ((Dv_t) w_t - (Dw_t)v_t) \ . }[/math]
The generalized Euler–Lagrange equation for the metric on diffeomorphic flows
The Euler–Lagrange equation can be used to calculate geodesic flows through the group which form the basis for the metric. The action integral for the Lagrangian of the kinetic energy for Hamilton's principle becomes
-
[math]\displaystyle{ J(\varphi) \doteq \frac{1}{2}\int_0^1 \| \dot \varphi_t \|_{\varphi_t}^2 \,dt = \frac{1}{2}\int_0^1 \| \dot \varphi_t \circ \varphi_t^{-1} \|_V^2 \,dt =\frac{1}{2}\int_0^1 \int_X A (\dot \varphi_t \circ \varphi_t^{-1})\cdot (\dot \varphi_t \circ \varphi_t^{-1}) \, dx \,dt \ . }[/math]
(
)
The action integral in terms of the vector field corresponds to integrating the kinetic energy
- [math]\displaystyle{ J(v) \doteq \frac{1}{2} \int_0^1 \| v_t \|_V^2 dt = \frac{1}{2} \int_0^1 \int_X Av_t \cdot v_t \,dx \ dt \ . }[/math]
The shortest paths geodesic connections in the orbit are defined via Hamilton's Principle of least action requires first order variations of the solutions in the orbits of Computational Anatomy which are based on computing critical points on the metric length or energy of the path. The original derivation of the Euler equation[7] associated to the geodesic flow of diffeomorphisms exploits the was a generalized function equation when[math]\displaystyle{ Av \in V^* }[/math] is a distribution, or generalized function, take the first order variation of the action integral using the adjoint operator for the Lie bracket (adjoint-Lie-bracket) gives for all smooth [math]\displaystyle{ w \in V }[/math],
- [math]\displaystyle{ \frac{d}{d \varepsilon} J(\varphi^\varepsilon)|_{\varepsilon=0} = \int_0^1 \int_X Av_t \cdot \delta v_t\,dx \, dt = \int_0^1 \int_X Av_t \cdot \left( \frac{d}{d t} w_t -( (Dv_t)w-(Dw)v_t) \right)\,dx \,dt. }[/math]
Using the bracket [math]\displaystyle{ ad_v: w \in V \mapsto V }[/math] and [math]\displaystyle{ ad_v^*: V^* \rightarrow V^* }[/math] gives
-
[math]\displaystyle{ \frac{d}{dt} Av_t + ad_{v_t}^* (Av_t)=0 \ , \ t \in [0,1] \ , }[/math]
(
)
meaning for all smooth [math]\displaystyle{ w \in V , }[/math]
- [math]\displaystyle{ \int_X \left( \frac{d}{dt} Av_t + ad_{v_t}^* (Av_t) \right) \cdot w\, dx = \int_X \frac{d}{dt} Av_t \cdot w \,dx + \int_X Av_t \cdot \left( (Dv_t)w-(Dw)v_t \right) \,dx =0 . }[/math]
Equation (Euler-general) is the Euler-equation when diffeomorphic shape momentum is a generalized function. [8] This equation has been called EPDiff, Euler–Poincare equation for diffeomorphisms and has been studied in the context of fluid mechanics for incompressible fluids with [math]\displaystyle{ L^2 }[/math] metric. [9] [10]
Riemannian exponential for positioning
In the random orbit model of Computational anatomy, the entire flow is reduced to the initial condition which forms the coordinates encoding the diffeomorphism, as well as providing the means of positioning information in the orbit. This was first terms a geodesic positioning system in Miller, Trouve, and Younes.[4] From the initial condition [math]\displaystyle{ v_0 }[/math] then geodesic positioning with respect to the Riemannian metric of Computational anatomy solves for the flow of the Euler–Lagrange equation. Solving the geodesic from the initial condition [math]\displaystyle{ v_0 }[/math] is termed the Riemannian-exponential, a mapping [math]\displaystyle{ \operatorname{Exp}_{\operatorname{id}}(\cdot): V \to \operatorname{Diff}_V }[/math] at identity to the group.
The Riemannian exponential satisfies [math]\displaystyle{ \operatorname{Exp}_\operatorname{id} (v_0)= \varphi_1 }[/math] for initial condition [math]\displaystyle{ \dot \varphi_0 = v_0 }[/math], vector field dynamics [math]\displaystyle{ \dot \varphi_t = v_t \circ \varphi_t, t \in [0,1] }[/math],
- for classical equation on the diffeomorphic shape momentum as a smooth vector [math]\displaystyle{ Av_t = \mu_t \,dx }[/math] with [math]\displaystyle{ \int_X \mu_t \cdot w \,dx \ ,w \in V }[/math] the Euler equation exists in the classical sense as first derived for the density:[11]
- [math]\displaystyle{ \frac{d}{dt} \mu_t + (Dv_t)^T \mu_t +(D\mu_t)v_t + ( \nabla \cdot v) \mu_t =0 \ , \ Av_t= \mu_t \, dx ; }[/math]
- for generalized equation, [math]\displaystyle{ Av \in V^* }[/math], then
- [math]\displaystyle{ \frac{d}{dt} Av_t + ad_{v_t}^* (Av_t)=0 \ , \ t \in [0,1] \ . }[/math]
It is extended to the entire group, [math]\displaystyle{ \varphi= \operatorname{Exp}_\varphi(v_0\circ \varphi) \doteq \operatorname{Exp}_\operatorname{id} (v_0) \circ \varphi }[/math].
The variation problem for matching or registering coordinate system information in computational anatomy
Matching information across coordinate systems is central to computational anatomy. Adding a matching term [math]\displaystyle{ E: \varphi \in \operatorname{Diff}_V \rightarrow R^+ }[/math] to the action integral of Equation (Hamilton's action integral) which represents the target endpoint
- [math]\displaystyle{ C(\varphi) \doteq \int_0^1 \int_X Av_t \cdot v_t \,dx \, dt + E(\varphi_1) \ . }[/math]
The endpoint term adds a boundary condition for the Euler–Lagrange equation (EL-General) which gives the Euler equation with boundary term. Taking the variation gives
- Necessary geodesic condition:
- [math]\displaystyle{ \begin{cases} & \dfrac{d}{dt} Av_t + (Dv_t)^T Av_t +(DAv_t)v_t + ( \nabla \cdot v) Av_t =0 \ ; \\[4pt] & Av_1 + \frac{\partial E(\varphi)}{\partial \varphi_1} = 0 \end{cases} }[/math]
Proof:[12] The Proof via variation calculus uses the perturbations from above and classic calculus of variation arguments.
- [math]\displaystyle{ \begin{align} & \int_0^1 \int_X Av_t \cdot \left(\frac{d}{d t} \delta \varphi_t - (Dv_t \delta \varphi_t-D\delta \varphi_t v_t) \right)\,dx \, dt + \int_X \left( \frac{\partial E(\varphi)}{\partial \varphi_1}\cdot \delta \varphi_1 \,dx\right) \\[6pt] = {} & -\int_0^1 \int_X \left(\frac{d Av_t}{d t}+ad_{v_t}^*(Av_t)\right) \cdot \delta \varphi_t \,dx \,dt + \int_X \left(Av_1 + \frac{\partial E(\varphi)}{\partial \varphi_1} \right) \cdot \delta \varphi_1 \,dx . \end{align} }[/math]
Euler–Lagrange geodesic endpoint conditions for image matching
The earliest large deformation diffeomorphic metric mapping (LDDMM) algorithms solved matching problems associated to images and registered landmarks. are in a vector spaces. The image matching geodesic equation satisfies the classical dynamical equation with endpoint condition. The necessary conditions for the geodesic for image matching takes the form of the classic Equation (EL-Classic) of Euler–Lagrange with boundary condition:
- [math]\displaystyle{ \min_{\varphi: \dot \varphi = v_t \circ \varphi_t } C(\varphi) \doteq \frac 1 2 \int_0^1 \int_X Av_t \cdot v_t \,dx\,dt +\frac 1 2 \int_X |I \circ \varphi_1^{-1}(x) - J(x) |^2 \, dx }[/math]
- Necessary geodesic condition:
- [math]\displaystyle{ \begin{cases} & \dfrac{d}{dt} Av_t + (Dv_t)^T Av_t +(DAv_t)v_t + ( \nabla \cdot v) Av_t =0 \ ; \\[4pt] & Av_1 =(I \circ \varphi_1^{-1} -J) \nabla (I\circ \varphi_1^{-1}) \end{cases} }[/math]
Euler–Lagrange geodesic endpoint conditions for landmark matching
The registered landmark matching problem satisfies the dynamical equation for generalized functions with endpoint condition:
- [math]\displaystyle{ \min_{\varphi: \dot \varphi = v_t \circ \varphi_t } C(\varphi) \doteq \frac{1}{2} \int_0^1 \int_X Av_t \cdot v_t\, dx\,dt +\frac{1}{2} \sum_i ( \varphi_1(x_i)-y_i )\cdot ( \varphi_1(x_i)-y_i ) . }[/math]
- Necessary geodesic conditions:
- [math]\displaystyle{ \begin{cases} & \dfrac{d}{dt} Av_t + ad_{v_t}^* (Av_t)=0 \ , \ t \in [0,1] \ , \\[4pt] & Av_1 = \sum_{i=1}^n \delta_{\varphi_1 (x_i)} (y_i-\varphi_1(x_i)) \end{cases} }[/math]
Proof:[13]
The variation [math]\displaystyle{ \frac{\partial}{\partial \varphi} E(\varphi) }[/math] requires variation of the inverse [math]\displaystyle{ \varphi^{-1} }[/math] generalizes the matrix perturbation of the inverse via [math]\displaystyle{ (\varphi + \varepsilon \delta \varphi \circ \varphi)\circ (\varphi^{-1} + \varepsilon \delta \varphi^{-1} \circ \varphi^{-1}) = \operatorname{id} + o(\varepsilon) }[/math] giving [math]\displaystyle{ \delta \varphi^{-1} \circ \varphi^{-1} =-(D \varphi_1^{-1}) \delta \varphi }[/math] giving
- [math]\displaystyle{ \begin{align} & \frac{d}{d \varepsilon} \frac{1}{2} \left. \int_X | I \circ ( \varphi^{-1} + \varepsilon \delta \varphi^{-1} \circ \varphi^{-1})-J|^2 \, dx\right|_{\varepsilon =0} \\[6pt] = {} & \int_X (I \circ \varphi^{-1} -J ) \nabla I|_{\varphi^{-1}} (-D \varphi_1^{-1}) \delta \varphi \, dx \\[6pt] = {} &-\int_X(I \circ \varphi_1^{-1} -J) \nabla (I\circ \varphi_1^{-1}) \delta \varphi \, dx. \end{align} }[/math]
References
- ↑ 1.0 1.1 P. Dupuis, U. Grenander, M.I. Miller, Existence of Solutions on Flows of Diffeomorphisms, Quarterly of Applied Math, 1997.
- ↑ 2.0 2.1 A. Trouvé. Action de groupe de dimension infinie et reconnaissance de formes. C R Acad Sci Paris Sér I Math, 321(8):1031– 1034, 1995.
- ↑ Miller, M. I.; Younes, L. (2001-01-01). "Group Actions, Homeomorphisms, And Matching: A General Framework". International Journal of Computer Vision 41: 61–84. doi:10.1023/A:1011161132514.
- ↑ 4.0 4.1 Miller, Michael I.; Younes, Laurent; Trouvé, Alain (2014-03-01). "Diffeomorphometry and geodesic positioning systems for human anatomy". Technology 2 (1): 36–43. doi:10.1142/S2339547814500010. ISSN 2339-5478. PMID 24904924.
- ↑ Miller, Michael I.; Trouvé, Alain; Younes, Laurent (2015-01-01). "Hamiltonian Systems and Optimal Control in Computational Anatomy: 100 Years Since D'Arcy Thompson". Annual Review of Biomedical Engineering 17 (1): 447–509. doi:10.1146/annurev-bioeng-071114-040601. PMID 26643025.
- ↑ MILLER, MICHAEL I.; TROUVÉ, ALAIN; YOUNES, LAURENT (2006-01-31). "Geodesic Shooting for Computational Anatomy". Journal of Mathematical Imaging and Vision 24 (2): 209–228. doi:10.1007/s10851-005-3624-0. ISSN 0924-9907. PMID 20613972.
- ↑ MILLER, MICHAEL I.; TROUVÉ, ALAIN; YOUNES, LAURENT (2006-01-31). "Geodesic Shooting for Computational Anatomy". Journal of Mathematical Imaging and Vision 24 (2): 209–228. doi:10.1007/s10851-005-3624-0. ISSN 0924-9907. PMID 20613972.
- ↑ M.I. Miller, A. Trouve, L. Younes, Geodesic Shooting in Computational Anatomy, IJCV, 2006.
- ↑ 66. Camassa R, Holm DD. 1993. An integrable shallow water equation with peaked solitons. Phys. Rev. Lett. 71:1661–64
- ↑ Holm DD, Marsden JE, Ratiu TS. 1998. The Euler–Poincar´e equations and semidirect products with applications to continuum theories. Adv. Math. 137:1–81
- ↑ M.I. Miller, A. Trouve, L Younes, On the Metrics and Euler–Lagrange equations of Computational Anatomy, Annu. Rev. Biomed. Eng. 2002. 4:375–405 doi: 10.1146/annurev.bioeng.4.092101.125733 Copyright °c 2002 by Annual Reviews.
- ↑ M.I. Miller, A. Trouve, L Younes, On the Metrics and Euler–Lagrange equations of Computational Anatomy, Annu. Rev. Biomed. Eng. 2002. 4:375–405 doi: 10.1146/annurev.bioeng.4.092101.125733 Copyright °c 2002 by Annual Reviews.
- ↑ M.I. Miller, A. Trouve, L Younes, On the Metrics and Euler–Lagrange equations of Computational Anatomy, Annu. Rev. Biomed. Eng. 2002. 4:375–405 doi: 10.1146/annurev.bioeng.4.092101.125733 Copyright °c 2002 by Annual Reviews.
External links
- Riemannian metric and Lie bracket in computational anatomy (Original source)
- www.example.com