A discrete framework to find the optimal matching between manifold-valued curves
Alice Le Brigant (IMB)

TL;DR
This paper introduces a discrete Riemannian framework for optimal matching of manifold-valued curves, providing an efficient algorithm that converges to the continuous model and is applicable to various geometries like hyperbolic, Euclidean, and spherical spaces.
Contribution
It develops a novel discrete Riemannian structure for shape analysis of manifold-valued curves, with proven convergence to the smooth case and practical algorithms for optimal matching.
Findings
The discrete framework accurately approximates the continuous model.
The algorithm effectively matches curves in hyperbolic, Euclidean, and spherical spaces.
Comparison with dynamic programming shows competitive performance.
Abstract
The aim of this paper is to find an optimal matching between manifold-valued curves, and thereby adequately compare their shapes, seen as equivalent classes with respect to the action of reparameterization. Using a canonical decomposition of a path in a principal bundle, we introduce a simple algorithm that finds an optimal matching between two curves by computing the geodesic of the infinite-dimensional manifold of curves that is at all time horizontal to the fibers of the shape bundle. We focus on the elastic metric studied in the so-called square root velocity framework. The quotient structure of the shape bundle is examined, and in particular horizontality with respect to the fibers. These results are more generally given for any elastic metric. We then introduce a comprehensive discrete framework which correctly approximates the smooth setting when the base manifold has constant…
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18
Figure 19
Figure 20
Figure 21
Figure 22
Figure 23
Figure 24
Figure 25
Figure 26
Figure 27
Figure 28
Figure 29
Figure 30
Figure 31
Figure 32
Figure 33
Figure 34
Figure 35
Figure 36
Figure 37
Figure 38
Figure 39
Figure 40| 4.400 | 4.349 | 10.785 | 10.478 |
|---|---|---|---|
| 4.300 | 3.000 | 9.680 | 9.305 |
| 4.301 | 3.000 | 9.691 | 9.307 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
∎\newfloatcommandcapbtabboxtable[][\FBwidth]
11institutetext: Institut Mathématique de Bordeaux, UMR 5251, Université de Bordeaux and CNRS, France
11email: [email protected]
A discrete framework to find the optimal matching between manifold-valued curves
Alice Le Brigant
Abstract
The aim of this paper is to find an optimal matching between manifold-valued curves, and thereby adequately compare their shapes, seen as equivalent classes with respect to the action of reparameterization. Using a canonical decomposition of a path in a principal bundle, we introduce a simple algorithm that finds an optimal matching between two curves by computing the geodesic of the infinite-dimensional manifold of curves that is at all time horizontal to the fibers of the shape bundle. We focus on the elastic metric studied in moi17 using the so-called square root velocity framework. The quotient structure of the shape bundle is examined, and in particular horizontality with respect to the fibers. These results are more generally given for any elastic metric. We then introduce a comprehensive discrete framework which correctly approximates the smooth setting when the base manifold has constant sectional curvature. It is itself a Riemannian structure on the product manifold of "discrete curves" given by points, and we show its convergence to the continuous model as the size of the discretization goes to . Illustrations of optimal matching between discrete curves are given in the hyperbolic plane, the plane and the sphere, for synthetic and real data, and comparison with dynamic programming srivastava16 is established.
Keywords:
Shape analysis optimal matching manifold-valued curves discretization
1 Introduction
1.1 Context
The study of curves and their shapes is a research area with numerous and varied applications, which is why it has known a great deal of activity over the past years. These curves can be closed or open, and take their values in a Euclidean space or more generally in a Riemannian manifold. To name a few examples, closed plane curves are central in shape analysis of objects younes12 ; the study of trajectories on the Earth requires to deal with open curves on the sphere zhang16 ; and in signal processing, locally stationary Gaussian processes can be represented by open curves in the hyperbolic plane, seen as the statistical manifold of Gaussian densities moi16 , moi17 . Here we are concerned with the study of open curves in a manifold of constant sectional curvature.
There are naturally many ways to go about comparing curves in a manifold. One way is to see the space of manifold-valued curves as an (infinite-dimensional) manifold itself, and equip it with a Riemannian metric . Then the geodesic between two curves in describes how one optimally deforms into the other, while its length gives a measure of dissimilarity : the geodesic distance. The advantage of this strategy is that it provides all the convenient tools of the Riemannian framework. An interesting property for the metric , from the point of view of the applications, is invariance with respect to re-parameterization: for closed curves, this amounts to considering only the shape of an object; for an open curve representing the evolution in time of a given process, this allows us to analyze it regardless of speed or pace. A popular strategy is to consider the quotient space of curves modulo reparameterization, where two curves are considered identical if they pass through the same points of but at different speeds, or equivalently when one can be obtained by reparameterizing the other. This quotient space is often called the shape space. If the Riemannian metric defines the same scalar product at all points of which project on the same "shape", then induces a Riemannian structure on the quotient space. Computing geodesics between two shapes for that metric can be done in two steps : (1) establishing an "optimal matching" through the choice of two parameterizations, one for each shape, that will put in correspondence the points on the first shape with points on the second shape, as in Figure 1, and (2) computing the geodesic between the two parameterized curves obtained. Both steps depend on the choice of the metric.
1.2 Previous work
Since the simplest metric one can think of, the -metric (slightly modified to stay constant along the fibers), induces a vanishing distance on the quotient space michor05 , different classes of metrics have been studied to perform shape analysis. The large class of Sobolev metrics involves higher order derivatives to overcome the vanishing problem of the -metric michor07 . A first-order Sobolev metric for plane curves was introduced in younes98 and used in younes08 , which can be mapped to the -metric by a change of coordinates, namely by considering the complex square root of the speed of the curve. This metric was modified by the authors of mio07 to define the family of elastic metrics , parameterized by two constants and which control the degree of bending and stretching of the curve. In srivastava11 , the authors show that for a certain choice of parameters, the elastic metric can again be mapped to the -metric using the so-called square root velocity (SRV) coordinates, where a curve is represented by its speed renormalized by the square root of its norm. The SRV framework was generalized in bauer12 for any elastic metric with weights and satisfying a certain relation. A quotient structure for the metric used in srivastava11 is carefully developed in lahiri15 , where the authors prove that if at least one of two curves is piecewise-linear, then there exists a minimizing geodesic between the two, and give a precise algorithm to solve the matching problem. In bruveris15 , it is proven that in the same framework, there always exists an optimal reparameterization realizing the minimal distance between two plane curves. Another approach is proposed in tumpach16 , where the authors restrict to arc-length parameterized curves and characterize the horizontal space of the quotient structure for these curves in the elastic framework.
Concerning manifold-valued curves, the geodesic equations for Sobolev metrics in the space of curves and in the shape space were given in bauer11 in terms of the gradient of the metric with respect to itself. A generalization of the SRV framework to manifold-valued curves was introduced in zhang15 and used in zhang16 , while another one was proposed in moi17 . Extension to curves in a Lie group or a homogeneous space can also be found in celledoni16 , celledoni17 , su17 . Both metrics in zhang15 and moi17 coincide with the metric of srivastava11 in the flat case, however they define different Riemannian structures when the base space has curvature. The difference lies in the way computations are made – in zhang15 and zhang16 they are moved to the tangent spaces at the origins of the curves, resulting in simpler computations, whereas in moi17 they are done directly in the base manifold , transporting data pointwise across from one curve to the other, thus making the comparison more sensitive to the local "geography" of . When comparing the geodesic distances, this difference is measured by a curvature term (see moi17 , Prop. 3). In addition, unlike the metric of zhang15 , the one in moi17 can be written as an elastic metric (with ). The work of zhang15 is applied to curves in the space of symmetric positive definite matrices, while the case of spherical trajectories is investigated in zhang16 , where the authors exhibit simplifications. In both cases, optimal matching between curves is achieved through dynamic programming. On the other hand, the Riemannian structure in moi17 is applied to curves in the hyperbolic plane, but the question of optimal matching is not studied. This is remedied here.
1.3 Contributions of this paper
The aim of this paper is three-fold : (1) study the quotient structure associated to the Riemannian metric of moi17 , and more generally to any elastic metric on manifold-valued curves, (2) exploit this knowledge of horizontality in an algorithm that computes an optimal matching between shapes – and whose range of application goes beyond elastic metrics – and (3) give a comprehensive discrete Riemannian framework on the finite-dimensional manifold of "discrete curves" that correctly approximates these procedures for the particular case of the SRV framework and constant sectional curvature. More specifically,
we characterize the horizontal subspace associated to the quotient shape space, for any elastic metric and in particular for the SRV metric . Namely, we decompose any infinitesimal deformation of a smooth curve into a vertical part, which reparameterizes the curve without changing its shape, and a -orthogonal horizontal part. This is done in a similar way as in tumpach16 but without restriction to arc-length parameterized curves.
We write any path in the space of smooth curves as a horizontal path composed with a path of reparameterizations. We use this decomposition to define an algorithm that, for a fixed parameterization of one of two curves, approximates the horizontal geodesic linking it to the fiber of the other curve, thereby yielding the "closest parameterization" of the latter with respect to the fixed parameterization of the former. We refer to this correspondence as an optimal matching. This algorithm can be used for any metric structure as long as one knows how to compute geodesics and characterize horizontality. Comparison with the popular dynamic programming approach srivastava16 is established in the simulations section.
We define a discrete version of that is a Riemannian metric on the finite-dimensional manifold of "discrete curves" given by points, when has constant sectional curvature . We show that the energy of a path of discrete curves converges to the energy of the limit path as the size of the discretization goes to . We give the geodesic equations for this metric, characterize the Jacobi fields, describe geodesic shooting, and show simulations on synthetic and real data in , the hyperbolic plane and the sphere.
1.4 Outline
After reminding the continuous model previously introduced in moi17 , Section 2 describes the horizontal space of the quotient structure and a way to compute horizontal geodesics. In Section 3, we introduce the discretization, and give the convergence result toward the continuous model, which is later proved in Section 5. Section 4 shows results of simulations in the three settings of positive, zero and negative curvature.
2 The continuous model
2.1 Notations
Let be a Riemannian manifold. We first introduce a few notations. The norm associated to the Riemannian metric is denoted by , the Levi-Civita connection by and the curvature tensor by . If is a curve in and a vector field along , we denote by the derivative of with respect to and by , the first and second order covariant derivatives of along . Parallel transport of a tangent vector from to along is denoted by , or when there is no ambiguity on the choice of the curve , , or even to lighten notations in some cases. We associate to each curve its renormalized speed vector field , and to each vector field along , its tangential and normal components and . Finally, for all we denote by the exponential map on and by its inverse map.
2.2 The space of smooth parameterized curves
2.2.1 The Riemannian structure
We represent open oriented curves in by smooth immersions, i.e. smooth curves with velocity that doesn’t vanish. The set of smooth immersions in is an open submanifold of the Fréchet manifold michor16 and its tangent space at a point is the set of infinitesimal deformations of , which can be seen as vector fields along the curve in
[TABLE]
Reparametrizations are represented by increasing diffeomorphisms (so that they preserve the end points of the curves), and their set is denoted by . We adopt the so-called square root velocity (SRV) representation, i.e. we represent each curve by the pair formed by its starting point and its speed vector field renormalized by the square root of its norm, via the bijection
[TABLE]
The inverse of this function is simply given by , if is the canonical projection . The renormalization of the speed vector field in allows us to define a reparameterization invariant metric, as we will see shortly. For any tangent vector , consider a path of curves such that and . We denote by the square root velocity representation of . With these notations, we equip with a Riemannian metric , defined by
[TABLE]
This definition does not depend on the choice of and we can reformulate this scalar product in terms of (covariant) derivatives of . Indeed, note that , which gives after inverting the derivatives according to and ,
[TABLE]
The scalar product can then be rewritten
[TABLE]
where and respectively denote integration and covariant derivation according to arc length. This metric belongs to the class of so-called elastic metrics parameterized by any , which can be defined for manifold-valued curves as
[TABLE]
With formulation (2) it is clear that is invariant under the action of reparameterizing the curve and its tangent vectors by any increasing diffeomorphism ,
[TABLE]
This reparameterization invariance property will allow us to induce a Riemmannian structure on the quotient space as we will see in Section 2.3.
2.2.2 Geodesics between parameterized curves
Two curves can be compared using the geodesic distance induced by , i.e. by computing the length of the shortest path of curves from to
[TABLE]
where the length of a path can be written in terms of its SRV representation
[TABLE]
as
[TABLE]
Note that here - and in all that follows - we indifferently use the notations , for all . Now we recall a result shown in moi17 , which characterizes the geodesic paths of , i.e. those which achieve the infimum in (4), by searching for the critical points of the energy functional ,
[TABLE]
Proposition 1 (Geodesic equations)
A geodesic path for , or more specifically its SRV representative (5), verifies the equations
[TABLE]
for all , where the curvature term integrates the vector field parallel transported back to along ,
[TABLE]
Remark 1
In the flat case , the curvature term vanishes and we obtain , for all and . This means that the geodesic between two curves and in the SRV coordinates is composed of a straight line and an -geodesic . In other words, the geodesic links the starting points with a straight line and linearly interpolates between the renormalized speeds. Notice that if this linear interpolation goes through zero, the geodesic does not exist in . This can be avoided by considering a larger space of curves, such as the set of absolutely continuous curves lahiri15 .
A possibility to construct the geodesics of is to use geodesic shooting. By solving the geodesic equations (7) we can construct the geodesic path starting from a given curve at a given speed - this is the exponential map on . Given two curves , geodesic shooting allows us to iteratively find the appropriate initial speed which will make the geodesic land on . The idea is to "shoot" from in a certain direction using the exponential map, estimate the gap between the end point of the obtained geodesic and the target point , "bring back" this information at using a Jacobi field and finally use this information to correct the shooting direction.
Jacobi fields are vector fields that describe the way that geodesics spread out in the Riemannian manifold: for any geodesic in and Jacobi field along , there exists a family of geodesics such that for all , and
[TABLE]
At a given step of the geodesic shooting algorithm, we consider the Jacobi field that measures the difference between the geodesic obtained by shooting and the desired geodesic between and : it has initial value since both have same starting point , and its end value can be estimated by , where denotes the inverse of the exponential map for the -metric on , simply given by for . The shooting direction can then be corrected by the derivative of the Jacobi field at the origin, as shown in Figure 2. For more details, we refer the reader to moi17 .
Algorithm 1** (Geodesic shooting)**
Input: .
Initialization: .
Repeat until convergence :
compute the geodesic starting from at speed by solving the geodesic equations (7), 2. 2.
evaluate the difference between the target curve and the extremity of the obtained geodesic, 3. 3.
compute the initial derivative of the Jacobi field along the path of curves verifying and , 4. 4.
correct the shooting direction .
Output: geodesic .
This algorithm requires the characterization of the Jacobi fields for on , and a way to deduce the initial derivative of a Jacobi field from its initial and final values , . Concerning these two points, we refer the reader to moi17 : the Jacobi fields of are shown to be solutions of a linear PDE, which can be solved to obtain the final value of a Jacobi field along a path of curves knowing its initial conditions and . If we consider only Jacobi fields with initial value , then the function , is a linear bijection between two vector spaces and its inverse map can be computed by considering the image of a basis of . The equations characterizing the Jacobi fields in the discrete setting will be given in Section 3.
2.3 The space of unparameterized curves
2.3.1 The quotient structure
In order to compare curves regardless of parameterization, we consider the quotient of the space of curves by the diffeomorphisms group. This quotient is not a manifold, as it has singularities, i.e. points with non trivial isotropy group michor16 . That is why from now on we assume that denotes the set of free immersions, i.e. immersions on which the diffeomorphism group acts freely. That way, the space of curves and the quotient shape space are respectively the total and base spaces of a principal bundle, the fibers of which are the sets of all the curves that are identical modulo reparameterization, i.e. that project on the same "shape". We denote by the projection of the fiber bundle and by the shape of a curve . The tangent bundle can then be decomposed
[TABLE]
into a vertical subspace consisting of all vectors tangent to the fibers of over , that is, those which have an action of reparameterizing the curve without changing its shape
[TABLE]
and a horizontal subspace defined as the orthogonal of the vertical subspace according to
[TABLE]
If is constant along the fibers, i.e. verifies property (3), then there exists a Riemannian metric on the shape space such that is a Riemannian submersion from to ,
[TABLE]
where and are the horizontal parts of tangent vectors and , as well as the horizontal lifts of and , respectively. This expression defines in the sense that it does not depend on the choice of the representatives , and (michor08 , §29.21). If a geodesic for has a horizontal initial speed, then its speed vector stays horizontal at all times - we say it is a horizontal geodesic - and projects on a geodesic of the shape space for (michor08 , §26.12). To compute the distance between two shapes and in the quotient space we choose a representative of and compute the distance (in ) to the closest representative of , as shown schematically in Figure 3,
[TABLE]
By definition, the distance in the quotient space allows us to compare curves regardless of parameterization
[TABLE]
We now characterize the horizontal subspace for any elastic metric and in particular for our metric , and give the decomposition of a tangent vector.
Proposition 2 (Horizontal part of a vector)
Let be a smooth immersion. Then is horizontal for the elastic metric if and only if
[TABLE]
In particular, for we obtain
[TABLE]
Any tangent vector can be decomposed in horizontal and vertical components given by , where the real function verifies the ordinary differential equation
[TABLE]
Proof
Let be a tangent vector. It is horizontal if and only if it is orthogonal to any vertical vector, that is any vector of the form with such that . We have and since we get and . The scalar product can then be written
[TABLE]
by integration by parts. The vector is horizontal if and only if for all such , and so multiplying by gives the desired equation. Now consider a tangent vector and a real function such that . Then according to the above, is horizontal if and only if it verifies
[TABLE]
i.e., since , and , if
[TABLE]
which is what we wanted.
2.3.2 Computing geodesics in the shape space
Recall that the geodesic path between the shapes of two curves and is the projection of the horizontal geodesic - if it exists - linking to the fiber of in , i.e. such that , and for all ,
[TABLE]
The end point of then gives the optimal reparameterization of the target curve with respect to the initial curve , i.e. such that
[TABLE]
The parameterized curves define what we call an optimal matching between the shapes and , in the sense that each point on is matched with the point on . Here we propose a method to approach the horizontal geodesic , and thereby the corresponding optimal matching. To that end we decompose any path of curves in into a horizontal path composed with a path of reparameterizations, , or equivalently
[TABLE]
where the path is such that for all , and is a path of increasing diffeomorphisms. The horizontal and vertical parts of the speed vector of can be expressed in terms of this decomposition. Indeed, by taking the derivative of (9) with respect to and we obtain
[TABLE]
and so with , since , (10b) gives
[TABLE]
We can see that the first term on the right-hand side of Equation (10a) is horizontal. Indeed, for any path of real functions , such that for all , since is reparameterization invariant we have
[TABLE]
with . Since for all , the vector is vertical and its scalar product with the horizontal vector vanishes. On the other hand, the second term on the right hand-side of Equation (10a) is vertical, since it can be written
[TABLE]
with verifying for all . Finally, the vertical and horizontal parts of the speed vector are given by
[TABLE]
Definition 1
We call the horizontal part of the path with respect to .
Proposition 3
The horizontal part of a path of curves is at most the same length as
[TABLE]
Proof
Since the metric is reparameterization invariant, the squared norm of the speed vector of the path at time is given by
[TABLE]
where . This gives for all and so .
Now we will see how the horizontal part of a path of curves can be computed.
Proposition 4 (Horizontal part of a path)
Let be a path in . Then its horizontal part is given by , where the path of diffeomorphisms is solution of the partial differential equation
[TABLE]
and where , is solution for all of the ordinary differential equation
[TABLE]
Proof
We have seen in Equation (11a) that the vertical part of can be written as where , and as the norm of the vertical part of , is solution of the ODE (8) for all .
If we take the horizontal part of the geodesic linking two curves and , we will obtain a horizontal path linking to the fiber of which will no longer be a geodesic path. However this path reduces the distance between and the fiber of , and gives a "better" representative of the target curve. By computing the geodesic between and this new representative, we are guaranteed to reduce once more the distance to the fiber. The algorithm that we propose simply iterates these two steps, as illustrated in Figure 4.
Algorithm 2** (Optimal matching)**
Input: .
Initialization: , .
Repeat until convergence:
construct the geodesic between and , 2. 2.
compute the horizontal part of , 3. 3.
set , 4. 4.
set .
Output: horizontal geodesic .
Let us specify why the obtained geodesic is horizontal at the limit. The series of lengths and are non negative decreasing and verify at each step
[TABLE]
which means that they converge to the same limit. The same is true for the energies and , and since the -derivative of is equal to the horizontal part of the -derivative of , we get
[TABLE]
and so converges to zero for almost all . Since it is enough that a geodesic be horizontal at one given time for it to be horizontal for all time (michor08 , §26.12), we have the following result.
Proposition 5 (Horizontality of the solution)
At the limit, the geodesic between the fibers computed in Algorithm 2 is horizontal
[TABLE]
Remark 2
In this work, we will carry out step 1 using geodesic shooting. However it is important to stress that Algorithm 2 is a general method that can be applied to any metric structure (not only elastic metrics) for which one knows how to compute geodesics and characterize the horizontal subspace of the shape bundle. It can be seen as an alternative method to the popular dynamic programming approach srivastava16 , with which we establish comparisons in Section 4. But before that, let us first introduce a formal discretization of the continuous model presented so far.
3 The discrete model
Applications usually give access to a finite number of observations of a continuous process and provide series of points instead of continuous curves. It is therefore important to discretize the framework presented above and to consider the finite-dimensional space of "discrete curves". From now on we restrict to base manifolds of constant sectional curvature . This allows us to get an explicit formula for the Jacobi fields of (Lemma 1) and thus derive a precise approximation of the smooth Riemannian structure of Section 2. Generalization to any Riemannian manifold for which the Jacobi fields are computable should not be problematic. For more complex manifolds, a faster and more approximate solution would be to directly discretize the smooth equations, at the cost of the precision of the discrete approximation.
3.1 The Riemannian structure
We consider the product manifold of "discrete curves" given by points, for a fixed . Its tangent space at a given point is
[TABLE]
Assuming that there exists a connecting geodesic between and for all – which seems reasonable considering that the points should be "close" since they correspond to the discretization of a continuous curve – and that two consecutive points are always distinct (), we use the following notations
[TABLE]
as well as and to refer to the tangential and normal components of a tangent vector . Given a tangent vector , we consider a path of piecewise geodesic curves such that for , is a geodesic of on the interval for all and – and in particular – and such that , as illustrated in Figure 5. Then we define the squared norm of by
[TABLE]
This definition is a discrete analog of (1), and just as in the continuous case, it does not depend on the choice of . Indeed, we can also obtain a discrete analog of (2).
Proposition 6
The metric can also be written
[TABLE]
where the map , w\mapsto D_{\tau}w=\big{(}(D_{\tau}w)_{0},\ldots,(D_{\tau}w)_{n}\big{)} is defined by
[TABLE]
if denotes the parallel transport of from to along the geodesic, and the coefficients and take the following values depending on the sectional curvature of the base manifold
[TABLE]
Remark 3
Notice that in the flat case our definition gives . In the non-flat case, when the discretization gets "thinner", i.e. and while stays bounded for all , we get .
Before we prove this proposition, let us recall a well-known result about Jacobi fields that will prove useful to derive the equations in the discrete case.
Lemma 1
Let be a geodesic of a manifold of constant sectional curvature , and a Jacobi field along . Then the parallel transport of along from to is given by
[TABLE]
for all , where
[TABLE]
Proof (Proof of Lemma 1)
For the sake of completeness, the proof is reminded in the appendix.
Proof (Proof of Proposition 6)
Let be a "discrete curve" and a tangent vector at . Consider a path of piecewise geodesic curves that verifies all the conditions given above to define , and set . Then by definition, the vector field , is a Jacobi field along the geodesic linking to , verifying , and . Applying Lemma 1 gives
[TABLE]
This gives and and so
[TABLE]
Finally, we observe that the covariant derivative involved in the definition of can be written
[TABLE]
i.e.
[TABLE]
Injecting this into (14) gives the desired formula.
Now we present the main result of this section, that is, the convergence of the discrete model toward the continuous model.
Definition 2
Let be a discrete curve, and a smooth curve. We say that is the discretization of size of when for all . If is a path of discrete curves and a path of smooth curves, then is the discretization of size of when is the discretization of for all , i.e. when for all and . We will still use this term if is not smooth, and speak of the only path of piecewise-geodesic curves of which is the discretization.
Let be a path of discrete curves. Defining and as in (13) for all , the path can be represented by its SRV representation ,
[TABLE]
To compute the squared norm of its speed vector , consider the path of piecewise geodesic curves such that and for all and . Then, notice that we have
[TABLE]
and so the squared norm of the speed vector of can be expressed in terms of the SRV representation
[TABLE]
In the following result, we show that if is the discretization of a path of continuous curves, then its energy with respect to ,
[TABLE]
gets closer to the energy (6) of with respect to as the size of the discretization grows.
Theorem 3.1 (Convergence of the discrete model to the continuous model)
Let be a -path of -curves with non vanishing derivative with respect to . This path can be identified with an element of such that . Consider the -path in , , that is the discretization of size of . Then there exists a constant such that for large enough, the difference between the energies of and is bounded by
[TABLE]
where and are the energies with respect to metrics and respectively and where
[TABLE]
if denotes the supremum over both and of a vector field along .
Remark 4
Note that since we assume that is a -path of -curves, the following norms are bounded for ,
[TABLE]
Proof (Proof of Theorem 3.1)
The proof is put off to Section 5.
Now that we have established a formal Riemannian setting to study discrete curves defined by a series of points, and that we have studied its link to the continuous model, we need to derive the equations of the corresponding geodesics and Jacobi fields to apply the methods described in Section 2. For the sake of readability, we first introduce some notations.
3.2 Computing geodesics in the discrete setting
3.2.1 Notations
The purpose of the notations that we introduce here is to lighten the equations derived in the rest of the paper. For any discrete curve we define for all , using the coefficients and defined by (15) and (13), the functions ,
[TABLE]
and for , the functions by
[TABLE]
where denotes the geodesic between and , which we previously assumed existed. Notice that when the discretization gets "thinner", that is , while stays bounded for all , we get in the non flat setting, for any fixed , and - in the flat setting, these are always equalities. Now if we consider a path of discrete curves, we can define for each the functions
[TABLE]
for and respectively, corresponding to the discrete curve . It is of interest for the rest of this paper to compute the covariant derivatives of these maps with respect to .
Lemma 2
The first and second order covariant derivatives of and with respect to are functions defined by
[TABLE]
Proof
For any vector field along we have by definition
[TABLE]
Noticing that and , the formulas given in Lemma 2 result from simple calculation.
Using these functions, we can deduce the covariant derivatives of and . Denoting by the geodesic of linking to for all and , we have the following result.
Lemma 3
The covariant derivatives of the functions and with respect to are functions given by
[TABLE]
where
[TABLE]
if is the sectional curvature of the base manifold.
Proof
The proof is given in Appendix A.
3.2.2 Geodesic equations and exponential map
With these notations, we can characterize the geodesics for metric . The geodesic equations can be derived in a similar way as in the continuous case, that is by searching for the critical points of the energy (18). We obtain the following characterization in terms of the SRV representation (16).
Proposition 7 (Discrete geodesic equations)
A path in is a geodesic for metric if and only if its SRV representation s\mapsto\big{(}x_{0}(s),(q_{k}(s))_{k}\big{)} verifies the following differential equations
[TABLE]
for all , with the notations (13) and .
Proof
The proof is given in Appendix B.
Remark 5 (Link with the continuous setting)
Let be a path of smooth curves and the discretization of size of . We denote as usual by and their respective SRV representations. When and while stays bounded for all , the coefficients of the discrete geodesic equation (20) for converge to the coefficients of the continuous geodesic equation (7) for , i.e.
[TABLE]
for all and , where and for ,
[TABLE]
with the exception that the sum starts at for . More details on this can be found in Appendix B.
Remark 6 (Euclidean case and existence of geodesics)
Just as in the continuous case, when , the curvature terms ’s vanish and we obtain
[TABLE]
i.e. the geodesics are composed of straight lines in the SRV coordinates. We can again avoid the problem of the ’s going through zero by allowing two consecutive components and to be equal, and setting when that happens. In that case, we get a complete finite-dimensional manifold, which is by the Hopf-Rinow theorem geodesically complete, i.e. any two curves can be linked by a minimizing geodesic. Indeed, since the SRV coordinates of geodesics are straight lines, a sequence in converges if and only if its SRV coordinates converge in (the sequence subscript is omited), and so the completeness of follows from that of . The question of whether this property still holds in the non flat case is postponed to future work.
Using equations (20) we can now build the exponential map, that is, an algorithm allowing us to approximate the geodesic of starting from a point at speed with for all . In other words, we are looking for a path such that and for all , and that verifies the geodesic equations (20). Assume that we know at time the values of and for all . Then we propagate using
[TABLE]
In the following proposition, we see how we can compute the acceleration for each .
Proposition 8 (Discrete exponential map)
Let be a geodesic path in . For all , the coordinates of its acceleration can be iteratively computed in the following way
[TABLE]
for , where the ’s are defined as in Proposition 7, the symbol denotes the parallel transport from back to along the geodesic linking them, the maps and are given by Lemma 2, is given by Equation (Appendix A) and
[TABLE]
Proof
The proof is given in Appendix B.
The equations of Proposition 8 allow us to iteratively construct a geodesic in for metric from the knowledge of its initial conditions and . The next step is to construct geodesics under boundary constraints, i.e. to find the shortest path between two elements and of .
3.2.3 Jacobi fields and geodesic shooting
As explained in Section 2.2.2 for the continuous model, we solve the boundary value problem using geodesic shooting. To do so, recall that we need to characterize the Jacobi fields for the metric , since these play a role in the correction of the shooting direction at each iteration of the algorithm. Recall also that for any geodesic in and Jacobi field along , there exists a family of geodesics such that for all and
[TABLE]
Proposition 9 (Discrete Jacobi fields)
Let be a geodesic path in , a Jacobi field along , and a corresponding family of geodesics, in the sense just described. Then verifies the second order linear ODE
[TABLE]
for all , where and the various covariant derivatives according to can be expressed as functions of and ,
[TABLE]
with the notation conventions , and with the maps
[TABLE]
and
[TABLE]
Proof
The proof is given in Appendix B.
The equations of Proposition 9 allow us to iteratively compute the Jacobi field along a geodesic - and in particular, its end value - from the knowledge of the initial conditions and . Indeed, if at time we have and for all , then we can propagate using
[TABLE]
where is deduced from using Proposition 9. We can now apply Algorithm 1, where we replace the smooth geodesic equations (7) by the discrete geodesic equations (20) and we solve them using the exponential map described in Proposition 8. Notice that in , the component of the -logarithm map between two elements and is given by .
Algorithm 3** (Discrete geodesic shooting)**
Input: .
Initialization: .
Repeat until convergence :
compute the geodesic starting from at speed using Proposition 8, 2. 2.
evaluate the difference between the target curve and the extremity of the obtained geodesic, 3. 3.
compute the initial derivative of the Jacobi field along verifying and using Proposition 9, 4. 4.
correct the shooting direction .
Output : geodesic .
Recall that the map , associating to the initial derivative of a Jacobi field with initial value its end value , is a linear bijection between two vector spaces which can be obtained using Proposition 9. Its inverse map can be computed by considering the image of a basis of .
3.3 A discrete analog of unparameterized curves
The final step in building our discrete model is to introduce a discretization of the quotient shape space. There seems to be no natural, intrinsic definition of the shape of a discrete curve, as by definition we are lacking information : we only have access to a finite number of points. Therefore we will make the assumption that we know the equations of the underlying curves, that is, that for each discrete curve , we have access to the shape of the smooth curve of which is the discretization. In practice, we can set to be the shape of an optimal interpolation. The goal, for two elements of shapes , is to redistribute the points on to minimize the discrete distance to the points on , and obtain
[TABLE]
where is the geodesic distance associated to the discrete metric . We approximate using Algorithm 2, i.e. by iteratively computing the "horizontal part" of the geodesic linking to an iteratively improved discretization of . Since there is no "discrete shape bundle", we simply define the vertical and horizontal spaces in as the discrete analogs of the ones of the smooth case
[TABLE]
where is still defined by (13). Similarly to the continuous case, we can show the following result.
Proposition 10 (Discrete horizontal space)
Let and . Then if and only if it verifies
[TABLE]
with the notation . Any tangent vector can be uniquely decomposed into a sum where , and the components verify and the following recurrence relation
[TABLE]
with coefficients
[TABLE]
[TABLE]
Proof
Let be a tangent vector. It is horizontal if and only if it is orthogonal to any vertical vector, that is any vector of the form with such that . Recall that by definition
[TABLE]
and so with the notation , we get
[TABLE]
The scalar product between and is then
[TABLE]
Changing the indices in the first sum and taking into account that , we obtain
[TABLE]
Since this is true for all such the summand is equal to zero for all and we get the desired equation. The decomposition of a tangent vector into a vertical part and a horizontal part with such that , is then simply characterized by the fact that verifies this equation.
In the discrete case, soving the ODE (8) to find the horizontal part of a vector simply boils down to solving the recurrence relation (22), allowing us to compute the coefficients of the PDE (12). Now we present an algorithm to solve a discrete version of this PDE and compute the discrete analog of the horizontal part of a (discrete) path of discrete curves.
Algorithm 4** (Horizontal part of a path)**
Input : , .
Initialization : for ,
[TABLE]
For ,
set , and solve
[TABLE] 2. 2.
for ,
[TABLE] 3. 3.
interpolate between the to obtain values and interpolate between the to obtain values , 4. 4.
for ,
[TABLE]
Output: .
Step 1 computes the coefficients of the PDE. The are computed using the definitions of Proposition 10 for , i.e. . Step 2 solves the PDE. The increment is a discretization of the -derivative, and so it is crucial to make it depend on the sign of in order to follow the characteristic curves. Steps 3 and 4 simply inverse the reparameterization obtained after step 2 in order to deduce the horizontal part of . It is important to note that for , interpolation between the points should be achieved so as to remain on the initial shape , obtained e.g. by spline interpolation of the points of . Finally, we can perform optimal matching in the discrete case.
Algorithm 5** (Discrete optimal matching)**
Input: .
Initialization : .
Repeat until convergence :
compute geodesic between and using Algorithm 3, 2. 2.
compute the horizontal part of using Algorithm 4, 3. 3.
set .
Output : .
4 Simulations
We test the optimal matching (OM) algorithm in several settings : for curves in the hyperbolic half-plane , for curves in and , and for curves on the sphere . Regarding the geometry of and the useful algorithms such as the exponential map and the logarithm map, we refer the reader to moi17 . Concerning the geometry of , we have used the same formulas as those given in appendix in zhang16 .
We start by comparing Algorithm 5 to the popular dynamic programming (DP) method, presented e.g. in srivastava16 . This alternative approach to optimal matching between two curves and considers a discrete grid of and tries to find the optimal non-decreasing path in that grid that puts into correspondence and . To do so, at each point of the grid, it tests all the possible matchings between the pieces of curves and , and keeps only the one that gives the shortest geodesic. This boils down to testing all the non-decreasing paths that lead to this point. Since this is computationally costly, the algorithm only tests the paths going through the points located at the bottom-left in a square of a certain size, as shown in Figure 6. Even though the computations are additive, this method requires to compute a large number of geodesics. Results of comparison of Algorithm 5 to this method are shown in Figure 8 for a pair of curves in and three pairs of curves in . The DP method is carried out for a square of side . The first row displays the geodesics between the initial parameterized curves (which are all arc-length parameterized except for the second example) and the second and third rows the horizontal geodesics obtained with the optimal matching and dynamic programing algorithms respectively. We can see that the two methods give very similar results : in the first example, at each extremity, a portion of the circle is matched to almost a single point of the segment, in order to maximize the portions in correspondence where the speeds are positively colinear. In the second example, we consider two curves in that are identical modulo translation and parameterization. This difference in the parameterization induces an artificial deformation of the geodesic (first row), which is "straightened out" in the horizontal geodesics given by both methods. The last two examples illustrate the fact that arc-length parameterization does not always yield a relevant matching : in the third example, it seems more natural to put into correspondence the portions of the curves that are "before the turn", and to match together the ones that are "after the turn", as given by both the OM algorithm and DP. The fourth row shows the corresponding optimal matchings, i.e. the optimal reparameterizations such that is matched to , in red (OM) and black (DP), and we can check in the fifth row the horizontality of the solutions by looking at the ratio, in norm, of the vertical part of the speed vector of the geodesic divided by its horizontal part. We can see that this ratio is largely reduced from the initial geodesic (dashed black line) to the horizontal ones (full red and black lines). Finally, the lengths of the geodesics of the first three lines of Figure 8 are given in Table 1 in the corresponding order, showing that the horizontal geodesics are indeed shorter. The lengths on the first row give the distance between the initial parameterized curves, while the lengths on the second and third row yield a distance between the shapes.
To summarize, it seems that both methods give very similar results when tested on the same metric : they both tend to put into correspondence the parts of the curves that have same shape and orientation. However the dynamic programing approach requires the computation of a large number of geodesics between pieces of curves, whereas in the examples shown here (Figures 9 to 11), the number of iterations required range from 4 to 12, resulting in the same amount of geodesic computations. It should also be noted that it is usually the first iteration that gives the biggest "jump" on the fiber, i.e. that results in the most important reparameterization of the target curve. It could therefore also be used to get a good initialization for some approximate faster method.
We then consider examples where the base manifold has negative curvature. Figure 9 shows horizontal geodesics obtained using the OM algorithm as well as the corresponding optimal matchings in , for plane curves (first row) and the same curves taking their values in the hyperbolic half-plane (second row). We can see that the geometry of the base manifold significantly influences the optimal matching between two given curves. To evaluate the performance of the geodesic shooting algorithm used to perform OM, we display in Figure 7 the evolution of the norm of the speed of the geodesic obtained for the two curves on the bottom-right corner of Figure 9 (the vertical and horizontal segments of ) as the number of points used to compute the geodesic increases (from 20 to 500). The evolutions of the maximum and minimum values , are shown in dashed lines, and that of the mean value with a full line. We can see that the more refined the discretization, the closer we get to a geodesic. It is to be noted that these two segments are the same as those considered in su17 to illustrate an extension of the SRV framework to curves in Lie groups. Since this metric structure coincides with the one studied here in the planar case, it is not surprising to find similar results for the plane curves. However, the results in are quite different.
Finally, we show illustrations on the sphere. Figure 10 shows geodesics before (top row) and after (bottom row) optimal matching, for two pairs of curves representing hurricane tracks from the NASA Tropical Storm Tracks Database111https://ghrc.nsstc.nasa.gov/storms/.. Once again we can see that the optimal matching algorithm seems to "flatten out" the deformation between two curves. In the last figure, we show a set of plane trajectories between Paris and Caracas downloaded from the IAGOS-MOZAIC database 222http://iagos.sedoo.fr/.. It is visually clear that there are two clusters, probably due to different weather conditions. These clusters are easily retrieved using agglomerative hierarchical clustering based on the horizontal geodesic distance. We can find the centers of these clusters by computing the Fréchet means, i.e. for each cluster, the curve that minimizes the sum of the squared distances to all the curves of the cluster. This can be achieved using a Karcher flow algorithm, summarized as follows.
Algorithm 6** (Karcher flow)**
Input: .
Initialization : .
Repeat until convergence :
for ,
- •
compute the horizontal geodesic from to using Algorithm 5,
- •
set ,
- •
update . 2. 2.
set , 3. 3.
update .
Output : .
The obtained mean curves are shown on the right-hand side of Figure 11.
5 Proof of Theorem 3.1
We conclude this paper with the proof of Theorem 3.1. Let us first remind the result.
Theorem 1
Let be a -path of -curves with non vanishing derivative with respect to . This path can be identified with an element of such that . Consider the -path in , , that is the discretization of size of . Then there exists a constant such that for large enough, the difference between the energies of and is bounded by
[TABLE]
where and are the energies with respect to metrics and respectively and where
[TABLE]
and denotes the supremum over both and of a vector field along .
Proof (Proof of Theorem 1)
To prove this result, we introduce the unique path of piecewise geodesic curves of which is the -discretization. It is obtained by linking the points of by pieces of geodesics for all times
[TABLE]
for . Then the difference between the energy of the path of curves and the discrete energy of the path of discrete curves can be controlled in two steps :
[TABLE]
Step 1. We first consider the difference between the continuous energies of the smooth and piecewise geodesic curves
[TABLE]
Note that the parallel transports and are performed along different curves – and respectively. Let us fix , and . From now on we will omit "" in the notation to lighten notations. Using the notation to denote the parallel transport of a vector field from to along its baseline curve, the difference we need to control is
[TABLE]
Since for any vector , we can write
[TABLE]
Let us first consider the difference . Since , we can write
[TABLE]
The first term is smaller than . To bound the second term, we place ourselves in a local chart centered in , such that . After identification with an open set of – where is the dimension of the manifold – using this chart, we get
[TABLE]
Since a geodesic locally looks like a straight line (see e.g. emery84 ) there exists a constant such that
[TABLE]
and so
[TABLE]
The second derivative in of the coordinates of in the chart can be written for , and so there exists a constant such that , and
[TABLE]
This means that for large enough, we can write e.g.
[TABLE]
From (24) we can also deduce that
[TABLE]
Let us now consider the difference . Since , we get
[TABLE]
and so
[TABLE]
We can decompose , and since and by Cauchy Schwarz, we get using Equation (25)
[TABLE]
To bound we apply Lemma 1 to the Jacobi field along the geodesic , that is
[TABLE]
where, since , the coefficients are defined by
[TABLE]
This gives and so
[TABLE]
Injecting this into (29), we obtain since and ,
[TABLE]
When , , , and since , , also. Therefore, for large enough we can see that for some constant . Injecting this into (28) gives
[TABLE]
and so the difference (27) can be bounded by
[TABLE]
for some constant . Injecting (25), (26) and (31) in Equation (23) we obtain
[TABLE]
for some constant . To conclude this first step, let us bound the sum
[TABLE]
Taking the derivative according to on both sides of (30), we get since ,
[TABLE]
since derivation of the coefficients give and , where
[TABLE]
Since the coefficients , and are bounded for large enough, and since , we can write for some constant ,
[TABLE]
Inserting this into (33) gives
[TABLE]
Finally, we are able to bound the difference between the energies of the smooth and piecewise-geodesic paths by combining Equations (5) and (35)
[TABLE]
Step 2. Let us now consider the difference of energy between the path of piecewise geodesic curves and the path of discrete curves. Since for all and , we can write
[TABLE]
We fix once again , and . As in step 1, we will omit "" in most notations. Since , we get
[TABLE]
Considering once again the Jacobi field
[TABLE]
along the geodesic , Equation (29) gives
[TABLE]
Recall that and , and so taking the derivative with respect to and decomposing , we obtain
[TABLE]
Noticing that and when , we can deduce that for large enough,
[TABLE]
This gives
[TABLE]
Recall from (34) and (35) that
[TABLE]
and so
[TABLE]
Finally, we obtain
[TABLE]
which completes the proof.
Acknowledgments
This research was supported by Thales Air Systems and the french MoD DGA. MOZAIC/CARIBIC/IAGOS data were created with support from the European Commission, national agencies in Germany (BMBF), France (MESR), and the UK (NERC), and the IAGOS member institutions (http://www.iagos.org/partners). The participating airlines (Lufthansa, Air France, Austrian, China Airlines, Iberia, Cathay Pacific, Air Namibia, Sabena) supported IAGOS by carrying the measurement equipment free of charge since 1994. The data are available at http://www.iagos.fr thanks to additional support from AERIS.
Appendix A
Lemma 1 * Let be a geodesic of a manifold of constant sectional curvature , and a Jacobi field along . Then the parallel transport of along from to is given by*
[TABLE]
for all , where
[TABLE]
Proof
As a Jacobi field along , satisfies the well-known equation (see e.g. jost )
[TABLE]
If is flat, we get and so . If not, we can decompose in the sum of two vector fields that parallel translate along , with , and . Since and is parallel along , we get by integrating twice that
[TABLE]
Since
[TABLE]
the normal component is also a Jacobi field, that is it verifies
[TABLE]
And since has constant sectional curvature , for any vector field along we have
[TABLE]
and the differential equation verified by can be rewritten . Since the speed of the geodesic has constant norm, the solution to that differential equation is of the form
[TABLE]
when and
[TABLE]
when . Using the initial conditions and to find the constants , we get for
[TABLE]
and for , the same formula with cosine and sine functions instead of hyperbolic cosine and sine.
Lemma 3* The covariant derivatives of the functions and with respect to are functions given by*
[TABLE]
where
[TABLE]
*if is the sectional curvature of the base manifold. *
Proof
Fix and let be a vector field along the curve . By definition,
[TABLE]
Consider the path of gedesics such that for all , , and is a geodesic. We denote by the vector field along the curve obtained by parallel transporting back the vector along the geodesic for all , i.e. . We have
[TABLE]
and so we need to compute . Let so that and , then
[TABLE]
since , and where . We get, since ,
[TABLE]
To find an expression for , we consider the Jacobi field along the geodesic . The vector field verifies
[TABLE]
where the last equality results from the inversion and . Applying Lemma 1 gives, for all ,
[TABLE]
with the coefficients
[TABLE]
[TABLE]
Integrating this and injecting it in (37) gives
[TABLE]
where is defined by
[TABLE]
and injecting this in (36) finally gives,
[TABLE]
which is what we wanted. The covariant derivative \nabla_{s}\big{(}g_{k}^{(-)}(w_{k+1})\big{)} can be computed in a similar way.
Appendix B
Proposition 6 (Discrete geodesic equations)* A path in is a geodesic for metric if and only if its SRV representation s\mapsto\big{(}x_{0}(s),(q_{k}(s))_{k}\big{)} verifies the following differential equations*
[TABLE]
*for all , with the notations (13) and . *
Proof
We consider a variation of this curve which coincides with for , i.e. for all , and which preserves the end points of , i.e. and for all . The energy of this variation with respect to metric can be seen as a real function of the variable and is given by
[TABLE]
and its derivative with respect to is
[TABLE]
where we integrate by parts to obtain the third line from the second. The goal is to express in terms of and , . That way, the only elements that depend on once we take are which can be chosen independently to be whatever we want. Let us fix and and consider the path of geodesics such that , and . Then by definition, for each , is a Jacobi field along the geodesic of , and so Lemma 1 gives
[TABLE]
where denotes the parallel transport of from to along the geodesic. Differentiation of gives
[TABLE]
and taking the tangential part on both sides yields , and so finally
[TABLE]
Injecting this in (39) and noticing that and for any pair of vectors gives
[TABLE]
for any tangent vector . From equation (41) we can deduce, for ,
[TABLE]
With the notation we get
[TABLE]
and we can then write the derivative of the energy for in the following way
[TABLE]
where in the first sum we use the notation convention . Noticing that the double sum can be rewritten
[TABLE]
we obtain for
[TABLE]
where in the last sum we use the convention . Since this quantity has to vanish for any choice of , the geodesic equations for the discrete metric are
[TABLE]
for all , with the conventions and .
Remark 4* Let be a path of smooth curves and the discretization of size of . We denote as usual by and their respective SRV representations. When and while stays bounded for all , the coefficients of the discrete geodesic equation (20) for converge to the coefficients of the continuous geodesic equation (7) for , i.e.*
[TABLE]
for all and , where and for ,
[TABLE]
*with the exception that the sum starts at for . *
Proof
This is due to three arguments : (1) at the limit, and , (2) parallel transport along a piecewise geodesic curve uniformly converges to the parallel transport along the limit curve, and (3) the discrete curvature term converges to the continuous curvature term for all . Indeed, let be the unique piecewise geodesic curve of which is the discretization, i.e. c\big{(}\frac{k}{n}\big{)}=\hat{c}\big{(}\frac{k}{n}\big{)}=x_{k} for all and is a geodesic on each segment \big{[}\tfrac{k}{n},\tfrac{k+1}{n}\big{]}. Defining
[TABLE]
the geodesic equations can be written in terms of the vectors
[TABLE]
We can show that for any and any vector ,
[TABLE]
Since when and stays bounded, we have for all and large enough , and using the fact that parallel transport along a piecewise geodesic curve uniformly converges to the parallel transport along the limit curve, we get
[TABLE]
when . Now, denoting by
[TABLE]
the curvature term involved in the continuous geodesic equations, we have since and by Cauchy Schwarz,
[TABLE]
Let us show that both summands of this upper bound tend to [math] when .
[TABLE]
and since the portion of on the segment is close to a geodesic at the limit, when , and so does . Similarly,
[TABLE]
where once again and is bounded. The last term can be bounded, for large enough, by
[TABLE]
since and . Finally, we can see that
[TABLE]
goes to [math] when . We can show in a similar way that when .
Proposition 7 (Discrete exponential map)* Let be a geodesic path in . For all , the coordinates of its acceleration can be iteratively computed in the following way*
[TABLE]
for , where the ’s are defined as in Proposition 7, the symbol denotes the parallel transport from back to along the geodesic linking them, the maps and are given by Lemma 2, is given by Equation (Appendix A) and
[TABLE]
Proof
For all , we initialize for using the first geodesic equation in (20); the difficulty lies in deducing from . Just as we have previously obtained (40), we can obtain by replacing the derivatives with respect to by derivatives with respect to
[TABLE]
and by differentiating with respect to
[TABLE]
We have already computed (38) the covariant derivative of a vector field and so we can write
[TABLE]
where is defined by Equation (Appendix A). Together with Equation (44), this gives the desired equation for . Finally, results directly from (43), is deduced from the second geodesic equation and the remaining equations follow from simple computation.
Proposition 8 (Discrete Jacobi fields)* Let be a geodesic path in , a Jacobi field along , and a corresponding family of geodesics, in the sense just described. Then verifies the second order linear ODE*
[TABLE]
for all , where and the various covariant derivatives according to can be expressed as functions of and ,
[TABLE]
[TABLE]
with the notation conventions , and with the maps
[TABLE]
[TABLE]
and
[TABLE]
Proof
For all , verifies the geodesic equations (20). Taking the covariant derivative of these equations according to we obtain
[TABLE]
Since for , , we get
[TABLE]
and the differentiation
[TABLE]
gives the desired equation for . Now we will try to deduce from (46). If denotes the parallel transport of the vector from back to along the geodesic that links them, we know from (40) that
[TABLE]
We also know from (38) that
[TABLE]
and by iterating
[TABLE]
Developping and injecting Equation (47) in the latter gives
[TABLE]
Developping the covariant derivatives \nabla_{s}^{2}\big{(}f_{k}(J_{k})\big{)} and \nabla_{s}^{2}\big{(}g_{k}(\nabla_{a}q_{k})\big{)} gives the desired formula. Now let us explicit the different terms involved in these differential equations. Since and , we have
[TABLE]
By taking the inverse of (47) we get
[TABLE]
and taking the derivative according to on both sides and injecting Equation (48) gives
[TABLE]
To obtain , notice that
[TABLE]
and injecting Equation (46) with
[TABLE]
gives us the desired formula. results from simple differentiation, and differentiating the maps and with respect to is completely analogous to the the computations of Lemma 3. Finally, the inverse of is given by ,
[TABLE]
and since
[TABLE]
it is straightforward to verify that
[TABLE]
gives
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1(1) M. Bauer, P. Harms and P. W. Michor, Sobolev metrics on shape space of surfaces, Journal of Geometric Mechanics , 3, 4 (2011), 389 – 438.
- 2(2) M. Bauer, M. Bruveris, S. Marsland, and P. W. Michor, Constructing reparametrization invariant metrics on spaces of plane curves, Differential Geometry and its Applications , 34 (2012), 139 –165.
- 3(3) M. Bruveris, Optimal reparametrizations in the square root velocity framework, SIAM J. Math. Anal. , 48(6) (2016), 4335 – 4354.
- 4(4) E. Celledoni, M. Eslitzbichler and A. Schmeding, Shape analysis on Lie groups with applications in computer animation, Journal of Geometric Mechanics , 8 (2016), 273 – 304.
- 5(5) E. Celledoni, S. Eidnes, A. Schmeding, Shape analysis on homogeneous spaces, (2017), ar Xiv:1704.01471 v 1.
- 6(6) M. Émery and W. Zheng, Fonctions convexes et semimartingales dans une variété, Séminaire de probabilités de Strasbourg , 18 (1984), 501 – 518.
- 7(7) J. Jost, Riemannian geometry and geometric analysis, Springer (2011).
- 8(8) S. Lahiri, D. Robinson and E. Klassen, Precise matching of PL curves in ℝ n superscript ℝ 𝑛 \mathbb{R}^{n} in the square root velocity framework (2015), ar Xiv:1501.00577.
