arXiv:2610.03167cs.CVOct 2026

Manuscript Offprint

arXiv:2610.03167

Geometry-Aligned Semantic Matching for Cross-Modal Planar Image Registration

Zhiwei Wang, Defeng He, Yuxing Li, Meilu Zhu, Edmund Y. Lam

Zhiwei Wang, Defeng He ∗^{*}, Yuxing Li, Meilu Zhu, Edmund Y. Lam ∗^{*}, Fellow, IEEE

Abstract—Cross-modal image matching establishes stable and accurate geometric correspondences across modalities for planar registration. Existing semantic representations provide cross-modal consistency, but semantic similarity does not necessarily imply geometric correspondence. Meanwhile, fine-grained CNN features provide accurate local details but lack global cross-modal semantic guidance for stable refinement. To address these issues, we propose CDPM, which first establishes geometrically consistent semantic representations and then preserves their dominant role in correspondence estimation during fine-grained localization. Specifically, we progressively adapt DINOv3 using geometrically consistent cross-modal patch pairs, enabling feature similarity to better reflect true cross-modal spatial correspondences. We then construct a DINO-Centric Feature Pyramid, where multi-scale DINO representations maintain stable cross-modal correspondences, while a lightweight CNN branch provides auxiliary structural details for precise local refinement. Extensive experiments on three cross-modal datasets demonstrate the superior performance of CDPM. On VIS-IR, compared with the dense matcher RoMa, CDPM improves AUC@3/5/10/20 by 7.36, 13.40, 13.75, and 10.42 percentage points, respectively, and reduces mACE from 5.83 to 2.78 pixels. It also outperforms RoMa v2 across all metrics while requiring 45.6% fewer FLOPs. The online demo and dataset are available, and the code will be released on our project page at https://warren-wzw.github.io/CDPM/.

Index Terms—Cross-modal image matching, Feature matching, Foundation models, Homography estimation, Coarse-to-fine

I. INTRODUCTION

ROSS-MODAL image registration aims to geometrically align images captured by different sensing modalities [1]. Reliable dense correspondences provide an important foundation for image fusion [2], [3], [4], multimodal perception [5], [6], and dense 3D reconstruction [7], [8]. For approximately planar scenes, reliable correspondences can be further used with robust estimators to recover the homography relating the two images [9], [10]. However, substantial differences in imaging mechanisms, texture and intensity across modalities make reliable pixel-level correspondences difficult to establish [11], [12]. Therefore, the difficulty lies in balancing correspondence stability and localization accuracy. Robust cross-modal representations are often too coarse for localization, whereas fine-grained features tend to be modality-sensitive.

Existing approaches to planar image registration generally include direct homography estimation and correspondence-based matching. Detector-free and dense matchers progressively refine correspondence estimates through multi-scale feature representations and coarse-to-fine refinement [13], [14]. More recently, vision foundation models have been introduced to provide robust semantic priors for image matching and geometric estimation [15], [16], [17]. Representative

Figure

Query patch and pixel

Raw DINOv3 with CNN

Query patch

Query pixel

GT patch

  • GT (inset)

Retrieved patch

Peak (inset)

Aligned DINOv3

(a) Motivations of the proposed method.

Figure

Visible

Existing Method Correspondences

Infrared

Existing Method Alignment

Ours Correspondences

Ours Alignment

(b) Qualitative comparison of correspondence and alignment.

Fig. 1. (a) Raw DINOv3 yields ambiguous cross-modal responses, while CNN refinement may sharpen but shift the peak; CDPM aligns semantic correspondence and stabilizes fine-scale refinement. (b) Green and red correspondences indicate reprojection errors of ≤3\leq 3 and > 3 pixels, respectively. Yellow dashed boundaries denote the predicted alignments.

dense matchers combine pretrained DINO features for coarse correspondence estimation with CNN features for fine-scale localization [10], [18]. This combination of foundation-model semantics and CNN details provides an effective paradigm for same-modality matching, where semantic representations and local structures remain relatively consistent across views. Extending this paradigm to cross-modal matching, however, requires semantic representations to be aligned across modalities while preserving reliable fine-scale cues, giving rise to two key challenges in practical settings.

First, cross-modal semantic alignment does not necessarily ensure geometric correspondence. Although large-scale pretraining provides strong semantic representations and cross-domain generalization [19], [20], its objectives primarily emphasize semantic consistency and appearance invariance rather than cross-modal geometric correspondence. Recent studies further adapt foundation-model representations across heterogeneous modalities to improve cross-modal consistency and transferability [21], [22]. However, such alignment is not explicitly optimized for registration-specific geometric correspondence. Consequently, the most similar features may not correspond to the same physical location across modalities. As shown in Fig. 1a, raw DINOv3 produces high responses near the ground-truth correspondence, yet the correct patch does not necessarily achieve the highest similarity among all

  • Corresponding authors.

candidates. Such ambiguities become more pronounced under repetitive structures, low-light conditions, and substantial modality gaps in practical registration scenarios.

Second, fine-scale refinement may compromise cross-modal correspondence stability. High-resolution CNN features provide fine spatial details for precise localization and are widely used in coarse-to-fine matching and local refinement [9], [10], [14]. However, they are also highly responsive to local textures, edges, and intensity variations that can differ substantially across modalities. Without sufficient and consistent cross-modal semantic guidance, these modality-sensitive features may favor locally salient but geometrically incorrect responses. As shown in Fig. 1a, CNN features produce sharper matching responses, but their peaks may deviate from the ground-truth correspondence. Consequently, increasing reliance on such features throughout iterative refinement can gradually pull otherwise reliable coarse correspondences toward incorrect local responses, leading to refinement drift and degraded localization accuracy.

To address these issues, we propose CDPM (Cross-modal Dense Pyramid Matcher), a dense matching framework for cross-modal planar registration. CDPM first adapts DINOv3 using geometric correspondence supervision and then leverages the adapted semantic features to guide fine-scale localization. As shown in Fig. 1b, CDPM establishes more reliable and geometrically consistent cross-modal correspondences, enabling accurate planar alignment. Specifically, we construct geometrically consistent positive and negative cross-modal patch pairs and perform staged adaptation of DINOv3, enabling feature similarity to more accurately reflect true spatial correspondences. On this basis, we develop a DINO-Centric Feature Pyramid (DCFP), where adapted multi-level DINO representations are preserved throughout the feature pyramid. They provide the primary correspondence cues across scales, while a lightweight CNN branch supplements local spatial details. By maintaining DINO semantics as the dominant cue for cross-modal correspondence, CDPM preserves stable matching during refinement. CNN features are introduced only as auxiliary cues to improve localization accuracy. The main contributions are summarized as follows:

  • We propose a patch-level cross-modal adaptation strategy that uses homography-guided patch pairs and staged contrastive learning to align pretrained DINO representations with geometric correspondence.

  • We propose DCFP, where adapted multi-level DINO features dominate correspondence estimation, while a lightweight CNN selectively supplements local structural details as auxiliary cues at finer scales to improve matching stability and localization accuracy.

  • We construct PCB-Layout, an industrial registration dataset comprising PCB images and design layouts. Experiments on two public datasets and PCB-Layout demonstrate the superior registration performance of CDPM across diverse cross-modal settings.

References (43)