A Near-Linear Time Algorithm for the Chamfer Distance

07/06/2023
by   Ainesh Bakshi, et al.
0

For any two point sets A,B ⊂ℝ^d of size up to n, the Chamfer distance from A to B is defined as CH(A,B)=∑_a ∈ Amin_b ∈ B d_X(a,b), where d_X is the underlying distance measure (e.g., the Euclidean or Manhattan distance). The Chamfer distance is a popular measure of dissimilarity between point clouds, used in many machine learning, computer vision, and graphics applications, and admits a straightforward O(d n^2)-time brute force algorithm. Further, the Chamfer distance is often used as a proxy for the more computationally demanding Earth-Mover (Optimal Transport) Distance. However, the quadratic dependence on n in the running time makes the naive approach intractable for large datasets. We overcome this bottleneck and present the first (1+ϵ)-approximate algorithm for estimating the Chamfer distance with a near-linear running time. Specifically, our algorithm runs in time O(nd log (n)/ε^2) and is implementable. Our experiments demonstrate that it is both accurate and fast on large high-dimensional datasets. We believe that our algorithm will open new avenues for analyzing large high-dimensional point clouds. We also give evidence that if the goal is to report a (1+ε)-approximate mapping from A to B (as opposed to just its value), then any sub-quadratic time algorithm is unlikely to exist.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/04/2022

Polyline Simplification under the Local Fréchet Distance has Subcubic Complexity in 2D

Given a polyline on n vertices, the polyline simplification problem asks...
research
07/15/2020

Approximating the (continuous) Fréchet distance

We describe the first strongly subquadratic time algorithm with subexpon...
research
02/23/2022

On Computing the k-Shortcut Fréchet Distance

The Fréchet distance is a popular measure of dissimilarity for polygonal...
research
10/23/2018

Approximating the Quadratic Transportation Metric in Near-Linear Time

Computing the quadratic transportation metric (also called the 2-Wassers...
research
08/05/2019

Proof of Correctness and Time Complexity Analysis of a Maximum Distance Transform Algorithm

The distance transform algorithm is popular in computer vision and machi...
research
09/24/2019

Conditional Hardness of Earth Mover Distance

The Earth Mover Distance (EMD) between two sets of points A, B ⊆R^d with...
research
10/22/2018

Indexing Point Sets for Approximate Bottleneck Distance Queries

The bottleneck distance is a natural measure of the distance between tw...

Please sign up or login with your details

Forgot password? Click here to reset