Previous Article in Journal
Adaptive Atmospheric Light Estimation for Dehazing via a Novel Decoupled Scattering Model with Neutral-Pixel and Visual-Depth Priors
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Visible–Infrared Fusion Based on CNN and Deformable Transformer

1
College of Opto-Electronic Engineering, Changchun University of Science and Technology, Changchun 130022, China
2
State Key Laboratory of Dynamic Optical Imaging and Measurement, Changchun Institute of Optics, Fine Mechanics and Physics, Chinese Academy of Sciences, Changchun 130033, China
*
Author to whom correspondence should be addressed.
J. Imaging 2026, 12(6), 219; https://doi.org/10.3390/jimaging12060219 (registering DOI)
Submission received: 11 March 2026 / Revised: 16 May 2026 / Accepted: 19 May 2026 / Published: 22 May 2026
(This article belongs to the Section Computer Vision and Pattern Recognition)

Abstract

To address the limitations of traditional methods in feature extraction and multi-modal information fusion, this paper proposes an infrared–visible image object detection architecture that integrates Convolutional Neural Networks (CNNs) and Deformable Transformers. This method leverages the advantages of CNN in local feature modeling and the capabilities of Transformer in capturing global contextual information, facilitating the fusion of semantic consistency and structural details across modalities. By introducing a detection-aware multi-task optimization mechanism, the model improves object detection in challenging scenarios such as low-light conditions, occlusion, and complex backgrounds. Experiments on multiple standard datasets, including M3FD and LLVIP, indicate that the proposed method achieves competitive or better performance than the compared methods in key metrics such as mAP. Specifically, our method obtains the best mAP50 among the evaluated methods with an mAP50 of 74.2% on the M3FD dataset and 98.6% on the LLVIP dataset, surpassing the second-best PIAFusion by 4.3% and 2.5% respectively. These quantitative results support the practicality and effectiveness of our approach in the evaluated complex environments.

1. Introduction

With the rapid development of intelligent perception technology, object detection, as a core task in computer vision, has demonstrated broad application prospects in critical scenarios such as autonomous driving, security surveillance, and intelligent robotics. However, in complex and variable real-world environments, object detection based on single-modal images often faces numerous challenges. For instance, under insufficient illumination, backlighting, or harsh weather conditions, the quality of visible light images degrades severely, leading to a significant deterioration in detection performance. In contrast, infrared images capture the thermal radiation information of objects, possessing strong anti-interference capabilities, making them particularly suitable for extreme conditions like low-light or smoke [1].
Nevertheless, infrared images themselves suffer from low resolution and insufficient detail, making it difficult to provide complete texture and structural information. Therefore, how to effectively fuse infrared and visible light images to exploit their complementary characteristics, thereby enhancing the accuracy and robustness of object detection, has become a focal and challenging issue in current multi-modal perception research.
In recent years, academia has proposed various methods for the task of infrared–visible image fusion for object detection. Early research often relied on pixel-level or feature-level fusion strategies, such as image fusion techniques based on wavelet transform or multi-scale transform, or feature fusion methods based on sparse representation or non-negative matrix factorization. However, these methods predominantly depend on handcrafted feature extractors, exhibit poor adaptability, struggle to cope with modal variations in complex scenes, and generally employ simplistic fusion strategies that fail to fully exploit the semantic complementarity between modalities, limiting the improvement in object detection performance. With the widespread application of deep learning techniques, CNN-based image fusion methods have gradually become mainstream. CNNs can automatically learn multi-level feature representations of images, to some extent improving the discriminability and adaptability of fused images. However, traditional CNNs cannot inherently model global contextual information in images and struggle to capture long-range dependencies, limiting their expressive power in complex scenes. To address this issue, some studies introduced attention mechanisms to enhance inter-modal feature selection and fusion capabilities, but they suffer from high computational costs, and the semantic consistency of the fusion results remains difficult to guarantee.
In recent years, the Transformer architecture, as a powerful sequence modeling tool, has been gradually introduced into computer vision tasks due to its outstanding achievements in natural language processing, demonstrating excellent performance in tasks such as image classification and object detection. Particularly, Deformable Transformer, as a variant, incorporates deformable convolution operations, enabling the model to better adapt to geometric deformations and structural irregularities in images, thereby enhancing the spatial perception capability for object detection. However, how to effectively combine CNN with Deformable Transformer to balance local texture feature extraction and global context modeling remains a critical technical challenge requiring breakthroughs. Furthermore, existing infrared–visible image fusion methods have made progress in improving visual quality, such as enhancing image contrast and preserving structural information, but their performance in downstream tasks like object detection still shows significant shortcomings [1]. The fundamental reason lies in the lack of task-specific optimization for detection in these methods, leading to a mismatch between the feature representation of the fused image and the requirements of the detector, thereby affecting detection performance. Specifically, current methods mainly suffer from three key problems: (1) Feature Incompatibility: Traditional fusion methods struggle to simultaneously retain thermally salient regions in infrared images and detailed textures in visible images. The generated fusion features lack discriminability and are difficult to be effectively utilized by modern detection networks. For instance, methods like DenseFuse [2] and IFCNN [3] focus on general visual quality but often fail to produce features that optimally highlight targets for detectors, as noted in task-oriented fusion studies [4]. (2) Semantic Misalignment: Existing methods mostly employ uniform fusion strategies, neglecting the dependence differences in different target categories on modal features. For example, pedestrian detection relies more on thermal features, while vehicle detection relies more on texture features, leading to inefficient utilization of fused information. Recent benchmarks and analyses highlight that naive fusion without considering semantic guidance results in suboptimal performance for specific object classes [5,6]. (3) Architectural Disconnection: In the mainstream “fuse-then-detect” two-stage approach, the fusion module and the detection module are trained independently, lacking task-cascaded optimization. The fused features may not align with detection requirements, creating an information bottleneck that limits overall performance improvement [7,8,9]. This disconnection prevents the fusion process from being directly guided by the ultimate detection objective.
Based on the above problems and the foundational work of our team [10,11,12,13,14], this paper proposes a detection-aware multi-modal fusion detection framework that integrates CNN and Deformable Transformer structures, constructs an end-to-end joint optimization mechanism, and simultaneously introduces a dynamic modal weighting strategy and a multi-spectral pre-training method to enhance modal fusion capability and model generalization performance. This research aims to alleviate the key challenges of poor compatibility, semantic misalignment, and architectural disconnection in current fusion detection methods and provides a practical architectural reference for multi-modal object detection in scenarios such as autonomous driving and intelligent surveillance. As shown in Figure 1, this paper proposes a multi-stage joint cascaded (MJC) detection-aware fusion framework, partially alleviating the performance bottleneck of multi-modal image fusion in object detection. This framework integrates multiple modules, including feature extraction, modal fusion, object detection, and image reconstruction, establishing a unified end-to-end optimization process that supports the joint optimization of fusion and detection tasks.
The main contributions of this study can be summarized as follows:
(1) Detection-Aware End-to-End Fusion Framework: We propose an end-to-end optimized fusion architecture that is explicitly aware of the downstream detection task. By establishing a direct gradient pathway between the detection head and the fusion module, the framework enables joint training of the fusion and detection processes. The backpropagation of the detection loss to the fusion layers encourages the model to prioritize features relevant to object recognition during multi-modal integration, thereby implementing a task-driven feature selection mechanism. This approach effectively mitigates the information disconnection inherent in the traditional decoupled “fuse-then-detect” pipeline.
(2) Dynamic Fusion via Interactive Deformable Attention: We design a dynamic fusion module built upon an Interactive Deformable Attention mechanism. Leveraging the adaptive receptive field of deformable attention and its powerful capacity for modeling irregular structures, this module facilitates deep cross-modal interaction. It dynamically adjusts the contribution of thermal radiation features from infrared images and texture details from visible images based on the local semantic context, achieving precise and target-oriented feature complementarity.
(3) Detection-Guided Two-Stage Training Strategy: We integrate the detection objective into the established two-stage training paradigm. In the first stage, the network learns to decouple and reconstruct cross-modal features, laying a foundation for robust representation. In the second stage, the feature extractor is frozen, and the fusion module is fine-tuned jointly with the detection head under the guidance of the detection loss. This strategy shifts the learning goal from mere “feature reconstruction” toward “task-oriented fusion,” ensuring training stability and making the fusion mechanism explicitly goal-directed, as inspired by related feature decomposition works.

