Search arXivSearch

arXiv · 2501.17779

FFT-based Alignment of 2d Closed Curves with Application to Elastic Shape Analysis

Abstract

For many shape analysis problems in computer vision and scientific imaging (e.g., computational anatomy, morphological cytometry), the ability to align two closed curves in the plane is crucial. In this paper, we concentrate on rigidly aligning pairs of closed curves in the plane. If the curves have the same length and are centered at the origin, the critical steps to an optimal rigid alignment are finding the best rotation for one curve to match the other and redefining the starting point of the rotated curve so that the starting points of the two curves match. Unlike open curves, closed curves do not have fixed starting points, and this introduces an additional degree of freedom in the alignment. Hence the common naive method to find the best rotation and starting point for optimal rigid alignment has O(N^2) time complexity, N the number of nodes per curve. This can be slow for curves with large numbers of nodes. In this paper, we propose a new O(N log N) algorithm for this problem based on the Fast Fourier Transform. Together with uniform resampling of the curves with respect to arc length, the new algorithm results in an order of magnitude speed-up in our experiments. Additionally, we describe how we can use our new algorithm as part of elastic shape distance computations between closed curves to obtain accurate shape distance values at a fraction of the cost of previous approaches.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Günay Dogan, Javier Bernal, Charles Hagwood. 2025-01-29. FFT-based Alignment of 2d Closed Curves with Application to Elastic Shape Analysis. https://doi.org/10.5244/c.29.diffcv.12

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Futaki invariant on Hopf manifolds

The Futaki invariant is a fundamental tool in Kähler geometry representing an obstruction to the existence of Kähler-Einstein metrics. Recently, it was generalized to compact complex manifolds. In this paper, we prove that it vanishes on Hopf manifolds.

math.DG

Remarks on potential functions of noncompact quasi-Einstein manifolds

In this article, we study the set of potential functions on noncompact quasi-Einstein manifolds. We show that the space of all positive potential functions on a three-dimensional noncompact quasi-Einstein manifold has dimension at most two, and that equality holds if and only if the manifold is isometric to a product $B\times\mathbb{R}$, where $B$ is a $λ$-Einstein surface or one of the examples obtained by L. Berard Bergery and described in Besse's book. Moreover, we prove that any asymptotically flat $n$-dimensional quasi-Einstein manifold with $λ=0$ is necessarily Ricci-flat.

math.DG

Adjusted connections on non-abelian bundle gerbes

Higher gauge theory for non-abelian structure 2-groups faces significant challenges when extending beyond the fake-flat sector, which suffers from limited applicability in physical models. A promising resolution involves equipping 2-groups with additional structure, known as adjustments. We present a comprehensive theory of adjusted connections on non-abelian bundle gerbes, classified by Saemann's adjusted version of non-abelian differential cohomology. This theory enables, in particular, a new coordinate-independent formulation of Tellez-Dominguez' lifting theorem, establishing a correspondence between adjusted connections on non-abelian bundle gerbes and connections on abelian bundle 2-gerbes.

math.DG