Next Article in Journal
A Novel CNN Model for Classification of Chinese Historical Calligraphy Styles in Regular Script Font
Previous Article in Journal
Object Recognition and Grasping for Collaborative Robots Based on Vision
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Iterative Network for Disparity Prediction with Infrared and Visible Light Images Based on Common Features

MOE Key Laboratory of Optoelectronic Imaging Technology and System, Beijing Institute of Technology, Beijing 100081, China
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(1), 196; https://doi.org/10.3390/s24010196
Submission received: 21 October 2023 / Revised: 7 December 2023 / Accepted: 26 December 2023 / Published: 28 December 2023
(This article belongs to the Section Sensing and Imaging)

Abstract

:
In recent years, the range of applications that utilize multiband imaging has significantly expanded. However, it is difficult to utilize multichannel heterogeneous images to achieve a spectral complementarity advantage and obtain accurate depth prediction based on traditional systems. In this study, we investigate CFNet, an iterative prediction network, for disparity prediction with infrared and visible light images based on common features. CFNet consists of several components, including a common feature extraction subnetwork, context subnetwork, multimodal information acquisition subnetwork, and a cascaded convolutional gated recurrent subnetwork. It leverages the advantages of dual-band (infrared and visible light) imaging, considering semantic information, geometric structure, and local matching details within images to predict the disparity between heterogeneous image pairs accurately. CFNet demonstrates superior performance in recognized evaluation metrics and visual image observations when compared with other publicly available networks, offering an effective technical approach for practical heterogeneous image disparity prediction.

1. Introduction

Dual-band infrared–visible imaging technology is prevalent in the military sector, autonomous driving assistance systems [1], disaster relief robots [2], and small unmanned aerial vehicles (UAVs) [3]. It effectively facilitates visual tasks such as target identification [4], tracking [5], and scene enhancement [1,2,3]. Owing to constraints such as system volume, weight, and cost, a common configuration involves an infrared camera paired with a visible light camera to form a system for heterogeneous image acquisition. The visual tasks achieved through this image acquisition system typically utilize the two-dimensional information of the target scene, such as using visible light or infrared imaging during the day and only infrared imaging at night. Despite recent developments in visible light (low-light) and infrared dual-band fusion imaging technology that have enhanced the amount of information gathered from the target scene, the depth information obtained from the target scene is not yet sufficient. This limitation hampers the accurate and objective environmental perception of imaging systems [6]. Therefore, researching stereoscopic vision technology based on heterogeneous binocular information leverages the complementary nature of dual-band scene information to achieve target identification and tracking in complex environments. Furthermore, it simultaneously provides information regarding the relative spatial position, depth, and dimensions of the target scene [7].

2. Related Work

Previously, the feasibility of achieving binocular stereo vision using scene images from different spectral bands has been demonstrated. Visible light images exhibit rich color, texture, and edge details with high contrast, making them suitable for human observation and target discrimination. In contrast, infrared images reflect thermal radiation information from the observed environment [8,9] and possess strong smoke transmission capability while being less affected by lighting conditions. With the spread of research and application of deep learning in image processing, stereo-matching algorithms have evolved from traditional local, global, and semi-global optimization methods to deep learning-based stereo-matching algorithms [10]. Leveraging the complementary advantages of multiband sensors on existing heterogeneous imaging systems has become a significant research direction for binocular stereo-vision technology. Multispectral image stereo matching involves identifying corresponding feature points between heterogeneous image pairs to compute disparity values. Kim et al., in 2015, introduced the dense adaptive self-correlation (DASC) matching descriptor [11], which performed feature point matching on two spectral band images. In 2018, Zhi et al. proposed an unsupervised cross-spectral stereo-matching (CS-Stereo) method based on deep learning [12], consisting of disparity prediction and spectral transformation networks. An evaluation function for material perception was integrated into the disparity prediction network to handle unreliable matching regions such as light sources and glass. Liang et al. improved Zhi’s network structure in 2019 [13] by using a spectrally adversarial transformation network (F-cycleGAN) to enhance the quality of disparity prediction. In 2022, Liang et al. added a multispectral fusion subnetwork to the previous two network architectures [14], minimizing cross-spectral differences between visible light and near-infrared images through fusion. The aforementioned networks are more suitable for visible light–near-infrared image pairs with minor spectral differences; however, their performance is not ideal for visible light–thermal infrared image pairs with more significant spectral differences. In 2020, Li et al. proposed a depth prediction network called IVFuseNet, which extracts common features from infrared and visible light images [15]. However, it overlooks semantic image information, limiting its prediction accuracy.
In recent years, iterative networks have demonstrated promising performance in homogenous image stereo-matching tasks [16,17,18]. Lipson et al., in 2021, proposed RAFT-Stereo [16], which employs local loss values obtained from all-pair correlations to optimize and predict the disparity map iteratively. However, the capacity of this network for extracting and utilizing global information is insufficient and, thus, it struggles with local ambiguities in inappropriate regions. In 2023, Xu et al. [17] addressed the limitations of RAFT-Stereo by introducing the IGEV-Stereo network. This network constructs a structure through which to encode global geometry and contextual information, along with local matching details, enhancing the effectiveness of the iterative process. The IGEV-Stereo network was designed for the stereo matching of visible light image pairs. It processes input image pairs through a feature extraction subnetwork to obtain two feature maps from the left and right views. These maps are subjected to correlation calculations in order to generate a correlation volume, which is subsequently fed into a lightweight encoder–decoder structure to produce a geometry-encoding volume. This volume offers an improved initial disparity map for the iterative convolutional gated recurrent units (ConvGRUs), thus accelerating network updates. Furthermore, it incorporates global geometry and semantic information, enabling the network to better address local ambiguity issues in pathological regions.
In response to the limitations of existing methods for predicting disparities in heterogeneous image pairs, we propose an iterative network for disparity prediction with infrared and visible light images based on common features (CFNet). Building upon the extraction of common features, CFNet comprehensively considers the unique information from each heterogeneous image. It integrates global geometry, local matching, and individual semantic information from the heterogeneous images into a cascaded iterative optimization module. Furthermore, CFNet leverages the geometry-encoding volume produced with a three-dimensional (3D) regularization network, regresses it, and obtains an initial disparity value, thereby expediting convergence and reducing prediction errors.
The remainder of this article is structured as follows: Section 2 introduces the proposed method, detailing the structure and roles of various sub-modules within the network and the composition of the loss function. Section 3 compares our network’s experimental results with those of other methods and provides the outcomes of ablation experiments. Finally, Section 4 provides an overall evaluation of the network.