2. Related Work

2.1. Infrared and Visible Image Fusion

Infrared and visible image fusion aims to integrate information from images acquired by two different sensors, generating a high-quality fused image containing salient target features and rich texture details. In recent years, deep learning methods have made significant progress in the field of image fusion, particularly in enhancing the quality and information content of fused images [15].
CNN-based Fusion Methods: Convolutional Neural Networks (CNNs), by virtue of their powerful feature extraction capabilities, have been widely used in infrared–visible image fusion [16]. For example, some studies employ dual-branch CNN structures to extract features from infrared and visible images separately, then generate the final fused image through fusion strategies [17]. To overcome the limitation of the CNN receptive field, researchers combine multi-scale transform (MST) with CNN to obtain more comprehensive image information [16]. PFCFuse [18] proposed a network combining Pool former and CNN for fusion, aiming to more fully utilize valuable information from multi-modal source images to achieve high-quality fusion. DDRF [17] proposed a Dual-branch Decomposition and Reconstruction Fusion (DDRF) architecture, utilizing residual XCiT blocks to extract shallow features from modalities, and then fusing them using a proposed adaptive feature fusion module, aiming to extract meaningful features from the modalities fully.
Transformer-based Fusion Methods: The Transformer architecture, with its ability to capture long-range dependencies in images, shows great potential in the field of image fusion. Some studies introduce the Transformer into CNN-based fusion networks to enhance the network’s perception of global information [19]. For instance, MFT [20] proposed a Multi-scale Fusion Transformer to capture global contextual information in images better, thereby improving the quality of the target image. SePT [15] proposed a Semantic-aware infrared and visible image fusion Transformer (SePT), extracting local features through a Convolutional Neural Network (CNN). DATFuse [21] proposed a Dual Attention Transformer, aiming to generate composite images that simultaneously contain the thermal radiation information from infrared images and the rich texture details from visible images, enabling the detection of targets under various weather conditions in high-spatial-resolution scenarios. SFPFusion [15] proposed an improved vision Transformer incorporating super feature attention and wavelet-guided pooling for infrared and visible image fusion, aiming to generate a single image that preserves complementary features and reduces redundant information from different modalities. Conti-Fuse [22] proposed a Continuous Decomposition Fusion framework, better presenting the common and unique features of source modalities through a continuous decomposition strategy.
CNN–Transformer Hybrid Methods: To balance local feature extraction and global information modeling, some studies attempt to combine CNN with Transformer [23,24,25]. For example, HDCCT [23] proposed a Hybrid Densely Connected CNN and Transformer (HDCCT) fusion framework, aiming for better feature representation. HDCTfusion [24] proposed a dual-branch fusion network combining Convolutional Neural Network (CNN) and Transformer, aiming to fuse target information with rich details and contrast. FDB-Net [26] proposed a Fusion Dual Branch network combining CNN and Transformer for medical image segmentation.

2.2. Multi-Modal Object Detection

Multi-modal object detection aims to utilize data acquired by multiple sensors to improve the accuracy and robustness of object detection. In complex scenes, images from a single modality may suffer from information loss or noise interference, while multi-modal image fusion can effectively compensate for these deficiencies [27].
Application of Infrared–Visible Image Fusion in Object Detection: Infrared images are sensitive to thermal radiation and can effectively detect targets in low-light environments; visible light images provide rich texture details, facilitating precise target localization. Fusing infrared and visible images can significantly enhance object detection performance [28]. For instance, some studies use fused images as input to object detection models, thereby improving the recognition ability of targets in complex scenes [26].
Deep Learning-based Multi-modal Object Detection Methods: Deep learning techniques provide new solutions for multi-modal object detection. Some researchers utilize deep learning networks to learn feature representations of multi-modal images and integrate features from different modalities through fusion strategies [29]. For example, one study proposed a feature-level fusion-based infrared–visible image vehicle target detection method, which first obtains registered infrared–visible image pairs, extracts image features separately, and then performs fusion detection [28]. Enhanced Small Target Detection [30] proposed a small target detection method based on multi-modal image fusion and attention mechanisms. This method utilizes YOLOv5, integrating infrared and visible images to enhance the detection of small targets in complex environments. CTAFFNet [31] proposed a new Convolutional Neural Network (CNN)–Transformer Adaptive Feature Fusion Network (CTAFFNet) for object detection in complex traffic scenarios.

2.3. Perception Based on CNN and Transformer

To fully leverage the advantages of both CNN and Transformer, researchers have proposed various methods to combine them [32,33]. A common strategy is to use a CNN to extract local features of images and then feed these features into a Transformer for global information modeling. Another strategy is to stack CNN and Transformer in parallel and integrate their features through a fusion mechanism [25]. Such hybrid architectures have achieved good performance in various image perception tasks. FATCNet [30] proposed a Feature Adaptive Transformer and CNN for infrared small target detection. MSFCTNet [20] proposed a Multi-Scale Fusion CNN–Transformer Network for high-resolution remote sensing image change detection, aiming to improve change detection capability. Bridging CNN and Transformer [25] proposed a cross-attention fusion network for hyperspectral image classification. Improving RGB–infrared object detection [29] proposed a Cascaded Alignment-Guided Transformer. A Transformer-encoder-based multi-modal multi-attention fusion network [34] proposed a network for sentiment analysis. Transformer–CNN [35] proposed a network for small image object detection. Ref. [36] proposed a variant vision transformer for automatic localization of polyps in gastroscopic images.

3. Methods

3.1. Overall Framework

The proposed framework is designed to address the dual objectives of high-fidelity image fusion and robust object detection through a unified trainable architecture. Let I i r R H × W × C i n and I v i R H × W × C i n denote the aligned infrared and visible source images, respectively, and let I f R H × W × C o u t denote the fused image. Here, H, W, C i n , and C o u t represent the image height, width, input-channel number, and output-channel number, respectively. The objective is to aggregate complementary local and global information from the two modalities and improve scene perception for detection.
Based on the parallel principle, our proposed framework is shown in Figure 2. It is divided into four parts: Feature Extraction, Mutual Deformable Attention, Object Detection, and Image Reconstruction modules. This fully enables the perception of fine-grained detail information and the effective extraction of semantic information. The image fusion network generates the fused image, while the object detection network provides semantic features. Both tasks jointly constrain the network, enhancing the model’s robustness and interpretability.

