Tools for Riemannian shape analysis with second order Sobolev metrics.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


What is it?

This code provides tools for Riemannian shape analysis with second order Sobolev metrics on closed plane curves. It can be used to solve the initial and boundary value problems for geodesics and to compute Karcher means. It is able to factor out reparameterizations, translations, rotations and scalings of the curves. It works for both open and closed planar curves.

For details we refer to our papers

  author  = {Martin Bauer, Martins Bruveris, Philipp Harms, Jakob M{\o}ller-Andersen},
  title   = {A Numerical Framework for {S}obolev Metrics on the Space of Curves},
  journal = {SIAM J. Imaging Sci.},
  year    = {2017},
  volume  = {10},
  number  = {1},
  pages   = {47--73}

  author  = {Martin Bauer, Martins Bruveris, Nicolas Charon, Jakob M{\o}ller-Andersen},
  title   = {A relaxed approach for curve matching with elastic metrics},
  note    = {Preprint available at arXiv:1803.10893},
  year    = {2018},

Please cite our papers in your work.


  • MATLAB Curve Fitting Toolbox
  • MATLAB Optimization Toolbox

The code incorporates the following libraries

The code was tested on MATLAB R2016b.


See the file "example.m" for an example of how to use the code.


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see


  • Martin Bauer (bauer at math dot fsu dot edu)
  • Martins Bruveris (martins dot bruveris at brunel dot ac dot uk)
  • Nicolas Charon (charon at cis dot jhu dot edu)
  • Philipp Harms (philipp dot harms at stochastik dot uni-freiburg dot de)
  • Jakob Møller-Andersen (jakob dot ma at gmail dot com)