3. Methods

The proposed CFNet architecture is shown in Figure 1. The input consists of heterogeneous infrared–visible image pairs, which are initially processed through a common feature extraction subnetwork for feature extraction. The green blocks within the blue dashed box represent the common features extracted from both infrared and visible light images. The context subnetwork extracts semantic features from the heterogeneous images, serving as the initial hidden state for the convolutional gated recurrent units (ConvGRUs). The green dashed box contains the multimodal information acquisition subnetwork, wherein a 3D regularization network generates a geometry-encoding volume, and an attention feature volume is obtained using the values of the correlation volume as attention weights. These two features are combined and passed to the next network level. Additionally, the geometry-encoding volume is utilized to derive an initial disparity map, which accelerates network updates. In the cascaded convolutional gated recurrent subnetwork within the red dashed box, each ConvGRU level receives the joint encoding from the common feature extraction subnetwork, the contextual information of the heterogeneous images from the context network, and the disparity update information from the previous ConvGRU level. After multiple ConvGRU computations are performed, the disparity values are updated.

3.1. Common Feature Extraction Subnetwork

Despite the distinct characteristics exhibited by infrared thermal radiation images I l 1 × H × W and visible light images I r 3 × H × W —where H and W denote the length and width dimensions of the original image, and subscripts “l” and “r” designate the correspondence of the image to the left or right feature map groups, respectively—infrared images of various scenes contain the objects’ contour information due to variations in thermal radiation, while, in contrast, visible light images often exhibit edge contours owing to brightness or color differences. We refer to the similar features extracted from the same scene’s infrared–visible light image pair using coupled filters as “common features”, whereas the distinct differences displayed in their respective images, owing to spectral disparities, are termed “unique features”.
The common feature extraction subnetwork employs a dual-stream convolutional structure. In the downsampling stage, the filters in each layer are coupled, allowing for the extraction of common features from the infrared and visible light images. The filters used during the downsampling process in the common feature extraction subnetwork can be classified into three categories: filters for extracting unique features from the infrared image, filters for extracting unique features from the visible light image, and partially coupled filters for extracting common features from the heterogeneous image pair. Within this subnetwork’s dual-branch structure, the ratio of partially coupled filters to the total number of filters at the same sequential position in the convolutional layers is called the coupling ratio, denoted as Ri and defined as
R i = k i / n i ( i = 1 , 2 , 3 , 4 , 5 , 6 )
where, Ri represents the coupling ratio of the i-th convolutional layer, ki denotes the number of partially coupled filters, and ni indicates the total number of filters.
Due to spectral differences, thermal infrared images and visible light images exhibit significant differences in detail, although both images contain “common features”. Shallow networks extract textural information from images, whereas deeper networks focus more on the structural and semantic information of objects. Therefore, the network design of this segment involved gradually increasing the coupling ratio with the deepening of convolutional layers. The coupling ratios used in this network were 0, 0.25, 0.25, 0.5, 0.5, and 0.75. Compared to IVFuseNet [15], which employs pooling layers for downsampling, our proposed network employs consecutive convolutional layers to simultaneously achieve downsampling and extract higher-level semantic information from feature maps, enhancing the network’s feature extraction and fusion capabilities. Additionally, multiple small-sized convolutional kernels are utilized to replace the large-sized kernels. This reduces the parameter count and enhances the acquisition of structural information from feature maps, thereby improving the model’s generalization ability. After consecutive downsampling, a feature map group with an original resolution of 1/32 is obtained. Subsequently, upsampling blocks with skip connections are employed to restore the sizes of the left and right feature map groups to 1/4 of the original resolution, resulting in a multiscale feature map group:
f l , i C i × H i × W i f r , i C i × H i × W i
Here, Ci represents the number of feature channels, while f l , 4 and f r , 4 are utilized to construct the cost volume. The network flow of the downsampling process in the common feature extraction subnetwork is depicted in Figure 2, and its primary structure is presented in Table 1. The red dashed box represents the processing flow for infrared images, whereas the green dashed box corresponds to that for visible light images. The overlapping portion between the two represents the extraction of common features from the image pair using coupled filters.