3.2. Multi-Scale Feature Extraction

Unlike standard single-scale extraction, we employ a hierarchical encoder to capture semantic information at varying resolutions. The infrared image I i r and visible image I v i are fed into parallel backbone networks (e.g., ResNet or Swin Transformer variants) to extract multi-scale features. The feature extraction process can be formulated as
{ F i r l , F v i l } = { H e n c l ( I i r ) , H e n c l ( I v i ) } , l { 1,2 , 3 }
This provides a simple and effective way to extract local semantic information and map local information to a high-dimensional feature space. This process generates feature maps at resolutions of 1 2 , 1 4 and 1 8 of the input size. These multi-scale features provide rich local semantic context and are subsequently fed into the Mutual Deformable Attention module for cross-modal interaction.

3.3. Mutual Deformable Attention

To mitigate spatial interference caused by noise and data-corrupted regions, this paper proposes a Mutual Deformable Attention (MDA) module (illustrated in Figure 3) for effectively integrating discriminative features from infrared and visible modalities. Unlike conventional attention mechanisms that traverse all spatial positions, MDA aggregates features from only a small set of key sampling points near the reference query, with attention weights adaptively assigned to each position.
Specifically, let F i and F v denote the infrared and visible feature tensors at the l-th scale, respectively, where F i , F v R C d × H S × W S . The feature enhancement is achieved through a bidirectional interaction mechanism, i.e., Infrared-to-Visible and Visible-to-Infrared interactions:
I n f r a r e d 2 V i s i b l e : F i M u l D e A t t n ( q , F i ) V i s i b l e 2 I n f r a r e d : F v M u l D e A t t n ( q , F v )
For fine-grained fusion of multi-modal features, F Q denotes the query feature at the reference spatial position p q . The deformable attention applied to the infrared feature map is calculated as follows:
D e f o r m A t t n ( q , F i ) = k = 1 K A k × W V F i ( p q + Δ p k )
Here, K is the number of sampled positions. Δ p k and A k denote the learned offset and attention weight for the k-th sampling point, respectively, and the weights are normalized as follows:
k = 1 K A k = 1
The sampling offset Δ p k and attention weight A k are predicted from the query q by two independent linear layers. The operator F i ( p q + Δ p k ) denotes feature sampling at the shifted position, implemented with bilinear interpolation when the coordinates are fractional. We employ a multi-head attention mechanism:
M u l D e A t t n ( q , F i ) = m = 1 M W m D e f o r m A t t n ( q , F i )
where M denotes the number of attention heads and W m is the learnable projection matrix of the m-th head. Similarly, the deformable attention for the visible feature F v is formulated as
D e f o r m A t t n ( q , F v ) = k = 1 K A k × W V F v ( p q + Δ p k )
M u l D e A t t n ( q , F v ) = m = 1 M W m D e f o r m A t t n ( q , F v )
Finally, the fused feature F f is aggregated at spatial positions as
F f ( p q ) = q + M u l D e A t t n ( q , F i ) + M u l D e A t t n ( q , F v )
Thus, the model adaptively aggregates features at informative positions for each modality, which can reduce the influence of corrupted or low-quality regions rather than completely eliminate it.

3.4. Image Reconstruction

Upon aggregating complementary information from multi-modal sources, the fused deep features require a sophisticated decoding strategy to restore spatial fidelity. To achieve this, we devise a hierarchical reconstruction framework comprising a Transformer-based Deep Feature Reconstruction unit H D R and a CNN-based Image Reconstruction unit H I R . This design synergizes the global modeling capability of Transformers with the local texture synthesis strength of CNNs: H D R refines the fused features from a global perspective to ensure semantic consistency, while H I R recovers high-frequency shallow details to generate the final image.
Specifically, the H D R module incorporates three Swin Transformer layers to capture long-range dependencies, followed by the H I R module, which employs three convolutional layers to progressively reduce feature channels and synthesize the fused image I f . This cascaded reconstruction process is formulated as
I f = H I R ( H D R ( F f ) )
where the kernel size of the convolutional layers is 3 × 3 with a stride of 1.

3.5. Loss Function

The overall training objective of our proposed framework is driven by a joint loss function that balances the quality of the fused image and the accuracy of the object detection. As illustrated in Figure 1, our network consists of a multi-modal fusion module followed by two parallel branches: an Image Reconstruction branch for generating the fused image, and a Detection Head for predicting object categories and locations. Accordingly, the total loss function total L t o t a l is formulated as a weighted sum of the image fusion loss L f and the detection-driven loss L d :
L t o t a l = λ f u s × L f + λ d e t × L d
where λ f u s and λ d e t are hyperparameters used to control the trade-off between the visual quality of the fusion and the detection performance.

3.5.1. Image Fusion Loss

To ensure the fused image retains rich structural, textural, and intensity information from the source images (infrared and visible), the fusion loss L f is composed of three specific sub-loss terms:
L f = α × L s s i m + β × L t e x t + γ × L i n t
SSIM Loss ( L s s i m ): To preserve the structural similarity between the fused image I f and the source images I v i s and I i r , we employ the SSIM loss. It constrains the network to maintain luminance, contrast, and structure consistency:
L s s i m = w 1 × ( 1 s s i m ( I f , I 1 ) ) + w 2 × ( 1 s s i m ( I f , I 2 ) )
where s s i m ( ) denotes the structural similarity operation. In practice, we set w 1 = w 2 = 0.5 .
Texture Loss ( L t e x t ): To effectively aggregate texture details from the source images into a single fused image, the texture loss L t e x t is defined as
L t e x t = 1 H W I f max ( I 1 , I 2 ) 1
where denotes the Sobel gradient operator, | | denotes the absolute operation, 1 denotes the L 1 norm, and max ( ) denotes the element-wise maximum selection.
Intensity Loss ( L i n t ): To appropriately fuse the global intensity information of the source images, an intensity loss function is used to constrain the network model. The intensity loss is defined as
L int = 1 H W I f M ( I 1 , I 2 ) 1
where M ( · ) is the element-wise aggregation operation.

3.5.2. Detection-Driven Loss

Different from traditional fusion methods that focus solely on image quality metrics, our framework introduces a Detection Head (as shown in Figure 1) to provide semantic feedback. The detection-driven loss L d is calculated based on the output of this head. Following the standard object detection protocols (e.g., YOLO series), L d consists of classification loss and regression loss:
L d = L c l s + λ r e g × L r e g
Classification Loss ( L c l s ): We utilize the Cross-Entropy loss to minimize the discrepancy between the predicted probability distribution and the ground-truth labels. This forces the fusion network to enhance features relevant to object categories.
Regression Loss ( L r e g ): We adopt the Smooth L1 loss to optimize the bounding box coordinates, ensuring precise localization of objects within the fused scene.
By minimizing L d , the gradients are back-propagated to the multi-modal fusion module, effectively guiding it to generate a fused representation that maximizes the separability of object features, thus achieving a detection-driven fusion strategy.

4. Experiments

4.1. Experimental Settings

4.1.1. Datasets

