Skip to main content
QUICK REVIEW

[Paper Review] Patch2Pix: Epipolar-Guided Pixel-Level Correspondences

Qunjie Zhou, Torsten Sattler|arXiv (Cornell University)|Dec 3, 2020
Advanced Image and Video Retrieval TechniquesComputer Science44 references8 citations
TL;DR

Patch2Pix proposes a novel two-stage approach for learning pixel-level image correspondences by first generating patch-level match proposals and then refining them into precise, geometrically consistent matches using a weakly supervised refinement network. The method leverages epipolar geometry from relative camera poses to train without ground-truth pixel-level correspondences, achieving state-of-the-art performance in image matching, homography estimation, and visual localization.

ABSTRACT

The classical matching pipeline used for visual localization typically involves three steps: (i) local feature detection and description, (ii) feature matching, and (iii) outlier rejection. Recently emerged correspondence networks propose to perform those steps inside a single network but suffer from low matching resolution due to the memory bottleneck. In this work, we propose a new perspective to estimate correspondences in a detect-to-refine manner, where we first predict patch-level match proposals and then refine them. We present Patch2Pix, a novel refinement network that refines match proposals by regressing pixel-level matches from the local regions defined by those proposals and jointly rejecting outlier matches with confidence scores. Patch2Pix is weakly supervised to learn correspondences that are consistent with the epipolar geometry of an input image pair. We show that our refinement network significantly improves the performance of correspondence networks on image matching, homography estimation, and localization tasks. In addition, we show that our learned refinement generalizes to fully-supervised methods without re-training, which leads us to state-of-the-art localization performance. The code is available at https://github.com/GrumpyZhou/patch2pix.

Motivation & Objective

  • Address the challenge of low-resolution matching in correspondence networks due to memory constraints.
  • Overcome the limitations of fully supervised methods that risk learning biased features by relying on sparse ground-truth keypoints.
  • Develop a weakly supervised method that learns geometrically consistent pixel-level matches using only relative camera poses.
  • Improve the accuracy of existing correspondence networks by refining their outputs without retraining.
  • Enable generalization to both weakly and fully supervised matching pipelines, enhancing performance across diverse localization tasks.

Proposed method

  • First, generate patch-level match proposals using a base correspondence network (e.g., NCNet or SuperPoint+SuperGlue).
  • Train a refinement network to regress pixel-level matches within each proposal region using epipolar geometry as supervision.
  • Jointly predict confidence scores for each refined match to identify and reject outliers.
  • Use relative camera poses to compute epipolar constraints, enabling weak supervision without ground-truth pixel correspondences.
  • Optimize the refinement network via a differentiable loss that enforces geometric consistency across matched points.
  • Apply the refinement network as a post-processing module to enhance outputs from existing correspondence networks.

Experimental results

Research questions

  • RQ1Can a two-stage detect-to-refine framework improve pixel-level correspondence accuracy compared to end-to-end correspondence networks?
  • RQ2Can epipolar geometry be effectively used as weak supervision to train a refinement network without requiring pixel-level ground truth?
  • RQ3Does the proposed refinement network generalize to improve performance of both weakly and fully supervised correspondence methods?
  • RQ4To what extent does Patch2Pix improve matching accuracy under challenging conditions such as large viewpoint changes and textureless scenes?
  • RQ5Can the refinement network enhance performance on downstream tasks like homography estimation and visual localization?

Key findings

  • Patch2Pix achieves state-of-the-art performance on the InLoc benchmark, with 50.0% of queries localized within 0.25m and 10° using the SuperGlue-based proposal pipeline.
  • On the DUC1 subset of InLoc, Patch2Pix with SuperGlue proposals achieves 57.3% localization accuracy at 0.25m error, outperforming all baselines.
  • The method improves localization accuracy by up to 7.5 percentage points over the best baseline (SuperPoint+SuperGlue) on the DUC1 set.
  • Patch2Pix generalizes to fully supervised methods: when applied to SuperPoint+SuperGlue, it boosts performance from 49.0% to 50.0% at 0.25m error on InLoc.
  • On the Aachen Day-Night dataset, Patch2Pix successfully handles extreme illumination changes and large viewpoint variations, with high inlier match ratios.
  • The refinement network significantly reduces outlier matches, as evidenced by the high proportion of green inlier matches in visualization figures, especially in challenging regions like blank walls and roads.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.