Elastic Shape Analysis with the Square Root Velocity Function

44 concepts34 papers1 proposal

Imagine trying to compare two handwritten signatures, two juggling trajectories, or two heart rate profiles. Even if the underlying geometric shapes are identical, one person might write faster during the first stroke, or a juggler might accelerate midway through a cycle.

If we represent these trajectories as standard time-indexed functions $\beta(t)$ and compute their standard Euclidean ($L_2$) distance, the result can be highly misleading. A simple phase shift or non-linear time-warping can cause the calculated distance between two identical shapes to explode. Conversely, as noted by Le Brigant et al. in Reparameterization Invariant Metric on the Space of Curves, standard distance metrics can mathematically vanish between two completely distinct curves if they are traversed at pathological speeds.

To compare shapes intrinsically, we need a framework that is invariant to reparameterization. We want to treat all temporal warpings of a curve as the same underlying shape, effectively grouping them into equivalence classes within a mathematical quotient space (Lafaye de Micheaux et al. in Depth for Curve Data and Applications; Le Brigant et al. in Optimal Matching Between Curves in a Manifold). Elastic Shape Analysis (ESA) solves this problem using a elegant mathematical transformation called the Square-Root Velocity Function (SRVF).

Why Standard Velocity Fails

Why can't we just use the standard velocity vector $\dot{\beta}(t)$ to compare curves?

Suppose we warp a curve $\beta(t)$ using a time-warping function $\gamma(t)$, which maps the time interval $[0,1]$ onto itself. The warped curve is $\beta^*(\t) = \beta(\gamma(t))$. By the chain rule, its velocity is:

$$\dot{\beta}^*(t) = \dot{\beta}(\gamma(t))\dot{\gamma}(t)$$

If we try to compute the $L_2$ distance between the velocities of the original and warped curves, the $\dot{\gamma}(t)$ term scales the velocity linearly. This changes the geometry of the space, meaning that reparameterization is not an isometry—it distorts distances non-linearly, making optimization and alignment incredibly difficult.

The Magic of the Square Root

The SRVF solves this by changing how the velocity is scaled. For a continuous curve $\beta(t)$, the SRVF $q(t)$ is defined as:

$$q(t) = \frac{\dot{\beta}(t)}{\sqrt{\|\dot{\beta}(t)\|}}$$

Let's see what happens to this representation when we apply the same time-warping function $\gamma(t)$. The SRVF of the warped curve $\beta^*(\t)$ becomes:

$$q^*(t) = \frac{\dot{\beta}(\gamma(t))\dot{\gamma}(t)}{\sqrt{\|\dot{\beta}(\gamma(t))\|\dot{\gamma}(t)}} = q(\gamma(t))\sqrt{\dot{\gamma}(t)}$$

Now, let's look at the squared $L_2$ norm of this transformed representation:

$$\|q^*\|^2 = \int_{0}^{1} \|q(\gamma(t))\|^2 \dot{\gamma}(t) dt$$

Notice the $\dot{\gamma}(t)$ term. In calculus, $\dot{\gamma}(t)dt$ is exactly the Jacobian needed for a change of variables! If we substitute $u = \gamma(t)$, the integral simplifies perfectly to:

$$\int_{0}^{1} \|q(u)\|^2 du = \|q\|^2$$

Because the square root of the velocity magnitude cancels out the scaling factor in the denominator, the $L_2$ norm is perfectly preserved under any arbitrary time-warping.

As Kurtek et al. demonstrate in Signal Estimation Under Random Time-Warpings and Nonlinear Signal Alignment, this mathematical property simplifies the complex, non-linear Fisher-Rao Riemannian metric into a standard, flat Euclidean $L_2$ distance. By mapping curves into this Hilbert space, complex elastic deformations—such as non-uniform stretching and bending—can be analyzed using standard linear functional tools (Kurtek et al. in Analysis of AneuRisk65 data: Elastic shape registration of curves; Strait et al. in Automatic Detection and Uncertainty Quantification of Landmarks on Elastic Curves).

Factoring Out Nuisance Transformations

True shape analysis requires ignoring not just how fast a curve is traced, but also where it is located, how big it is, and how it is oriented. The SRVF framework handles these seamlessly:

  Raw Curves β₁(t), β₂(t)  ──(SRVF Transform)──>  SRVF Space q₁(t), q₂(t)
           │                                              │
  (Varying speeds, phase shifts)                 (Reparameterization is an Isometry)
           │                                              │
           ▼                                              ▼
  Distorted L₂ Distance                         Minimize standard L₂ norm 
                                                over warping function γ(t)

Applications Across Diverse Domains

By linearizing the geometry of curve deformations, the SRVF framework has become a foundational tool across a vast array of fields:

Key Foundational Work

An affine invariant deformable shape representation for general curves (2003) — contributed 1 concept elements to this direction.
Visual Signature Verification Using Affine Arc-Length (1999) — contributed 1 concept elements to this direction.
Continuous Dynamic Time Warping for Translation-Invariant Curve Alignment with Applications to Signature Verification (1999) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_square_root_velocity_function_e4c43b90,
  title = {square-root velocity function},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/square-root-velocity-function/rdr_e4c43b90e5944aa283222899a16586ff},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-21},
}

This exact version (version 1, frozen text):

@misc{lacuna_square_root_velocity_function_e4c43b90_v1,
  title = {square-root velocity function},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/square-root-velocity-function/rdr_e4c43b90e5944aa283222899a16586ff/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-21},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake