Attention-Guided NIR Image Colorization via Adaptive Fusion of Semantic and Texture Clues

Jie ChenarXiv 2021

TL;DR

This paper introduces AAFSTNet, a novel framework for colorizing Near-Infrared (NIR) images. It tackles the challenge of preserving both semantic meaning and fine texture details by adaptively fusing information from two specialized branches: one for semantic reasoning and another for texture transfer, enhanced by a new attention mechanism.

What Problem Does This Paper Address?

Near-Infrared (NIR) imaging is valuable in low-light conditions, offering better sensitivity than visible light cameras. However, NIR images are monochromatic, making them difficult for humans and algorithms to interpret. Colorizing NIR images to produce realistic RGB outputs is a complex task. Unlike grayscale image colorization where intensity is provided, NIR colorization requires estimating both intensity and chrominance. Furthermore, the mapping from NIR to RGB is inherently ambiguous due to variations in lighting and material properties, leading to challenges like "single-to-many" (one NIR intensity mapping to multiple RGB colors) and "many-to-single" (multiple NIR intensities mapping to one RGB color) ambiguities. Existing methods often struggle to simultaneously preserve fine texture details from the NIR input and generate semantically accurate and vivid colors.

Methods

The proposed AAFSTNet employs a two-branch architecture:

  • Texture Transfer Block (TTB): This branch focuses on extracting and preserving texture information from the NIR image. It uses a Laplacian filter to highlight intensity changes, effectively capturing fine details.
  • Semantic Reasoning Block (SRB): This branch is responsible for learning semantic features and mapping NIR pixel values to the RGB domain. It utilizes a UNet-based encoder-decoder architecture with an embedded attention mechanism.
  • Fusion Attention Block (FAB): This novel block adaptively fuses the features from the TTB and SRB. It incorporates a Residual Coordinate Attention Block (RCAB), which is a key innovation. RCAB enhances the model's ability to capture both channel-wise and spatial dependencies, allowing it to focus on important semantic and texture clues. This attention mechanism is integrated into both the SRB and FAB to improve feature learning and fusion.

The overall framework aims to overcome the limitations of direct mapping by explicitly learning and then adaptively combining texture and semantic information.

Datasets

  • VCIP 2020 Grand Challenge Dataset: This dataset was used for training and evaluation. It contains pixel-aligned NIR-RGB image pairs and unpaired RGB images. The authors note that only 372 paired NIR-RGB images were available, which is a limited number for training.
  • EPFL Dataset: This dataset was used for further comparison to demonstrate the model's robustness on more complex scenarios, including buildings, streets, and urban scenes. It contains 380 paired data.

Key Insights and Ideas

  • Decomposition of the Problem: The paper successfully argues that NIR colorization is not a single monolithic problem but can be effectively tackled by separating the tasks of texture preservation and semantic color generation.
  • Adaptive Fusion is Crucial: Simply combining features from different branches is insufficient. The proposed Fusion Attention Block (FAB) adaptively weighs and integrates these features, leading to more natural and accurate results.
  • Coordinate Attention for NIR Colorization: The introduction of the Residual Coordinate Attention Block (RCAB) is a significant contribution. It effectively addresses the need to capture both global semantic context and precise local texture details, which are both critical for high-quality NIR colorization.
  • Addressing Ambiguity: The two-branch approach, combined with adaptive fusion and attention, directly tackles the inherent "single-to-many" and "many-to-single" mapping ambiguities in NIR colorization.

Key Results

  • Quantitative Performance: The AAFSTNet achieved state-of-the-art results on the VCIP 2020 Grand Challenge dataset, outperforming existing methods in PSNR (20.40 dB), SSIM (0.62), and AE (3.91). These metrics indicate better image quality, structural similarity, and color consistency.
  • Qualitative Performance: Visual comparisons (Figure 4 and 5) demonstrate that AAFSTNet generates more vivid and semantically correct colorizations with significantly better texture preservation compared to other methods. The ablation studies (Table 2 and Figure 5) highlight the individual contributions of the TTB, FAB, and RCAB, showing that FAB has the most impact, TTB improves fine texture, and RCAB enhances colorization.
  • Performance on Complex Datasets: The model also showed superior performance on the more complex EPFL dataset compared to ATCycleGAN, indicating its strong learning capacity.

Limitations and Future Work

  • Limitations: The authors acknowledge that the model shows limitations when applied to colorization scenarios without clear semantic context, potentially failing to generate vivid artificial colors for urban targets.
  • Future Work: The authors plan to continue working on addressing the limitation of colorizing scenarios lacking clear semantic context.

Summary updated

BibTeX
@misc{chen2021attention,
  author = {Jie Chen},
  title = {{Attention-Guided NIR Image Colorization via Adaptive Fusion of Semantic and Texture Clues}},
  year = {2021},
  eprint = {2107.09237},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2107.09237},
}
Figure