To comprehensively evaluate the performance and generalization capability of the proposed method across diverse scenarios, we conduct experiments on five widely used public infrared–visible image datasets: M3FD [5], LLVIP [9], TNO [37], RoadScene [38], and MSRS [39]. These datasets cover a wide range of scenes from daily driving to extreme environments, providing a solid foundation for multi-modal fusion and detection research.
Analysis of Dataset Characteristics and Selection Rationale: M3FD [5] serves as the primary evaluation benchmark in this study. It is not only one of the larger, well-annotated infrared–visible detection datasets available but, more importantly, it encompasses eight different scene types (e.g., road, campus, smoke, forest) and various extreme imaging conditions (e.g., glare, rain, fog). This diversity allows us to systematically assess the model’s robustness and generalization against scene distribution shifts and complex environmental interference, moving beyond overfitting to a single ideal scenario. LLVIP [9] is specifically constructed for low-light vision tasks. In this dataset, visible images lose substantial texture and color information due to insufficient illumination, which acutely amplifies the complementary value of the infrared modality. Evaluating on LLVIP directly tests whether our fusion framework can effectively extract and integrate crucial thermal radiation information from infrared images to maintain detection performance when the visible modality is nearly ineffective. TNO [37] and RoadScene [38] are classic benchmarks in the infrared–visible image fusion field. Although they lack object detection annotations, they provide a large number of high-quality, registered image pairs. Conducting qualitative visual comparisons and quantitative fusion metric evaluations (e.g., EN, MI, VIF) on these datasets helps verify that our proposed method surpasses existing state-of-the-art methods in terms of pixel-level information fusion quality, ensuring the visual credibility of the fusion results. MSRS [39] provides not only image pairs but also semantic segmentation labels. This allows for additional task-driven analysis, such as investigating whether the fused images can improve semantic segmentation accuracy. This helps argue that the features generated by our method possess good transferability to multiple high-level vision tasks.
Discussion of Limitations: While the aforementioned datasets constitute a comprehensive test suite, they share certain common limitations that may affect the assessment of a model’s true generalization capability: (a) Scene Bias: The data is predominantly focused on road surveillance and driving perspectives, leaving generalization to other critical application domains (e.g., medical imaging, remote sensing) unverified; (b) Limited Object Categories: Annotations concentrate on a few common categories (e.g., person, car), providing insufficient examination of detection capability for rare or fine-grained objects; (c) Simulation-to-Reality Gap: Some adverse weather scenes (e.g., rain and fog in M3FD) may be simulated or limited, differing from the continuous, complex physical degradation processes in the real world. Future benchmark development should aim for broader application domains and more realistic physical degradation modeling.

4.1.2. Evaluation Metrics

To comprehensively evaluate the object detection performance and practical applicability of the proposed method, we adopt a multi-dimensional evaluation protocol encompassing accuracy, efficiency, and model complexity.
  • Detection Accuracy Metrics
We employ the widely recognized mean Average Precision (mAP) as the primary accuracy metric. The Average Precision (AP) for a single category is defined as the area under its precision–recall (P-R) curve:
A P = 0 1 P ( r ) d r
where P ( r ) denotes precision at recall level r . To assess performance under different localization strictness, we report: (1) mAP@50: The mean AP across all categories at an Intersection over Union (IoU) threshold of 0.50; (2) mAP@75: The mean AP across all categories at a stricter IoU threshold of 0.75; (3) mAP: The primary metric, calculated as the average AP for IoU thresholds ranging from 0.50 to 0.95 in steps of 0.05. This provides a holistic view of the detector’s performance across varying overlap criteria [40].
2.
Model Efficiency and Complexity Metrics
For real-world deployment, especially in latency-sensitive applications like autonomous driving, computational efficiency is crucial. Therefore, we supplement accuracy evaluation with the following metrics: (1) Processing Speed (FPS): Measured in frames per second on a standard GPU (NVIDIA RTX 3090, Santa Clara, CA, USA), representing the average throughput for processing a pair of visible and infrared images. Higher FPS indicates better suitability for real-time systems. (2) Model Parameters (Params): The total number of trainable parameters, reported in millions (M). This reflects the model’s memory footprint and storage requirement. (3) Computational Cost (FLOPs): The number of floating-point operations required for a single forward pass, reported in gigaFLOPs (G). This quantifies the theoretical computational burden, closely related to energy consumption.
These efficiency metrics allow for a direct comparison with state-of-the-art methods regarding the trade-off between accuracy and resource consumption, which is essential for assessing practical utility [41].

4.1.3. Implementation Details

All experiments are conducted using the PyTorch 3.8 framework. The model is optimized with Stochastic Gradient Descent (SGD) over 100 epochs with a batch size of 6. The hyperparameters that control the trade-off of each sub-loss term are empirically set as α = 10, β = 20, and γ = 20. Considering the computational cost of repeated training on multiple datasets, the current revision reports single-run results under fixed settings; therefore, the corresponding claims are limited to empirical benchmark comparisons rather than formal statistical significance.

4.2. Comparison with State-of-the-Art Models

4.2.1. Qualitative Comparison

To ensure comprehensiveness and fairness in the evaluation, this paper systematically evaluated different image fusion methods based on extensive qualitative visualization experiments across multiple public datasets. We selected current representative image fusion methods—IFCNN [3], SwinFusion [42] and PIAFusion [43]—for comparative experiments. Their fused visible–infrared image pairs were generated and further evaluated for performance in downstream object detection tasks. To ensure fairness and consistency, all fused images were processed using the YOLOv8 [44] object detection model, which also serves as the backbone of our proposed method. It should be noted that for some single-stage detection methods, object detection can be performed directly on the original modal images without prior image fusion. Therefore, in relevant experiments, we concatenated the original visible and infrared images and overlaid the detection results on the combined image for more intuitive result analysis and comparison.
To further verify the adaptability of the proposed method under different weather conditions, we conducted extended experiments on the M3FD [5] dataset, with relevant results shown in Figure 4 and Figure 5. This dataset includes several practically relevant complex-weather scenes. For example, under haze and smoke conditions, the visible modality is usually severely disturbed, making it difficult to provide clear target information, while the infrared modality has stronger penetration and target visibility. Therefore, fully utilizing the complementarity between the two modalities is particularly crucial for improving human body detection performance in smoke environments. However, under extreme conditions such as uneven smoke distribution and complex lighting, some fusion methods show significant deficiencies in target edge and detail extraction. In contrast, the proposed method uses an interactive Deformable Transformer module to capture target detail features, edge information, and contour structures, showing advantages in low-light, foggy, and other complex weather scenes. By enhancing the modeling ability of target details, it improves the perception and localization accuracy of objects in complex scenes, thereby achieving a deeper understanding of the differences and correlations between visible and infrared modalities, thereby improving detection accuracy in the evaluated scenes. To comprehensively evaluate the adaptability and generalization capability of the proposed method, we also conducted empirical tests on multiple multi-spectral datasets including MSRS, TNO, and RoadScene (results shown in Figure 6 and Figure 7). The visual comparisons suggest that the proposed method, by introducing the Mutual Deformable Transformer module and multi-task training constraints, can enhance the perception of target information at different spatial positions in visible and infrared modalities, further strengthening its edge and structural feature expression capabilities, indicating favorable robustness and detection accuracy in multi-modal fusion object detection tasks.
The proposed framework may still struggle when both modalities are severely degraded, e.g., dense smoke combined with low thermal contrast, strong thermal clutter, severe target occlusion, or imperfect VIS–IR registration. In such cases, the attention module may sample from ambiguous background regions, leading to missed detections of small pedestrians or inaccurate bounding boxes around partially visible vehicles. These cases indicate that the current method should be regarded as a robust architectural integration for common low-light and complex-weather scenes, rather than a complete solution for all adverse environments.