3.2. Context Subnetwork

The input to the network consists of heterogeneous image pairs representing the left and right views. Owing to significant spectral differences between the images, the left and right views contain distinct contextual information. Therefore, this network extracts contextual information separately for each view. The context network comprises two branches with identical structures, each with a residual module series. First, the network generates feature map groups for the left and right views at resolutions of 1/4, 1/8, and 1/16 of the input image, with each feature map group having 64 channels. These feature map groups capture contextual information at different scales. Subsequently, feature map groups of the same size generated from the left and right views are stacked together. Finally, the contextual information obtained at different scales is used to initialize and update the hidden states of ConvGRU, and the evolution of its feature map group is shown in Figure 3.

3.3. Multimodal Information Acquisition Subnetwork

Different processes were applied to the feature map groups extracted from the left and right views to obtain a more comprehensive geometric structure and local matching information from the heterogeneous image pair in the multimodal information acquisition subnetwork.
The extracted feature map groups from the left and right views constructed a correlation volume. These feature map groups, f l , 4 and f r , 4 , were divided into g = 8 groups along the channel dimension, and the correlation mapping is computed for each group by
C c o r r ( g , d , x , y ) = 1 N c / g f l , 4 ( x , y ) , f r , 4 ( x d , y )
where x and y represent the pixel coordinates of feature points in the feature map; d is the disparity index, with values ranging from 0 to 192; Nc denotes the number of feature channels; and , indicates the inner product.
Since the cost volume C c o r r , based on feature correlation, focuses solely on local geometric information, this does not facilitate the network’s utilization of global image information to achieve better stereo-matching results. Inspired by the CEGV structure of the IGEV-Stereo network [17], a 3D regularization network, denoted as R, was employed to further process the corresponding cost volume of the left feature map group C c o r r l . R is a lightweight encoder–decoder network; whereas the upsampling and downsampling modules consist of 3D convolutions, this network effectively extracts and propagates feature information from the feature map groups of different scales [19], resulting in an encoded volume C G that combines global geometry and semantic information. The generation process is as follows:
C G = R ( C c o r r l )
Then, the corresponding cost volume of the right feature map group C c o r r r was further encoded for matching and semantic information through the construction of an attention feature volume [20,21]. This was primarily due to the significant spectral differences between the input heterogeneous image pair, where different views contain more distinct semantic information. Using the cost volume values as attention weights efficiently enhances the extraction of image features.
The construction of the attention feature volume initially involves adjusting the channel count of the cost volume C c o r r r using a 3 × 3 convolution operation to obtain a weight matrix, A c o r r . Subsequently, two consecutive 1 × 1 convolution operations are applied to adjust the channel count of the right feature map group f r , 4 to 8, followed by activation using the sigmoid function to generate the adjustment matrix F r . Finally, the attention feature volume V A F is computed as
V A F = A c o r r   F r
where represents the Hadamard product, indicating element-wise multiplication between two matrices.
We further downsampled C G and V A F to obtain two pyramid-structured feature map groups of the same size. Stacking these two pyramid-structured feature map groups at corresponding positions results in a new pyramid-level-structured feature map group called the joint encoding volume, C v .

3.4. Cascaded Convolutional Gated Recurrent Subnetwork

Deep feature maps contain more semantic information and larger receptive fields, making networks more robust in stereo matching within non-textured or repetitively textured regions. However, these feature maps may require more fine structural details. To strike a balance between network robustness and the perceptual ability for image details [17], the network also employs the ConvGRU structure for the iterative optimization of disparity values.
The initial disparity map d0 is first computed from the geometry-encoding volume (CG) using the soft-argmin method, where
d 0 = d = 0 D 1 d × softmax ( C G ( d ) )
Starting from d0, the ConvGRU modules are utilized for iterative disparity map updates to aid in rapid convergence optimization of the disparity computation. Each level of ConvGRU accepts the joint encoding volume C v , the semantic features extracted with the context subnetwork, and the disparity update information passed from the previous ConvGRU level. As shown in Figure 4, from employing a 3-level ConvGRU, feature maps with sizes corresponding to 1/16, 1/8, and 1/4 of the original input image are processed. The information within the feature maps is connected using pooling and upsampling operations, and the outputs of the previous ConvGRU levels are cascaded as input hidden states to the subsequent ConvGRU level. Ultimately, the disparity map is updated using the output from the final level (denoted in green) ConvGRU.
After the computations through the multilevel ConvGRU, the updated disparity map Δ d i is obtained for updating the current disparity value di as follows:
d i + 1 = d i + Δ d i   i = 0 , 1 , 2 N 1

3.5. Loss Function

The computation of the loss value can be divided into two parts. Using the initial disparity map d0 and all disparity prediction results, d i i = 1 N , obtained after each iteration of ConvGRU to calculate L1 loss, the final expression for the loss function is as follows:
L s t e r e o = Smooth L 1 ( d 0 d g t ) + i = 1 N γ N i d i d g t 1
where d0 represents the initial disparity map; dgt represents the transformation of distance information acquired using a LiDAR sensor into a corresponding disparity map aligned with the left view, set as the ground truth map in this study; γ is set to 0.9 within the network, and the number of forward passes for disparity updates was is to 22; and Smooth L 1 serves as a smoothing loss function and is calculated as follows:
S m o o t h L 1 ( d 0 d g t ) = 0.5 ( d 0 d g t ) 2 d 0 d g t < 1 d 0 d g t 0.5 o t h e r w i s e

4. Experimental Procedure

4.1. Experimental Dataset and Evaluation Benchmark

The experimental data consist of two parts: the publicly available multispectral dataset, KAIST [22], and the data obtained from a self-designed and constructed data acquisition system, which contains thermal infrared–visible light image pairs and corresponding disparity maps. The KAIST multispectral dataset [22] encompasses heterogeneous images captured in various settings such as road scenes in urban and rural areas, covering both daytime and evening scenarios, with the scenes mainly including vehicles, pedestrians, and traffic signs. The primary reason for selecting the KAIST dataset was its inclusion of stereo-rectified pairs of thermal infrared and visible light images, along with distance information obtained through a LiDAR sensor for objects in the scene. The self-designed data acquisition system in this study consists of a fixed arrangement with a visible light camera, a thermal infrared camera, and a LiDAR, as shown in Figure 5. On the left is the thermal infrared camera, in the middle is the LiDAR, and on the right is the visible light camera. The specific parameters of the equipment are detailed in Table 2 and Table 3. The two cameras captured the left and right views. The Livox Avia LiDAR was employed to acquire distance information, then, the distance information was converted to the ground truth disparity map based on the baseline length and focal length obtained from the stereo calibration of the camera system. The ground truth disparity map was subsequently used to calculate the loss with the predicted di as well as initial and final disparity maps obtained from the network. The data collection primarily focused on on-campus environments and mainly included parked vehicles and people in a stationary state. Approximately 300 sets of data were collected in total, and the dataset was divided into training and test sets in an 8:2 ratio.
To train and evaluate the stereo disparity prediction methods, we divided the KAIST dataset [22] into training and testing sets in a ratio of 29:1. The training set was used for training the network, whereas the testing set was employed to predict disparities using various network models. Widely recognized evaluation metrics [23] were then utilized to assess the performance of different stereo disparity prediction methods objectively. The specific evaluation metrics and their computation methods are presented in Table 4. As shown, represents the ground truth disparity value, and denotes the predicted disparity value; the units for both are pixels. The root mean square error (RMSE), logarithmically scaled RMSE (log10 RMSE), absolute relative difference (Abs Rel), and squared relative difference (Sq Rel) were used to quantify differences between the predicted and ground truth values. A lower computed value indicates a higher prediction accuracy of the network. Threshold accuracy measures the similarity between the predicted and ground truth disparities, with higher computed values indicating better network prediction accuracy.

4.2. Implementation Details

The network was trained using the KAIST dataset [22], a batch size of 4, and 12,000 steps. The entire training process was conducted on two NVIDIA RTX 3090 GPUs. The variation in loss values during the training process is depicted in Figure 6. During network training, the gradients were adjusted to the range of [−1, 1]. The AdamW optimizer was employed to update the network parameters, and a one-cycle learning rate adjustment strategy was used, with a maximum learning rate of 0.0002. The variation in the learning rate is shown in Figure 7.

4.3. Experimental Results

The performance of CFNet was compared with other publicly available networks such as DASC [11], CS-Stereo [12], IVFN [15], and CREStereo [18]. For networks initially designed for infrared–visible light stereo matching, pre-trained weight files were directly loaded into the network for testing. Networks that were initially designed for visible light stereo matching were trained on the same dataset before being evaluated. We evaluated the prediction results of various methods using similar metrics to compare the networks. Table 5 presents detailed evaluation and prediction results. Figure 8 shows the disparity prediction results obtained from a subset of heterogeneous image pairs in the testing dataset [22]. Figure 9 displays the disparity prediction results obtained from a subset of heterogeneous image pairs in the self-collected dataset.
DASC, a traditional method [11], can be directly applied to heterogeneous image stereo matching without extensive training. However, its generalization to different scenes is limited due to its manual feature extraction, which only utilizes partial image information. Moreover, setting empirical parameters significantly affects its matching performance, leading to suboptimal results. The CS-Stereo network [12] combines spectral translation and disparity prediction networks. To predict disparities, cross-spectral translation of two different spectral images is required. The network generates pseudo-images from real images and calculates disparities for both, with the main error originating from pixel-level translation inaccuracies. Given the substantial spectral differences between thermal infrared and visible light heterogeneous image pairs, achieving accurate cross-spectral translation poses significant challenges, resulting in unsatisfactory prediction performance. IVFuseNet [15] uses a dedicated subnetwork to extract common features from heterogeneous image pairs. This design captures both common and unique features of the heterogeneous images, effectively utilizing their complementary information. However, IVFuseNet does not fully exploit semantic information from images, leading to suboptimal performance in regions with large texture-less areas or repetitive structures. Regarding the CREStereo network [18], its iterative optimization approach aids in generating high-resolution disparity maps. However, it lacks the utilization of complementary information in heterogeneous image pairs. Additionally, when using the ConvGRU module, setting the initial value of disparity to 0 reduces the optimization efficiency of the network during the training process.
CFNet achieves the best evaluation metrics compared to publicly available networks, with the lowest values for RMSE, Log10 RMSE, Abs Rel, and Sq Rel. These results indicate that the disparities predicted with the network are closest to the ground truth disparities. Furthermore, examining its accuracy across different thresholds reveals that deviations between predicted and ground truth disparities are consistently controlled within a certain range throughout the image. This demonstrates the robustness of our method in predicting disparities across various environmental conditions and providing reliable depth estimations for objects in the image. We employed multilevel partial-coupling filters in the common feature extraction subnetwork to leverage the complementary advantages of thermal infrared and visible light images. This approach enabled the partial common features in both images to be treated as auxiliary variables in the feature extraction process. Additionally, we optimized the inputs of the network’s iterative modules to balance global structural information, local matching details, and semantic information from both heterogeneous images. This enhancement contributed to the effectiveness of disparity updates in each iteration module. As shown in Figure 8, our proposed network accurately predicts disparities for large objects on the road, such as vehicles at different distances. The contours of vehicles in the disparity map are more distinct and complete. The network successfully identifies and predicts the posts of traffic signs and, even in the presence of repetitive textural information on road barriers, achieves robust matching results, clearly distinguishing different barrier distances in the disparity map. Furthermore, as shown in Figure 9, the network demonstrates good generalization performance in various environments. After transfer training using our custom dataset, the network accurately predicted disparities for closely spaced vehicles in a parking lot and accurately represented them in the disparity map. The network can also reliably match continuous fences and lamp posts, yielding clear indications in the disparity map. Multiple experimental results substantiate that our proposed network achieves high-quality stereo matching for heterogeneous image pairs, and its visualized results surpass those of other methods.

4.4. Ablation Experiments

We conducted ablation experiments to evaluate the impact of each module on the generalization ability and prediction accuracy of the proposed network. We used the IGEV-Stereo network as the baseline. As presented in Table 6, we compared the performance of the baseline network with that of the network improved by addition of the common feature extraction network or the multimodal information acquisition network to validate the effectiveness of each submodule. After partially coupled filters were used in the feature extraction module, the Abs Rel error between the predicted results and ground truth values decreased. This is primarily because we leveraged the complementarity of the heterogeneous image pair and used visible light and thermal infrared images as auxiliary variables for feature extraction from each other. When processing the feature maps extracted from the left and right views, semantic information was not solely extracted from the left feature maps. Instead, we used different modules to extract the global geometric information, local matching information, and their respective semantic information separately from different feature maps. This enabled the network to obtain comprehensive information from heterogeneous image pairs. Integrating this information and feeding it into the subsequent iterative modules improved the prediction accuracy of the network.

