Manuscript Offprint

arXiv:2609.02556

RGB-to-IR image translation for infrared vehicle detection in unseen UAV domains

Thijs A. Eker, Ella P. Fokkinga, Jan Erik van Woerden, Elfi I. S. Hofmeijer, Sebastiaan P. Snel, Klamer Schutte, Friso G. Heslinga

ABSTRACT

Synthetic training data has become an important resource for developing image-based AI systems in domains where measured data is scarce. This is particularly true for thermal infrared (IR) imagery, where the limited availability and diversity of real-world datasets constrain the training of IR-informed foundation models and subsequent finetuning for domain-specific tasks such as vehicle detection in air-to-ground scenarios. In contrast, large amounts of UAV-recorded RGB imagery are readily available, motivating the use of RGB-to-IR image translation to generate additional infrared training data. However, there is no one-to-one mapping between RGB and infrared appearance, as infrared signatures depend on physical characteristics that are not directly observable in RGB imagery (e.g., historical and engine-related heat signatures). This makes it challenging to learn transferable RGB-to-IR mappings.

In this work, we investigate whether generative RGB-to-IR image translation can improve infrared vehicle detection on previously unseen UAV datasets. RGB-to-IR translators are trained on paired RGB-IR imagery from multiple source datasets and applied to held-out target datasets to generate synthetic infrared training data. For each target dataset, RGB images from the training split are used as input to the RGB-to-IR translation models, while the corresponding infrared evaluation split is used only to evaluate vehicle detection performance. The evaluated methods include supervised GANs, ControlNet-based diffusion models, and foundation-model image editing using LoRA. The resulting synthetic IR imagery is used to train RF-DETR vehicle detectors. Experiments are conducted on five aerial RGB-IR vehicle datasets, with Kust4K and VTUAV serving as unseen target domains. Results show that synthetic IR consistently improves detection performance over simpler RGB and grayscale baselines. The best-performing approach, Stable Diffusion 3.5 with ControlNet, improves mAP from 50.8 to 60.1 on Kust4K and from 25.6 to 38.4 on VTUAV, compared to detectors trained only on source-domain infrared data. Further gains are observed on VTUAV by increasing output diversity through multiple diffusion seeds (+1.1 mAP) and prompt variations (+3.3 mAP). Although a gap remains to the upper bound obtained with real target-domain IR data, the results demonstrate that generative RGB-to-IR translation is an effective strategy for augmenting scarce infrared training data and improving cross-domain aerial vehicle detection.

Keywords: RGB-to-IR translation; ControlNet; Guided diffusion; Generative AI; Data augmentation

1. INTRODUCTION

Object detectors achieve strong performance across applications such as traffic monitoring, surveillance, autonomous systems, and military reconnaissance. Although recent advances, including foundation models, have reduced the amount of task-specific training data required in some fields,¹ sufficient annotated data remains important for specialized domains such as infrared (IR) imagery, which are less well represented in common vision foundation models.²,³ Unlike RGB cameras, infrared sensors capture emitted thermal radiation. This allows objects to remain observable under challenging illumination conditions, including nighttime operation, adverse weather, and camouflage scenarios. These characteristics make infrared imagery particularly valuable for defense and security applications, where robust vehicle detection is required across a wide range of operating conditions.

Corresponding author: Friso G. Heslinga. E-mail: fgheslinga@gmail.com

Figure

Figure 1: Overview of the proposed workflow. Paired RGB-infrared source datasets (DroneVehicle, Caltech, and M3OT) are used to train RGB-to-IR translation models. These models are subsequently applied to RGB imagery from the training splits of target datasets unseen during translation-model training (Kust4K and VTUAV) to generate synthetic infrared training data. The generated infrared imagery is added to the detector training set, and detection performance is evaluated on real infrared imagery from the separate target-domain evaluation splits. Orange indicates training data and blue indicates evaluation data.

Despite its operational relevance, the development of high-performance infrared object detectors remains constrained by the limited availability of annotated infrared datasets. Synthetic data provides one approach to address data scarcity and has shown promising results for training vehicle detectors in RGB imagery. 4,5^{4,5} However, generating physically realistic infrared imagery using simulation is challenging. In contrast, large amounts of real RGB imagery are readily available and already capture representative scene geometry and variability. Consequently, RGB-to-IR image translation offers a promising approach for leveraging RGB data to increase the amount of infrared training data available for detector development.

However, generating realistic infrared imagery from RGB observations is fundamentally challenging. The relationship between visible appearance and thermal appearance is neither direct nor deterministic. Infrared images exhibit physical characteristics that are largely absent from RGB imagery, including engine heat signatures, thermal reflections, material-dependent heat retention, and temperature variations caused by historical environmental conditions. Many of these factors cannot be inferred reliably from RGB information. Furthermore, most existing RGB-to-IR translation methods rely on paired RGB-infrared training data collected within a specific dataset or operational context. In practice, paired infrared observations are often unavailable for the target scenario where synthetic data is needed, and translators frequently struggle to generalize to different sensors, environments, or viewpoints. This creates a domain adaptation challenge: can an RGB-to-IR translation model trained on a limited number of source datasets produce useful infrared imagery for previously unseen domains?