4.2.2. Quantitative Comparison

To ensure comprehensiveness and fairness in the evaluation, this paper utilized various image fusion methods, including PIAFusion [43] and SwinFusion [42], and selected current mainstream single-modal object detectors YOLOv5 and YOLOv7 [40] for performance comparison.
Table 1 shows the systematic quantitative comparison of various models on the FLIR dataset, using key performance metrics such as mAP@50 commonly used in object detection tasks. The table is divided into two parts, “single-modal models” and “multi-modal models”, to clearly present the detection capabilities of different methods under single-modal and multi-modal conditions. In the single-modal part, we evaluated the detection performance of YOLOv5 and YOLOv7 on visible (VIS) and infrared (IR) modalities separately. Taking YOLOv5 as an example, the model equipped with the CSPDarknet backbone achieved 67.8% mAP@50 under VIS modality and increased to 73.9% under IR modality, indicating significant differences in the model’s perception ability of targets under different modalities. In the multi-modal part, we focused on analyzing image fusion-based detection methods like PIAFusion and SwinFusion. Experimental results show that these methods generally outperform single-modal methods after fusing VIS and IR information, demonstrating stronger perception and generalization capabilities. For instance, the fusion model achieved 77.8% mAP@50 on the FLIR dataset, higher than the single-modal detection results, supporting the effectiveness of multi-modal fusion in improving object detection performance. Overall, multi-modal methods achieved better performance than single-modal methods on the FLIR dataset, especially obtaining higher mAP@50 in detection accuracy. It is worth noting that SwinFusion and PIAFusion have slight advantages in mAP@75 on FLIR, which may stem from aggressive fusion strategies for texture details under low-resolution inputs, while our method achieves the best performance in mAP@50, reflecting more robust general object localization capability while preserving key thermal features. This result further supports the effectiveness and practical value of our proposed multi-modal fusion detection framework in visible–infrared (VIS-IR) object detection tasks.
Table 2 shows the performance comparison results of various models on the M3FD [5] dataset. First, in the single-modal part, we evaluated two mainstream object detection methods: YOLOv5 and YOLOv7. Under visible (VIS) or infrared (IR) modalities, the mAP@50 scores of these two methods range between 66.9% and 70.8%, indicating good detection performance under a single modality. Furthermore, in the multi-modal detection part, we compared several single-stage fusion methods, including the detection effects of YOLOv5 and YOLOv7 after fusing VIS and IR images. The results show that multi-modal input significantly improves detection performance. Particularly noteworthy, the method proposed in this paper achieves the best results on both mAP@50 and mAP@75 metrics, reaching 74.2% and 42.1% respectively. This not only indicates that this method has strong detection capability in the challenging multi-modal detection scenario of the M3FD [5] dataset but also suggests its good computational efficiency and model complexity control while ensuring high detection accuracy.
Table 3 systematically compares the performance of various fusion models on the LLVIP dataset, covering single-stage and two-stage detection methods that fuse VIS and IR images. The experiment employed multiple evaluation metrics, including mAP@50 and mAP@75, to comprehensively evaluate the detection effectiveness of each method in low-light environments. Among all multi-modal methods, the method proposed in this paper performs particularly well, achieving mAP@50 and mAP@75 of 98.6% and 73.4% respectively, outperforming the other comparison models under the reported setting. These results support the advantage of our method in detecting targets like pedestrians under low-light conditions, showcasing its efficient utilization of complementary information between visible and infrared images. In summary, the proposed method demonstrates excellent performance on three representative datasets—FLIR, M3FD, and LLVIP—supporting its effectiveness and robustness in multi-modal object detection tasks.

4.2.3. Quantitative Analysis of Model Efficiency and Complexity

To comprehensively assess the practical potential of the proposed method, this section provides a quantitative analysis from the perspectives of model efficiency and computational complexity. As shown in Table 4, we compare the proposed method with two advanced baseline methods on three key metrics: Number of Parameters, Computational Cost (FLOPs), and Processing Speed (FPS).
Proposed Method vs. Baselines: (1) Parameters (M): Ours (3.25) > SwinFusion (3.09) > PIAFusion (1.18). Our higher count stems from the added deformable attention and detection head modules, trading parameter efficiency for enhanced feature interaction and task awareness. (2) FLOPs (G): PIAFusion (77.01) > SwinFusion (40.57) > Ours (18.50). Despite more parameters, our method achieves the lowest computational cost, benefiting from the efficient sparse computation of deformable attention and an optimized architecture. (3) Speed (FPS): PIAFusion (117.89) > Ours (4.50) > SwinFusion (1.90). Our inference speed is over twice that of SwinFusion, balancing performance with practical latency tolerance for applications like surveillance, though slower than the highly optimized PIAFusion.
Summary: Our method achieves the lowest FLOPs among the compared methods and faster inference than the Transformer-based SwinFusion baseline. It suggests a favorable balance between model capacity, computational burden, and runtime, supporting its core detection-aware fusion design.

4.3. Ablation Study

An ablation study was conducted on the M3FD [5] dataset, with the results presented in Table 5. Starting from a baseline detection model, we sequentially introduced the Multi-scale Feature Extraction (MFE) module, the Mutual Deformable Attention (MDA) module, and two sub-terms of the multi-task loss function—the feature-fusion loss term L f and the object-detection loss term L d —to progressively evaluate the contribution of each component to the overall performance.
The following observations can be drawn from the table:
(1)
Baseline (Row 1): Without any enhancement modules, the model achieved 60.3% mAP@50 and 33.9% mAP@75, establishing a performance baseline for subsequent comparisons.
(2)
Adding the MFE module (Row 2): mAP@50 increased to 64.1% and mAP@75 to 34.3%, indicating that Multi-scale Feature Extraction improves the model’s ability to capture target contours and edges across different scales, especially in complex backgrounds.
(3)
Further introducing the MDA module (Row 3): mAP@50 rose substantially to 68.9% and mAP@75 to 40.1%, demonstrating that MDA effectively guides the model to learn complementary features between visible and infrared modalities, thereby enhancing the quality of multi-modal information fusion.
(4)
Introducing the feature-fusion loss L f (Row 4): mAP@50 further improved to 71.5% and mAP@75 to 41.4%, confirming that this loss term plays a significant role in optimizing cross-modal feature alignment and reducing information redundancy caused by inter-modal discrepancies.
(5)
Introducing the object-detection loss L d (Row 5): The final configuration reached 74.2% mAP@50 and 42.1% mAP@75, yielding the best performance among all settings. This indicates that the discriminative enhancement constraint further strengthens the model’s ability to distinguish targets from the background, leading to higher detection accuracy, particularly in complex scenes.
The ablation study indicates that each major component contributes incremental performance gains under the tested setting, supporting the usefulness of the Multi-scale Feature Extraction module, the Mutual Deformable Attention module, and the two loss terms. Nevertheless, the current ablation focuses on major modules and the principal loss components. A more exhaustive analysis of hyperparameter sensitivity and fine-grained module interactions is left for future work.
In particular, the transition from Row 2 to Row 3 reflects the interaction between multi-scale features and deformable attention: the MFE module provides multi-resolution local cues, while the MDA module selectively samples cross-modal complementary information. Rows 4 and 5 further indicate that the image-fusion loss mainly improves cross-modal feature alignment, whereas the detection-driven loss encourages features that are more discriminative for object localization and classification. These observations are explanatory rather than a substitute for a full sensitivity analysis.
To further verify robustness under low-light conditions, we conduct comparative experiments on two representative low-light multi-modal datasets: M3FD [5] and LLVIP [9]. In such scenes, infrared images significantly accentuate the thermal-radiation characteristics of human targets, serving as a critical supplement when visible-image quality severely deteriorates. Unlike existing methods that often suffer from high false-alarm rates and severe missed detections, our proposed Mutual Deformable Transformer architecture and multi-task learning mechanism fully exploit complementary information between modalities, more effectively aligning their spatial and semantic features to improve detection accuracy.
Specifically, the Mutual Deformable Attention module enhances perception of target contours and edges, enabling stable identification even in low-light or cluttered backgrounds. The multi-task learning strategy improves feature discriminability and detection robustness through auxiliary constraints. Figure 8 illustrates accurate detection results on M3FD under complex weather and low-light conditions, while Figure 9 showcases strong performance on LLVIP in nighttime and extremely dark environments, verifying the method’s superior adaptability across a range of low-illumination scenes.
In conclusion, the experiments indicate that the proposed method exhibits favorable robustness under the evaluated low-light conditions, enhancing the practicality and reliability of multi-modal detection systems with broad application prospects.

