Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

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

Published

Author(s)

Gunay Dogan, Javier Bernal, Robert Hagwood

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 logN) 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.
Proceedings Title
Proceedings of the 1st International Workshop on DIFFerential Geometry in Computer Vision for
Analysis of Shapes, Images and Trajectories (DIFF-CV 2015)
Conference Dates
September 27-30, 2015
Conference Location
Swansea, UK
Conference Title
26th British Machine Vision Conference

Keywords

curve alignment, rotation, shape analysis

Citation

Dogan, G. , Bernal, J. and Hagwood, R. (2015), FFT-based Alignment of 2d Closed Curves with Application to Elastic Shape Analysis, Proceedings of the 1st International Workshop on DIFFerential Geometry in Computer Vision for Analysis of Shapes, Images and Trajectories (DIFF-CV 2015), Swansea, UK, [online], https://doi.org/10.5244/C.29.DIFFCV.12 (Accessed April 24, 2024)
Created September 9, 2015, Updated October 12, 2021