5. Conclusions

In addressing the challenge of stereo matching for heterogeneous infrared–visible image pairs, this study presented CFNet, an iterative network for predicting disparity with infrared and visible light images based on common features. Compared to other networks, the CFNet integrates a common feature extraction subnetwork with cascaded convolutional gated recurrent subnetwork, which enables the network to effectively harness the complementary advantages of both spectral domains, incorporating semantic information, geometric structure, and local matching details in the images. This results in more accurate disparity predictions for scenes within heterogeneous image pairs. Existing methods have not exploited the complementary information in heterogeneous images or have not effectively utilized the semantic information from images. Additionally, an initial disparity value of 0 leads to use of more training iterations, which reduces the optimization efficiency. The disparity prediction performance of CFNet surpassed those of other methods, as evidenced by the superior results in recognized evaluation metrics (RMSE, log10 RMSE, Abs Rel, and Sq Rel). Visualizing the predicted disparity maps further demonstrated the superiority of CFNet compared to other publicly available networks.
Currently, parallel optical paths in multispectral imaging systems have extensive applications, often in switching or fusion imaging modes. However, these systems do not effectively utilize their field of view to acquire disparity information. CFNet directly leverages the heterogenous infrared–visible image pairs for stereo matching, enabling the system to perceive the disparity information from the image pairs without additional sensors. This approach enhances the system’s ability to perceive the surrounding environment while avoiding hardware complexity. Consequently, the system’s overall structure becomes more conducive to integrated design and precise calibration, facilitating the broader adoption of heterogeneous image acquisition systems.

Author Contributions

Conceptualization, Z.Z. and L.L.; methodology, software, formal analysis, validation, and writing—original draft preparation, Z.Z.; writing—review and editing, Z.Z., L.L. and W.J.; data curation, Z.Z. and Z.Q.; resources, project administration, and funding acquisition, L.L. and W.J. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Natural Science Foundation of China (61871034) and the 14th Five-Year Plan Pre-study Foundation (50914020206).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

We used three public datasets: KAIST: https://github.com/SoonminHwang/rgbt-ped-detection (accessed on 18 May 2023).

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

FOVField of view
RMSERoot mean square error
Log RMSERMSE of log10
Abs RelAbsolute relative difference
Sq RelSquared relative difference