5. Conclusions

This paper addresses several key challenges of infrared–visible image fusion in object detection tasks and proposes a multi-modal fusion detection framework based on the combination of Convolutional Neural Network (CNN) and Deformable Transformer. This framework comprehensively utilizes CNN’s ability for precise modeling of local details and Transformer’s advantages in capturing global dependency information, showing performance improvements in image feature extraction, modal complementary information fusion, and downstream detection tasks.
Specifically, we designed a detection-aware fusion mechanism, realizing joint optimization of the fusion process and detection objectives, which helps alleviate the information bottleneck problem inherent in traditional “fuse-then-detect” methods. Simultaneously, by introducing a dynamic modal weighting module, the model can adaptively adjust the importance weights of infrared and visible features based on scene semantics, achieving more precise feature fusion. Furthermore, addressing the scarcity of training samples for infrared images, this paper proposed a multi-spectral pre-training strategy, which aims to improve the model’s robustness and generalization capability in real complex environments.
Extensive experiments on multiple challenging multi-modal datasets, including M3FD and LLVIP, supported the effectiveness of the proposed method. The results show that the proposed model achieves competitive performance compared to existing mainstream methods in both object detection accuracy and robustness, with advantages under adverse conditions such as low-light and complex backgrounds.
Our method has limitations that suggest promising research avenues: (1) Small and Occluded Targets: Accuracy for small or heavily occluded objects needs improvement. Future work may involve multi-scale feature pyramids or occlusion-aware mechanisms. (2) Model Efficiency: The CNN–Transformer design increases complexity. Exploring lightweight Transformers, model compression, or efficient attention can aid edge deployment. (3) Broader Generalization: Validation is currently limited to road/surveillance scenes. Extending to medical image fusion, multi-focus fusion, and other downstream tasks (e.g., semantic segmentation) is warranted. (4) Hyperparameter Adaptation: The joint loss is sensitive to weight balancing. Automatically determining hyperparameter proportions would enhance robustness and reduce tuning effort. (5) Limited Statistical Validation and Ablation Depth: The current experiments report single-run benchmark results without confidence intervals or significance tests, and the ablation focuses on major components and principal loss terms. Future work should include repeated runs, confidence intervals, and more comprehensive analyses of hyperparameter sensitivity, loss contributions, and module interactions. (6) Failure Cases: Performance may degrade under extreme illumination, heavy noise, severe occlusion, thermal clutter, or inaccurate cross-modal registration. A systematic failure-case benchmark remains an important direction for future work.
In conclusion, this work presents a practical framework for infrared–visible image fusion that is cognizant of downstream detection needs. It offers an empirical reference for enhancing multi-modal perception systems in applications like autonomous driving and intelligent surveillance. Future efforts will focus on overcoming the aforementioned limitations to achieve more robust, efficient, and versatile multi-modal visual understanding.

Author Contributions

Conceptualization, X.W. and Q.F.; methodology, X.W.; software, B.L. and X.W.; validation, X.G. and M.Z.; data curation, P.Y.; writing—original draft preparation, X.W.; writing—review and editing, X.W. and P.Y.; visualization, X.G.; supervision, Q.F.; funding acquisition, Q.F. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the National Natural Science Foundation of China (Grant No. 62127813): Joint Funds of the National Natural Science Foundation of China (Grant No. U2341226) and the Jilin Provincial Talent Special Project (Grant No. 20240602015RC).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

