Efficient Alignment and Correspondence Using Edit Distance

Paolo Bergamini, Luigi Cinque, Andrew D. J. Cross, Edwin R. Hancock, Stefano Levialdi, Richard Myers

Abstract

This paper presents an improved dual-step Expectation-Maximization (EM) algorithm for point-set matching in computer vision. By replacing computationally expensive padded dictionaries with a string edit-distance approach for comparing local graph structures (supercliques), the authors achieve significant gains in efficiency and robustness. The method effectively handles noise, structural errors, and large rotations, outperforming traditional dictionary-based approaches in both synthetic and real-world tests.

Introduction

Point-set matching is a fundamental challenge in computer vision, involving the simultaneous estimation of geometric alignment and point-to-point correspondence. These two tasks are inherently coupled: accurate alignment requires known correspondences, while finding correspondences typically necessitates a pre-aligned state. Previous work addressed this using a dual-step EM algorithm that leveraged Delaunay triangulations to model structural relationships. However, a major bottleneck existed in calculating match probabilities between local graph structures, known as "supercliques." To handle variations in node counts due to noise, previous methods used "dummy" nodes to pad structures into a uniform size, creating massive, computationally prohibitive dictionaries of possible mappings.

Methodology: From Padded Dictionaries to Edit Distance

The proposed method retains the core EM framework and Delaunay triangulation but introduces a novel approach to structural matching. Instead of brute-force padding, the algorithm treats the neighbors of a central node as a cyclic sequence. The similarity between two supercliques is then computed using string-edit distance (specifically, Levenshtein distance).

Super-cliques and their corresponding mappings.

By determining the optimal sequence of insertions, deletions, and substitutions to transform one neighborhood string into another, the algorithm naturally accommodates supercliques of different sizes. This shift from exponential complexity $O(4^{|C|})$ to polynomial complexity $O(|C|^3)$ eliminates the need for dummy nodes and significantly speeds up the matching process.

Experimental Evaluation

The algorithm was evaluated using both synthetic and real-world data. Synthetic tests involved 20-node graphs subjected to Gaussian noise, structural disruption (random node addition/deletion), and affine rotations. Real-world testing utilized images of a floppy disk in varying 2D poses to test recovery of skew and scale.

Key Results

  • Computational Efficiency: The theoretical complexity dropped from $O(4^6)$ to $O(6^3)$ for an average node degree of 6.
  • Robustness to Rotation: The edit-distance method successfully aligned sets with initial rotations up to $\pm 35^\circ$, compared to $\pm 25^\circ$ for the dictionary method.
  • Resilience to Structural Error: The method showed graceful degradation under structural corruption. As shown in the figures below, it maintained lower positional deviation and a higher percentage of correct matches compared to the baseline as the fraction of structural corruption increased.
Performance metrics against structural corruption: final average positional deviation (left) and percentage of correctly matched nodes (right).

Conclusion

The integration of string-edit distance into the EM framework for point-set matching provides a more efficient and robust solution than traditional dictionary-based methods. By avoiding the pitfalls of dummy-node padding, the algorithm is less susceptible to local minima and handles structural noise more effectively. Future work will focus on re-integrating simulated annealing and graph-editing processes to further enhance the framework's performance.

Summary updated

BibTeX
@inproceedings{bergamini2000efficient,
  author = {Paolo Bergamini and Luigi Cinque and Andrew D. J. Cross and Edwin R. Hancock and Stefano Levialdi and Richard Myers},
  title = {{Efficient Alignment and Correspondence Using Edit Distance}},
  booktitle = {SSPR/SPR},
  year = {2000},
  doi = {10.1007/3-540-44522-6\_26},
}
Figure