Thermal cameras provide a unique advantage in computer vision by capturing heat signatures, allowing for consistent imaging regardless of lighting conditions—be it total darkness, fog, or glare. However, estimating depth from a single thermal image is notoriously difficult due to the low-contrast and often "textureless" nature of thermal data. A new approach presented at WACV 2023 by researchers at KAIST addresses these challenges by leveraging knowledge from standard RGB videos without the need for expensive, perfectly calibrated sensor rigs.
The Problem: Hardware and Data Constraints
Most self-supervised depth estimation models rely on "photometric consistency"—the assumption that a pixel's appearance remains constant across consecutive frames as the camera moves. While effective for high-contrast RGB images, this principle often fails with thermal imagery. If a surface has a uniform temperature, it appears as a flat, featureless region, providing no landmarks for the model to track.
To overcome this, previous research attempted to use RGB images to guide thermal models. However, these methods typically required strictly paired and synchronized data. This necessitated specialized hardware rigs where RGB and thermal cameras share the same optical axis (often via beam splitters) and are perfectly synchronized in time. Such hardware is bulky, expensive, and difficult to maintain.
The proposed method eliminates these constraints, allowing for depth estimation using unpaired RGB and thermal videos, where the cameras do not need to be attached or even looking at the same scene simultaneously.
Proposed Method: Unpaired Multi-spectral Adaptation
The researchers developed a framework that "transfers" the rich geometric understanding of the RGB domain to the thermal domain through three key innovations:
- Shared Network Architecture: The model utilizes two separate encoders—one for RGB and one for thermal—but a single shared decoder. By sharing the decoder, the high-quality geometric features learned from the information-rich RGB domain are naturally applied to the thermal domain.
- Feature-Level Adversarial Adaptation: To ensure the thermal encoder produces useful, representative features, the framework incorporates a Discriminator ($\psi$). The discriminator attempts to distinguish whether a feature map originated from an RGB or thermal image. The thermal encoder is trained to "fool" this discriminator, forcing it to extract features that are as informative as those found in RGB data.
- Locally Consistent Thermal Image Scaling: Thermal cameras often employ Automatic Gain Control (AGC), which shifts contrast based on the hottest object in view. This "flicker" can disrupt self-supervised learning. The authors introduced a scaling method using local min-max statistics to stabilize thermal contrast over time, making reconstruction loss more reliable.
Experimental Results
The model was evaluated using the Vision for Visibility Dataset (ViViD), which includes thermal, RGB-D, and LiDAR ground truth across various scenarios, including indoor well-lit, indoor dark, and outdoor night sequences.
Quantitative Performance
The proposed method demonstrated significant improvements over previous state-of-the-art (SOTA) multi-spectral methods. On the ViViD outdoor night test set, the model achieved an Absolute Relative Error (AbsRel) of 0.111, a substantial improvement over the 0.146 achieved by the previous best method (Shin et al.).
Qualitative Superiority
Visually, the depth maps produced by this method are significantly sharper than those from previous thermal models. While earlier methods often produced blurry, blob-like depth estimations, this framework captures clear object boundaries—such as chairs, pillars, and vehicles—even in pitch-black environments where standard RGB-based models (like MiDaS) fail completely.
Conclusion and Future Work
By removing the requirement for paired and synchronized data, this research significantly lowers the barrier to deploying robust thermal depth estimation systems. The "aha moment" of the study is that pixel-perfect alignment is unnecessary; as long as the model encounters similar scene distributions in both modalities, adversarial adaptation can bridge the gap.
While the model successfully handles hardware constraints, future work may focus on addressing high noise levels in specific indoor environments or applying this "unpaired" logic to other challenging modalities, such as gated imaging or LiDAR-to-camera knowledge transfer.
Summary updated