The authors would like to express sincere gratitude to all individuals who have participated in and contributed to this research.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ma, J.; Ma, Y.; Li, C. Infrared and visible image fusion methods and applications: A survey. Inf. Fusion 2019, 45, 153–178. [Google Scholar] [CrossRef]
  2. Li, H.; Wu, X.J. DenseFuse: A fusion approach to infrared and visible images. IEEE Trans. Image Process. 2018, 28, 2614–2623. [Google Scholar] [CrossRef] [PubMed]
  3. Zhang, Y.; Liu, Y.; Sun, P.; Yan, H.; Zhao, X.; Zhang, L. IFCNN: A general image fusion framework based on convolutional neural network. Inf. Fusion 2020, 54, 99–118. [Google Scholar] [CrossRef]
  4. Tang, L.; Yuan, J.; Ma, J. Image fusion in the loop of high-level vision tasks: A semantic-aware real-time infrared and visible image fusion network. Inf. Fusion 2022, 82, 28–42. [Google Scholar] [CrossRef]
  5. Liu, J.; Fan, X.; Huang, Z.; Wu, G.; Liu, R.; Zhong, W.; Luo, Z. Target-aware dual adversarial learning and a multi-scenario multi-modality benchmark to fuse infrared and visible for object detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 18–24 June 2022; pp. 5802–5811. [Google Scholar]
  6. Li, H.; Ye, Z.; Hao, Y.; Lin, W.; Ye, C. DQO-MAP: Real-Time Object-Level SLAM with Dual Quadrics and Gaussians. IEEE Robot. Autom. Lett. 2025, 11, 1034–1041. [Google Scholar] [CrossRef]
  7. Liu, R.; Liu, J.; Jiang, Z.; Fan, X.; Luo, Z. A bilevel integrated model with data-driven layer ensemble for multi-modality image fusion. IEEE Trans. Image Process. 2020, 30, 1261–1274. [Google Scholar] [CrossRef]
  8. Liu, R.; Liu, Z.; Liu, J.; Fan, X. Searching a hierarchically aggregated fusion architecture for fast multi-modality image fusion. In Proceedings of the 29th ACM International Conference on Multimedia; Association for Computing Machinery: New York, NY, USA, 2021; pp. 1600–1608. [Google Scholar]
  9. Jia, X.; Zhu, C.; Li, M.; Tang, W.; Zhou, W. LLVIP: A visible-infrared paired dataset for low-light vision. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, BC, Canada, 11–17 October 2021; pp. 3496–3504. [Google Scholar]
  10. Zhang, S.; Fu, Q.; Duan, J.; Zhan, J.; Jiang, H. Low Contrast Target Polarization Recognition Technology Based on Lifting Wavelet. Acta Opt. Sin. 2015, 35, 0211002. [Google Scholar] [CrossRef]
  11. Zhang, S.; Peng, J.; Zhan, J.; Fu, Q.; Duan, J.; Jiang, H. Research of the Influence of Non-Spherical Ellipsoid Particle Parameter Variation on Polarization Characteristic of Light. Acta Phys. Sin. 2016, 65, 064205. [Google Scholar] [CrossRef]
  12. Zhang, Y.; Fu, Q.; Luo, K.; Yang, W.; Zhan, J.; Zhang, S.; Shi, H.; Li, Y.; Yu, H. Analysis of Two-Color Infrared Polarization Imaging Characteristics for Target Detection and Recognition. Photonics 2023, 10, 1181. [Google Scholar] [CrossRef]
  13. Wang, J.; Shi, H.; Liu, J.; Li, Y.; Fu, Q.; Wang, C.; Jiang, H. Compressive Space-Dimensional Dual-Coded Hyperspectral Polarimeter (CSDHP) and Interactive Design Method. Opt. Express 2023, 31, 9886–9903. [Google Scholar] [CrossRef]
  14. Zhang, S.; Zhan, J.; Fu, Q.; Jiang, H. Simulation Research on Sky Polarization Characteristics under Complicated Marine Environment. Acta Opt. Sin. 2020, 40, 2201001. [Google Scholar] [CrossRef]
  15. Li, H.; Xiao, Y.; Cheng, C.; Song, X. SFPFusion: An improved vision transformer combining super feature attention and wavelet-guided pooling for infrared and visible images fusion. Sensors 2023, 23, 7870. [Google Scholar] [CrossRef]
  16. Wang, D.; Liu, J.; Liu, R.; Fan, X. An interactively reinforced paradigm for joint infrared-visible image fusion and saliency object detection. Inf. Fusion 2023, 98, 101828. [Google Scholar] [CrossRef]
  17. Zhang, L.; Zhou, Q.; Tang, M.; Ding, X.; Yang, C.; Wei, C.; Zhou, Z. DDRF: Dual-branch decomposition and reconstruction architecture for infrared and visible image Fusion. Opt. Laser Technol. 2025, 181, 111991. [Google Scholar] [CrossRef]
  18. Hu, X.; Liu, Y.; Yang, F. PFCFuse: A Poolformer and CNN Fusion Network for Infrared-Visible Image Fusion. IEEE Trans. Instrum. Meas. 2024, 73, 5029714. [Google Scholar] [CrossRef]
  19. Nie, J.; Sun, H.; Sun, X.; Ni, L.; Gao, L. Cross-Modal Feature Fusion and Interaction Strategy for CNN-Transformer-Based Object Detection in Visual and Infrared Remote Sensing Imagery. IEEE Geosci. Remote Sens. Lett. 2024, 21, 5000405. [Google Scholar] [CrossRef]
  20. Zhang, C.M.; Yuan, C.; Luo, Y.; Zhou, X. MFT: Multi-scale fusion transformer for infrared and visible image fusion. In Artificial Neural Networks and Machine Learning—ICANN 2023; Springer Nature: Cham, Switzerland, 2023; pp. 485–496. [Google Scholar]
  21. Lv, H.; Deng, B.; Shi, C. Research On Multi-Source Image Fusion Target Detection Technology Based on Neural Network. J. Phys. Conf. Ser. 2021, 2033, 012139. [Google Scholar] [CrossRef]
  22. Li, H.; Ma, H.; Cheng, C.; Shen, Z.; Song, X.; Wu, X.-J. Conti-Fuse: A novel continuous decomposition-based fusion framework for infrared and visible Images. Inf. Fusion 2025, 117, 102839. [Google Scholar] [CrossRef]
  23. Yang, X.; Huo, H.; Li, C.; Liu, X.; Wang, W.; Wang, C. Semantic perceptive infrared and visible image fusion Transformer. Pattern Recognit. 2024, 149, 110223. [Google Scholar] [CrossRef]
  24. Park, S.; Vien, A.G.; Lee, C. Cross-Modal Transformers for Infrared and Visible Image Fusion. IEEE Trans. Circuits Syst. Video Technol. 2024, 34, 770–785. [Google Scholar] [CrossRef]
  25. Xu, F.; Mei, S.; Zhang, G.; Wang, N.; Du, Q. Bridging CNN and Transformer with Cross-Attention Fusion Network for Hyperspectral Image Classification. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5522214. [Google Scholar] [CrossRef]
  26. Jiang, Z.; Wu, Y.; Huang, L.; Gu, M. FDB-Net: Fusion double branch network combining CNN and transformer for medical image Segmentation. J. X-Ray Sci. Technol. Clin. Appl. Diagn. Ther. 2024, 32, 931–951. [Google Scholar] [CrossRef] [PubMed]
  27. Zhao, G.; Ding, J. Research on Multi-Modal Image Target Recognition Based on Asynchronous Depth Reinforcement Learning. Autom. Control Comput. Sci. 2022, 56, 253–260. [Google Scholar] [CrossRef]
  28. Xin, D.; Xu, L.; Chen, H.; Yang, X.; Zhang, R. A Vehicle Target Detection Method Based on Feature Level Fusion of Infrared and Visible Light Image. In 2022 34th Chinese Control and Decision Conference (CCDC); IEEE: Piscataway, NJ, USA, 2022; pp. 469–474. [Google Scholar]
  29. Yuan, M.; Shi, X.; Wang, N.; Wang, Y.; Wei, X. Improving RGB-infrared object detection with cascade alignment-guided Transformer. Inf. Fusion 2024, 105, 102246. [Google Scholar] [CrossRef]
  30. Liu, Y.; Dong, L.; Xu, W. Infrared and visible image fusion via salient object extraction and Low-light region Enhancement. Infrared Phys. Technol. 2022, 124, 104223. [Google Scholar] [CrossRef]
  31. Dong, X.; Shi, P.; Liang, T.; Yang, A. CTAFFNet: CNN–Transformer Adaptive Feature Fusion Object Detection Algorithm for Complex Traffic Scenarios. Transp. Res. Rec. J. Transp. Res. Board 2024, 2679, 1947–1965. [Google Scholar] [CrossRef]
  32. Gao, Y.; Pei, G.; Sheng, M.; Sun, Z.; Chen, T.; Yao, Y. Relating CNN-Transformer Fusion Network for Change Detection. arXiv 2024, arXiv:2407.03178. [Google Scholar] [CrossRef]
  33. Jiang, M.; Chen, Y.; Dong, Z.; Liu, X.; Zhang, X.; Zhang, H. Multiscale Fusion CNN-Transformer Network for High-Resolution Remote Sensing Image Change Detection. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2024, 17, 5280–5293. [Google Scholar] [CrossRef]
  34. Liu, C.; Wang, Y.; Yang, J. A Transformer-encoder-based multimodal multi-attention fusion network for sentiment Analysis. Appl. Intell. 2024, 54, 8415–8441. [Google Scholar] [CrossRef]
  35. Chen, Y.-L.; Lin, C.-L.; Lin, Y.-C.; Chen, T.-C. Transformer-CNN for small image object Detection. Signal Process. Image Commun. 2024, 129, 117194. [Google Scholar] [CrossRef]
  36. Qin, Z.; Zhang, Y.; Li, J.; Li, D.; Mo, Y.; Wang, L.; Qian, P.; Feng, L. A reconstruction and convolution operations enabled variant vision transformer with gastroscopic images for automatic locating of polyps in Internet of Medical Things. Inf. Fusion 2024, 101, 102007. [Google Scholar] [CrossRef]
  37. Toet, A. The TNO multiband image data collection. Data Brief 2017, 15, 249–251. [Google Scholar] [CrossRef] [PubMed]
  38. Xu, H.; Ma, J.; Jiang, J.; Guo, X.; Ling, H. U2Fusion: A unified unsupervised image fusion network. IEEE Trans. Pattern Anal. Mach. Intell. 2020, 44, 502–518. [Google Scholar] [CrossRef] [PubMed]
  39. Zhang, H.; Xu, H.; Tian, X.; Jiang, J.; Ma, J. Image fusion meets deep learning: A survey and perspective. Inf. Fusion 2021, 76, 323–336. [Google Scholar] [CrossRef]
  40. Redmon, J.; Divvala, S.; Girshick, R.; Farhadi, A. You only look once: Unified, real-time object detection. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 779–788. [Google Scholar]
  41. Zeng, Y.; Liang, T.; Jin, Y.; Li, Y. MMI-Det: Exploring multi-modal integration for visible and infrared object detection. IEEE Trans. Circuits Syst. Video Technol. 2024, 34, 11198–11213. [Google Scholar] [CrossRef]
  42. Ma, J.; Tang, L.; Fan, F.; Huang, J.; Mei, X.; Ma, Y. SwinFusion: Cross-domain long-range learning for general image fusion via swin transformer. IEEE/CAA J. Autom. Sin. 2022, 9, 1200–1217. [Google Scholar] [CrossRef]
  43. Tang, L.; Yuan, J.; Zhang, H.; Jiang, X.; Ma, J. PIAFusion: A progressive infrared and visible image fusion network based on illumination aware. Inf. Fusion 2022, 83, 79–92. [Google Scholar] [CrossRef]
  44. Jocher, G. *ultralytics/yolov8: V8.1.0—Oriented Bounding Boxes (OBB)*. 2024. Available online: https://github.com/ultralytics/ultralytics/releases/tag/v8.1.0 (accessed on 16 May 2026).