In this work, we investigate whether generalized RGB-to-IR image translation can be used as a form of data augmentation for infrared vehicle detection. Figure 1 provides an overview of the proposed training and evaluation procedure. Rather than training on a single dataset, we train RGB-to-IR translation models using paired data from multiple RGB-infrared datasets with the goal of learning infrared representations that transfer across domains. The resulting translation models are then used to generate synthetic infrared imagery from RGB images originating from previously unseen datasets. We evaluate whether adding these generated images to the detector training set improves vehicle detection performance in unseen infrared domains. In addition, we compare multiple RGB-to-IR translation approaches, ranging from conventional image-to-image translation methods to recent generative AI models, and contrast them with simpler baselines such as grayscale conversion. Through these experiments, we assess both the feasibility of cross-domain RGB-to-IR translation and its practical value for improving infrared air-to-ground vehicle detection.

Specifically, we (i) construct a multi-dataset RGB-infrared training dataset for air-to-ground vehicle detection, (ii) compare grayscale-based baseline with generative adversarial network (GAN) and diffusion-based methods for RGB-to-IR image translation, and (iii) evaluate the value of the generated training data for improving downstream vehicle detection performance on unseen infrared datasets.

References (41)

  • Grounding DINO: Marrying DINO with grounded pre-training for open-set object detection
  • Visual modality prompt for adapting vision-language object detectors
  • RGB-Th-Bench: A dense benchmark for visual-thermal understanding of vision language models (opens arXiv in a new tab)
  • Improving object detector training on synthetic data by starting with a strong baseline methodology
  • The effect of simulation variety on a deep learning-based military vehicle detector
  • Drone-based rgb-infrared cross-modality vehicle detection via uncertainty-aware learning
  • Caltech aerial rgb-thermal dataset in the wild
  • M3ot: A multi-drone multi-modality dataset for multi-object tracking
  • An rgb-tir dataset from uav platform for robust urban traffic scenes semantic segmentation
  • Visible-thermal uav tracking: A large-scale benchmark and new baseline
  • HIT-UAV: A high-altitude infrared thermal dataset for unmanned aerial vehicle-based object detection
  • Saga: Semantic-aware gray color augmentation for visible-to-thermal domain adaptation across multi-view drone and ground-based vision systems
  • RTDOD: A large-scale rgb-thermal domain-incremental object detection dataset for UAVs
  • Domain generalization and synthetic data in object detection: the enabler, the probe, and the gap
  • High-resolution image synthesis and semantic manipulation with conditional gans
  • Aerial visible-to-infrared image translation: Dataset, evaluation, and baseline
  • DR-AVIT: Toward diverse and realistic aerial visible-to-infrared image translation
  • Edge-guided multi-domain RGB-to-TIR image translation for training vision tasks with challenging labels
  • Generative AI methods for synthesis of image data to train AI for automated scene understanding in a military context: a review of opportunities
  • EO2IR ControlNet: Synthetic infrared image generation for automatic target recognition: Experimental results in MIST
  • V2IR-CnLDM: A generative visible-to-infrared image translation using ControlNet-guided conditional latent diffusion model
  • DiffV2IR: Visible-to-infrared diffusion model via vision-language understanding
  • F-ViTA: Foundation model guided visible to infrared translation
  • Few-shot LoRA adaptation of a flow-matching foundation model for cross-spectral object detection
  • Palette: Image-to-image diffusion models
  • Thermalgen: Style-disentangled flow-based generative models for RGB-to-thermal image translation
  • TherA: Thermal-aware visual-language prompting for controllable RGB-to-thermal infrared translation
  • SSL-RGB2IR: Semi-supervised RGB-to-IR image-to-image translation for enhancing visual task training in semantic segmentation and object detection
  • Synthetic data generation for end-to-end thermal infrared tracking
  • Matchanything: Universal cross-modality image matching with large-scale pre-training (opens arXiv in a new tab)
  • Adding conditional control to text-to-image diffusion models
  • Scaling Rectified Flow Transformers for High-Resolution Image Synthesis
  • F., “FLUX.”
  • Generative image editing for camouflaged military vehicle detection in low-data regimes
  • FLUX.2 [klein] 9b base
  • LoRA: Low-Rank Adaptation of Large Language Models
  • RF-DETR: Real-time object detection, instance segmentation, and keypoint detection
  • Microsoft coco: Common objects in context
  • Combining simulated data, foundation models, and few real samples for training object detectors
  • On the use of simulated data for target recognition and mission planning
  • Data augmentation for vehicle detection with diffusion-based object inpainting