References

  1. Chen, Z.; Huang, X. Pedestrian Detection for Autonomous Vehicle Using Multi-Spectral Cameras. IEEE Trans. Intell. Veh. 2019, 4, 211–219. [Google Scholar] [CrossRef]
  2. Banuls, A.; Mandow, A.; Vázquez-Martín, R.; Morales, J.; García-Cerezo, A. Object detection from thermal infrared and visible light cameras in search and rescue scenes. In Proceedings of the IEEE International Symposium on Safety, Security, and Rescue Robotics, Abu Dhabi, United Arab Emirates, 4–6 November 2020; IEEE: Piscataway, NJ, USA, 2020; Volume 2020, pp. 380–386. [Google Scholar]
  3. Li, J.; Peng, Y.; Jiang, T. Embedded real-time infrared and visible image fusion for UAV surveillance. J. Real-Time Image Process. 2021, 18, 2331–2345. [Google Scholar] [CrossRef]
  4. Zhao, J.; Zhou, B.; Wang, G.; Ying, J.; Liu, J.; Chen, Q. Spectral Camouflage Characteristics and Recognition Ability of Targets Based on Visible/Near-Infrared Hyperspectral Images. Photonics 2022, 9, 957. [Google Scholar] [CrossRef]
  5. Gao, Z.; Li, D.; Wen, G.; Kuai, Y.; Chen, R. Drone Based RGBT Tracking with Dual-Feature Aggregation Network. Drones 2023, 7, 585. [Google Scholar] [CrossRef]
  6. Zhou, K.; Yang, K.; Wang, K. Panoramic depth estimation via supervised and unsupervised learning in indoor scenes. Appl. Opt. 2021, 60, 8188–8197. [Google Scholar] [CrossRef] [PubMed]
  7. Kou, L.; Yang, K.; Luo, L.; Zhang, Y.; Li, J.; Wang, Y.; Xie, L. Binocular stereo matching of real scenes based on a convolutional neural network and computer graphics. Opt. Express 2021, 29, 26876–26893. [Google Scholar] [CrossRef] [PubMed]
  8. Li, H.; Wang, S.; Bai, Z.; Wang, H.; Li, S.; Wen, S. Research on 3D Reconstruction of Binocular Vision Based on Thermal Infrared. Sensors 2023, 23, 7372. [Google Scholar] [CrossRef] [PubMed]
  9. Tong, Y.; Liu, L.; Zhao, M.; Chen, J.; Li, H. Adaptive fusion algorithm of heterogeneous sensor networks under different illumination conditions. Signal Process. 2016, 126, 149–158. [Google Scholar] [CrossRef]
  10. Wang, J.; Zhou, W.; Qian, Z.; Shen, J.; Guo, H. Occlusion disparity refinement for stereo matching through the geometric prior-based adaptive label search. J. Opt. Soc. Am. A Opt. Image Sci. Vis. 2021, 38, 1619–1630. [Google Scholar] [CrossRef] [PubMed]
  11. Kim, S.; Min, D.; Ham, B.; Ryu, S.; Do, M.N.; Sohn, K. DASC: Dense adaptive self-correlation descriptor for multi-modal and multi-spectral correspondence. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA, 7–12 June 2015; IEEE: Piscataway, NJ, USA, 2015; pp. 2103–2112. [Google Scholar]
  12. Zhi, T.; Pires, B.; Hebert, M.; Narasimhan, S. Deep material-aware cross-spectral stereo matching. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 1916–1925. [Google Scholar]
  13. Liang, M.; Guo, X.; Li, H.; Wang, X.; Song, Y. Unsupervised cross-spectral stereo matching by learning to synthesize. In Proceedings of the AAAI Conference on Artificial Intelligence, Honolulu, HI, USA, 27–28 January 2019; AAAI Press: Washington, DC, USA, 2019; Volume 33, pp. 8706–8713. [Google Scholar]
  14. Liang, X.; Jung, C. Deep cross spectral stereo matching using multi-spectral image fusion. IEEE Robot. Autom. Lett. 2022, 7, 5373–5380. [Google Scholar] [CrossRef]
  15. Li, Y.; Zhao, H.; Hu, Z.; Wang, Y.; Chen, Y. IVFuseNet: Fusion of infrared and visible light images for depth prediction. Inf. Fusion 2020, 58, 1–12. [Google Scholar] [CrossRef]
  16. Lipson, L.; Teed, Z.; Deng, J. Raft-stereo: Multilevel recurrent field transforms for stereo matching. In Proceedings of the International Conference on 3D Vision, London, UK, 1–3 December 2021; IEEE: Piscataway, NJ, USA, 2021; Volume 2021, pp. 218–227. [Google Scholar]
  17. Xu, G.; Wang, X.; Ding, X.; Yang, X. Iterative geometry encoding volume for stereo matching. arXiv 2023, arXiv:2303.06615. [Google Scholar]
  18. Li, J.; Wang, P.; Xiong, P.; Cai, T.; Yan, Z.; Yang, L.; Liu, J.; Fan, H.; Liu, S. Practical stereo matching via cascaded recurrent network with adaptive correlation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 18–24 June 2022; IEEE: Piscataway, NJ, USA, 2022; pp. 16263–16272. [Google Scholar]
  19. Liu, B.; Chen, K.; Peng, S.-L.; Zhao, M. Adaptive Aggregate Stereo Matching Network with Depth Map Super-Resolution. Sensors 2022, 22, 4548. [Google Scholar] [CrossRef] [PubMed]
  20. Xu, G.; Zhou, H.; Yang, X. CGI-stereo: Accurate and real-time stereo matching via context and geometry interaction. arXiv 2023, arXiv:2301.02789. [Google Scholar]
  21. Quan, Z.; Wu, B.; Luo, L. An Image Stereo Matching Algorithm with Multi-Spectral Attention Mechanism. Sensors 2023, 23, 8179. [Google Scholar] [CrossRef] [PubMed]
  22. Kim, N.; Choi, Y.; Hwang, S.; Kweon, I. Multispectral transfer network: Unsupervised depth estimation for all-day vision. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence, New Orleans, LA, USA, 2–7 February 2018; AAAI Press: Washington, DC, USA, 2018; Volume 32. [Google Scholar]
  23. Eigen, D.; Puhrsch, C.; Fergus, R. Depth map prediction from a single image using a multi-scale deep network. Adv. Neural Inf. Process. Syst. 2014, 2, 2366–2374. [Google Scholar]
Figure 1. Overview of the proposed network.
Figure 1. Overview of the proposed network.
Sensors 24 00196 g001
Figure 2. Downsampling process of the common feature extraction subnetwork for image pairs.
Figure 2. Downsampling process of the common feature extraction subnetwork for image pairs.
Sensors 24 00196 g002
Figure 3. Evolutionary process of the feature map group in the context subnetwork.
Figure 3. Evolutionary process of the feature map group in the context subnetwork.
Sensors 24 00196 g003
Figure 4. Multilevel ConvGRU.
Figure 4. Multilevel ConvGRU.
Sensors 24 00196 g004
Figure 5. Structural design of the data acquisition equipment.
Figure 5. Structural design of the data acquisition equipment.
Sensors 24 00196 g005
Figure 6. Loss value variation curve.
Figure 6. Loss value variation curve.
Sensors 24 00196 g006
Figure 7. Learning rate variation curve.
Figure 7. Learning rate variation curve.
Sensors 24 00196 g007
Figure 8. Comparison of experimental results using the testing dataset: (a) thermal infrared image, (b) visible light image, (c) DASC, (d) CS-Stereo, (e) IVFuseNet, (f) CREStereo, and (g) our network.
Figure 8. Comparison of experimental results using the testing dataset: (a) thermal infrared image, (b) visible light image, (c) DASC, (d) CS-Stereo, (e) IVFuseNet, (f) CREStereo, and (g) our network.
Sensors 24 00196 g008
Figure 9. Comparison of experimental results using the custom dataset: (a) thermal infrared image, (b) visible light image, (c) DASC, (d) CS-Stereo, (e) IVFuseNet, (f) CREStereo, and (g) our network.
Figure 9. Comparison of experimental results using the custom dataset: (a) thermal infrared image, (b) visible light image, (c) DASC, (d) CS-Stereo, (e) IVFuseNet, (f) CREStereo, and (g) our network.
Sensors 24 00196 g009
Table 1. Structure of the common feature extraction in the downsampling process.
Table 1. Structure of the common feature extraction in the downsampling process.
LayersKernelStridesChannelsOutput SizeCouple Ratio
Conv13 × 3116448 × 5120
Conv23 × 3232224 × 2560.25
Conv33 × 3248112 × 1280.25
Conv43 × 326456 × 640.5
Conv53 × 3219228 × 320.5
Conv63 × 3216014 × 160.75
Table 2. Specific parameters of the cameras.
Table 2. Specific parameters of the cameras.
Camera TypePixel SizeResolutionFocal LengthField of View
Visible Light Camera2.4 μm3072 × 20486 mm63.1° × 44.5°
Infrared Camera17 μm640 × 51225 mm24.6° × 19.8°
Table 3. Specific parameters of the LiDAR.
Table 3. Specific parameters of the LiDAR.
Scanning FOVMaximum Detection RangeAccuracyLaser Wavelength
70.4° × 77.2°450 m±20 mm905 nm
Table 4. Evaluation metrics and calculation methods.
Table 4. Evaluation metrics and calculation methods.
Evaluation MetricCalculation Method
Root mean square error (RMSE) 1 N i N y i y i * 2
RMSE of log10 (log10 RMSE) 1 N i N log 10 y i log 10 y i * 2
Absolute relative difference 1 N i N y i y i * / y i *
Squared relative difference 1 N i N y i y i * 2 / y i *
Threshold: % of y i s.t. max ( y i y i * , y i * y i ) = δ < t h r
Table 5. The present study’s results: CFNet compared with other methods.
Table 5. The present study’s results: CFNet compared with other methods.
MethodRMSELog RMSEAbs RelSq Rel δ < 1.25 1 δ < 1.25 2 δ < 1.25 3
DASC9.82570.39811.361814.54040.09810.19060.2941
CS-Stereo5.59060.33871.14288.61460.25870.42120.5715
IVFN1.38570.09590.15930.25160.55890.74380.8541
CREStereo1.46630.12850.18350.35840.63550.83730.9414
CFNet1.37430.09130.14320.23140.85970.93590.9731
Table 6. Ablation study of the proposed networks.
Table 6. Ablation study of the proposed networks.
Baseline ModelBaseline + Common
Feature Extraction
Subnetwork
Baseline + Multimodal
Information Acquisition
Subnetwork
Complete Model
RMSE1.42231.40271.38011.3743
Abs Rel0.15880.15370.15200.1432
δ < 1.25 1 0.83310.84060.85150.8597
δ < 1.25 3 0.96780.97270.97280.9731
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

Zhang, Z.; Li, L.; Jin, W.; Qu, Z. Iterative Network for Disparity Prediction with Infrared and Visible Light Images Based on Common Features. Sensors 2024, 24, 196. https://doi.org/10.3390/s24010196

AMA Style

Zhang Z, Li L, Jin W, Qu Z. Iterative Network for Disparity Prediction with Infrared and Visible Light Images Based on Common Features. Sensors. 2024; 24(1):196. https://doi.org/10.3390/s24010196

Chicago/Turabian Style

Zhang, Ziang, Li Li, Weiqi Jin, and Zanxi Qu. 2024. "Iterative Network for Disparity Prediction with Infrared and Visible Light Images Based on Common Features" Sensors 24, no. 1: 196. https://doi.org/10.3390/s24010196

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

Article Metrics

Back to TopTop