Figure 1. Multi-stages (joint cascaded).
Figure 1. Multi-stages (joint cascaded).
Jimaging 12 00219 g001
Figure 2. An overview of the proposed framework.
Figure 2. An overview of the proposed framework.
Jimaging 12 00219 g002
Figure 3. Structure of the Mutual Deformable Attention module.
Figure 3. Structure of the Mutual Deformable Attention module.
Jimaging 12 00219 g003
Figure 4. Qualitative comparison of different methods in the M3FD_Detection dataset.
Figure 4. Qualitative comparison of different methods in the M3FD_Detection dataset.
Jimaging 12 00219 g004
Figure 5. Qualitative comparison of different methods in the M3FD_Fusion dataset.
Figure 5. Qualitative comparison of different methods in the M3FD_Fusion dataset.
Jimaging 12 00219 g005
Figure 6. Qualitative comparison of different methods in the MSRS dataset.
Figure 6. Qualitative comparison of different methods in the MSRS dataset.
Jimaging 12 00219 g006
Figure 7. Qualitative comparison of different methods in the RoadScene and TNO dataset.
Figure 7. Qualitative comparison of different methods in the RoadScene and TNO dataset.
Jimaging 12 00219 g007
Figure 8. Detection results of the proposed method in the M3FD_Detection dataset.
Figure 8. Detection results of the proposed method in the M3FD_Detection dataset.
Jimaging 12 00219 g008
Figure 9. Detection results of the proposed method in the LLVIP dataset.
Figure 9. Detection results of the proposed method in the LLVIP dataset.
Jimaging 12 00219 g009
Table 1. Quantitative comparison of different methods on the FLIR dataset.
Table 1. Quantitative comparison of different methods on the FLIR dataset.
ModalitymAP50 (%)mAP75 (%)
YOLOv5VIS67.825.9
YOLOv5IR73.935.7
YOLOv7VIS70.232.7
YOLOv7IR75.632.2
IFCNNVIS + IR73.834.9
SwinFusionVIS + IR74.235.8
PIAFusinVIS + IR75.335.7
OursVIS + IR77.834.9
Table 2. Quantitative comparison of different methods on the M3FD dataset.
Table 2. Quantitative comparison of different methods on the M3FD dataset.
ModalitymAP50 (%)mAP75 (%)
YOLOv5VIS66.937.8
YOLOv5IR68.739.2
YOLOv7VIS69.338.1
YOLOv7IR70.840.7
IFCNNVIS + IR67.338.7
SwinFusionVIS + IR68.940.5
PIAFusinVIS + IR69.941.6
OursVIS + IR74.242.1
Table 3. Quantitative comparison of different methods on the LLVIP dataset.
Table 3. Quantitative comparison of different methods on the LLVIP dataset.
ModalitymAP50 (%)mAP75 (%)
YOLOv5VIS90.851.9
YOLOv5IR94.672.2
YOLOv7VIS91.952.9
YOLOv7IR96.072.9
IFCNNVIS + IR94.871.4
SwinFusionVIS + IR95.272.3
PIAFusinVIS + IR96.172.6
OursVIS + IR98.673.4
Table 4. Quantitative comparison of efficiency and complexity for different methods.
Table 4. Quantitative comparison of efficiency and complexity for different methods.
Parameters (M)FLOPs (G)Speed (FPS)
SwinFusion3.0940.571.90
PIAFusion1.1877.01117.89
Ours3.2518.504.50
Note: All FPS measurements are conducted on an NVIDIA RTX 3090 GPU with an input image resolution of 256 × 256 and a batch size of 1 .
Table 5. Ablation study on the M3FD dataset.
Table 5. Ablation study on the M3FD dataset.
IndexBaselineMFEMDA L f L d mAP50
(%)
mAP75
(%)
1 60.333.9
2 64.134.3
3 68.940.1
4 71.541.4
574.242.1
Note: The columns L f and L d denote the image fusion loss and the detection-driven loss defined in Equation (10), respectively. √ denotes that this entry introduces the corresponding module.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Wang, X.; Gu, X.; Li, B.; Zhang, M.; Yang, P.; Fu, Q. Visible–Infrared Fusion Based on CNN and Deformable Transformer. J. Imaging 2026, 12, 219. https://doi.org/10.3390/jimaging12060219

AMA Style

Wang X, Gu X, Li B, Zhang M, Yang P, Fu Q. Visible–Infrared Fusion Based on CNN and Deformable Transformer. Journal of Imaging. 2026; 12(6):219. https://doi.org/10.3390/jimaging12060219

Chicago/Turabian Style

Wang, Xiaoyi, Xiansong Gu, Bin Li, Mingqiang Zhang, Panpan Yang, and Qiang Fu. 2026. "Visible–Infrared Fusion Based on CNN and Deformable Transformer" Journal of Imaging 12, no. 6: 219. https://doi.org/10.3390/jimaging12060219

APA Style

Wang, X., Gu, X., Li, B., Zhang, M., Yang, P., & Fu, Q. (2026). Visible–Infrared Fusion Based on CNN and Deformable Transformer. Journal of Imaging, 12(6), 219. https://doi.org/10.3390/jimaging12060219

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop