Abstract
Thermal infrared imaging plays a vital role in computer vision applications, especially under difficult conditions such as low light and poor visibility, where traditional RGB cameras struggle. Transforming night-vision thermal images to resemble daytime colors is essential for better scene interpretation and decision-making in surveillance, autonomous navigation, and search-and-rescue operations. Nonetheless, overcoming the significant modality gap between visual and thermal cameras is still a challenge, as they capture fundamentally different physical properties of the same scene, thermal radiation versus reflected light. The spectral mapping from thermal imagery to realistic color imagery presents significant technical challenges due to: (i) the inherent nonlinear relationship between temperature distributions and visible color representations, (ii) the characteristic low signal-to-noise ratio of thermal images, along with their poor contrast and indistinct structural details that significantly hinder effective colorization for real-world applications, and (iii) the lack of pixel-level correspondence between thermal and RGB modalities in existing datasets. This paper presents an innovative end-to-end neural network architecture pipeline for automatic thermal image colorization, featuring a crucial preprocessing enhancement stage specifically designed to tackle these fundamental challenges. Our approach incorporates specialized enhancement filtering to enhance thermal image quality before colorization. The core network employs a U-Net-based encoder-decoder architecture with skip connections and attention mechanisms to retain spatial details during the thermal-to-RGB translation. Furthermore, we incorporate a segmentation-guided multi-task learning framework that explicitly improves semantic consistency during colorization by jointly optimizing both colorization accuracy and semantic segmentation. This dual-objective approach ensures that generated colors align with semantically meaningful regions in the thermal input. Quantitative evaluation using BRISQUE, NIQE, and PIQE metrics, along with perceptual studies, confirms that our preprocessing enhancement significantly improves the visibility and structural clarity of thermal images, enabling more accurate and realistic colorization compared to existing methods. Comprehensive qualitative and quantitative evaluations highlight the superiority of our approach in terms of perceptual realism, structural accuracy, and semantic fidelity, achieving state-of-the-art performance.
Introduction: The Modality Gap in Thermal Imaging
Thermal imaging is a critical tool for night vision and surveillance, yet it suffers from an "interpretability" problem. Unlike RGB cameras, thermal sensors capture heat radiation, resulting in a significant modality gap. Thermal images are often characterized by low signal-to-noise ratios, poor contrast, and a lack of distinct structural details, which hinders effective colorization and scene understanding.
Existing colorization methods, such as standard Generative Adversarial Networks (GANs), often struggle with these issues, producing blurry results or "hallucinating" colors that do not match the actual objects—for instance, coloring a pedestrian the same as the road. Furthermore, the lack of pixel-perfect pairs of thermal and RGB images in most datasets makes supervised training exceptionally difficult.
Methodology
To address these challenges, we propose a three-stage end-to-end architecture:
- Adaptive Enhancement Framework: Before colorization, raw thermal input undergoes specialized filtering to boost contrast and reduce noise. This preprocessing step ensures that the neural network can clearly identify edges and boundaries.
- U-Net with Attention: The core translation network uses a U-Net-based encoder-decoder with skip connections and attention mechanisms to preserve fine spatial details during the thermal-to-RGB transformation.
- Semantically Guided Multi-Task Learning: The model simultaneously learns to colorize and segment the image using a Residual Channel Attention Network (RCAN). This joint optimization provides "semantic awareness," ensuring that objects like cars and roads are colored consistently with their class.
- Unsupervised Supervision: To handle the lack of labeled data, an unsupervised semantic segmentation technique with memory regularization is used to predict boundaries without manual labels.
Experimental Results
The proposed method outperformed prominent baselines like CycleGAN, UNIT, and PearlGAN across multiple benchmarks. Quantitative results show superior perceptual realism and structural integrity:
- Image Quality: The model achieved the lowest (best) scores in BRISQUE (21.61), NIQE (5.94), and PIQE (6.82), indicating superior naturalness.
- Object Detection: Colorized outputs achieved a mean Average Precision (mAP) of 57.5, significantly higher than PearlGAN (53.3) and CycleGAN (20.9).
- Semantic Consistency: The model reached a mean Intersection over Union (mIoU) of 54.2, proving that colorized images retain the structural integrity needed for downstream AI tasks.
Qualitative visual results show much sharper edges and better differentiation between closely positioned objects compared to previous methods, which often merged them into single blobs.
Conclusion
By treating image enhancement as a critical prerequisite and incorporating a feedback loop between segmentation and colorization, this research significantly reduces artifacts and improves the realism of thermal-to-visible translation. Future work will address the computational overhead of the multi-task module and test the system's performance in diverse weather conditions such as heavy fog or rain.
Summary updated