Introduction
Heterogeneous image matching, particularly between visible and near-infrared (NIR) spectra, is a critical task in remote sensing for applications like image fusion and change detection. Unlike homogeneous images, these pairs exhibit significant nonlinear radiometric differences; for instance, vegetation that appears dark in visible light often appears bright in NIR. Traditional handcrafted descriptors like SIFT frequently fail under these conditions. While deep learning approaches have shown promise, they typically rely on extensive human-annotated datasets, which are costly and difficult to obtain for satellite imagery.
Methodology
To address these challenges, we present LTFormer, a lightweight transformer-based framework designed for self-supervised heterogeneous image matching. The system consists of three primary components: a lightweight architecture, a self-supervised training pipeline, and an adaptive loss function.
1. Light-weight Transformer Architecture
The core of the system is a streamlined transformer model inspired by the Pyramid Vision Transformer (PVTv2). By significantly reducing the channel width across four stages, the model maintains the ability to extract deep-level features while remaining computationally efficient for real-world deployment on edge devices.
2. Self-supervised Training and LT Loss
The framework utilizes a self-supervised triplet training strategy to eliminate the need for manual labels. For a given visible image patch (anchor), a positive NIR patch is generated via geometric transformations (homography), while an unrelated patch serves as the negative sample.
A key innovation is the LT Loss, which employs an adaptive margin. Unlike standard triplet losses with fixed margins, LT Loss dynamically adjusts based on the relative distances of samples within a batch, facilitating more effective learning of discriminative features in heterogeneous spaces.
Experimental Setup
The model was evaluated using the WHU-OPT-SAR dataset, which provides co-registered optical (RGB) and NIR channels. The dataset was processed into 10,000 training patch groups and a validation set of 1,940 aligned image pairs. Performance was measured using Matching Precision (MP) and Matching Score (MS).
Results
LTFormer demonstrates superior performance compared to both traditional and modern deep learning baselines.
- Quantitative Performance: On 128x128 patches, LTFormer achieved a perfect 1.0000 Matching Precision, outperforming SuperGlue (0.9807) and HardNet (0.9879).
- Scale Robustness: At smaller patch sizes (64x64), LTFormer maintained its perfect precision, while other models saw significant drops to the 0.83–0.84 range.
- Visual Comparison: When integrated with various keypoint detectors (e.g., SIFT, AKAZE), LTFormer descriptors consistently produced a higher density of correct matches compared to original descriptors designed for those algorithms.
Conclusion
LTFormer provides a robust, efficient solution for matching heterogeneous remote sensing images without the need for manual labels. By combining a lightweight transformer architecture with an adaptive self-supervised loss, it bridges the gap between different spectral modalities while remaining suitable for edge-computing environments. Future work will focus on extending this approach to more extreme modality differences, such as Optical-to-SAR matching, which involves even greater geometric and radiometric distortions.
Summary updated