Match or No Match: Keypoint Filtering based on Matching Probability

Alexandra I. Papadaki, Ronny HänschWorkshops @ CVPR 2020

Introduction

In computer vision tasks such as Structure from Motion (SfM) and image registration, the standard pipeline involves detecting, describing, and matching keypoints across multiple images. However, the matching step often becomes a significant computational bottleneck. Modern detectors identify thousands of keypoints, many of which are unstable (e.g., moving vegetation) or repetitive (e.g., building facades), leading to "junk" matches that degrade 3D reconstruction quality. This paper proposes a lightweight pre-filtering mechanism to identify and discard "unmatchable" keypoints before the expensive matching phase.

Proposed Methodology

The core of the proposed approach is a binary classifier that predicts whether a keypoint is "Matchable" or "Non-matchable." The authors utilize a Random Forest (RF) classifier designed for extreme efficiency. Unlike methods that rely on complex deep learning features or high-dimensional descriptors like SIFT (128-D), this model uses only eight simple features already available during the detection phase.

The proposed pipeline integrates a Random Forest classifier into the standard keypoint processing workflow to filter points before matching.

The features include spatial coordinates (x, y), scale (s), orientation (θ), response strength (r), octave level (o), textural complexity (number of dominant orientations), and the intensity of the green channel (g). By using a small forest of 5 trees with a depth of 5, the classifier adds negligible overhead (0.2s per image) while significantly streamlining subsequent steps.

Key Insights: The Vegetation Challenge

A primary source of unstable keypoints in urban environments is vegetation. Leaves and branches create high-contrast features that attract detectors but rarely result in stable matches due to movement and viewpoint sensitivity.

Visualization of keypoint filtering: green circles represent predicted matchable points on stable structures, while red circles indicate points likely to be discarded, such as those on vegetation.

The "green channel" heuristic proved particularly effective in identifying these problematic areas. By filtering out these points early, the system avoids the computational cost of describing and attempting to match features that are destined to be outliers. The authors found that prioritizing recall—ensuring matchable points are preserved—was more critical than absolute precision in this context.

Experimental Results

The method was evaluated on urban facade datasets featuring significant noise from trees and pedestrians. Key results include:

  • Efficiency: The filter is 10x faster than previous descriptor-based methods, taking only 0.2 seconds per image.
  • Matching Speedup: Reducing the keypoint count by approximately 50% led to a 31% reduction in pairwise matching time (from 16s to 11s).
  • Reconstruction Quality: When integrated with the Colmap SfM pipeline, the filtered approach yielded 14% more reconstructed points and a 1.5% lower reprojection error. This improvement occurs because removing "confusing" features allows the matching algorithm to find more consistent global solutions.

Conclusion

This research demonstrates that a simple, fast classifier can significantly enhance the efficiency and robustness of computer vision pipelines. By discarding unmatchable points before the description and matching phases, the proposed filter provides a practical solution for large-scale 3D reconstruction in challenging environments. Future work may involve integrating this logic directly into keypoint detectors to further optimize the front-end of the vision pipeline.

Summary updated

BibTeX
@inproceedings{papadaki2020match,
  author = {Alexandra I. Papadaki and Ronny Hänsch},
  title = {{Match or No Match: Keypoint Filtering based on Matching Probability}},
  booktitle = {Workshops @ CVPR},
  year = {2020},
  doi = {10.1109/cvprw50498.2020.00515},
}
Figure