Infrared and visible image fusion method for removing motion blur, storage medium and device

By constructing a deblurring training network and a fusion network, and employing a shared encoder, a deblurring decoder, and an adaptive weight module, unified processing of deblurring and fusion is achieved. This solves the problems of complexity and information loss in motion-blurred image fusion in existing technologies and improves the fusion effect.

CN118314029BActive Publication Date: 2026-11-20CHINA UNIV OF GEOSCIENCES (WUHAN)
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410419935.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-09
Publication Date
2026-11-20
Estimated Expiration
2044-04-09

AI Technical Summary

Technical Problem

Existing image fusion methods suffer from high task complexity, information loss, and easy introduction of noise when processing motion-blurred images, resulting in poor fusion performance.

Method used

A deblurring training network and a fusion network are constructed. A shared encoder, a deblurring decoder, an adaptive weight module, and a fusion decoder are adopted. The unified processing of deblurring and fusion is achieved through joint training. Clear visible light images and infrared images are used for training, and the fusion contribution is adaptively adjusted.

Benefits of technology

It reduces the complexity of task design, improves the visual effect of fusion, solves the problem of deterioration of fusion effect caused by different task objectives, and achieves mutual promotion of deblurring and fusion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118314029B_ABST
    Figure CN118314029B_ABST
Patent Text Reader

Abstract

The application discloses an infrared and visible light image fusion method for removing motion blur, a storage medium and equipment, and relates to the technical field of image processing. The method comprises the following steps: constructing a deblurring training network, including a shared encoder and a deblurring decoder; training the deblurring training network by using pairs of clear visible light images and visible light images with motion blur; constructing a deblurring fusion network, including the trained shared encoder and the deblurring decoder, and further including two adaptive weight modules and a fusion decoder; on the basis of the training of the deblurring training network, training the deblurring fusion network by using pairs of infrared images and simulated motion-blurred visible light images; and performing post-processing on the outputs of the deblurring decoder and the fusion decoder to obtain a deblurred fusion image. The application uses a unified model to solve the two tasks of deblurring and fusion, reduces the complexity of task design, and improves the visual effect of fusion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of image processing technology, and in particular to a method, storage medium, and device for de-motion blurring infrared and visible light image fusion. Background Technology

[0002] Due to limitations in sensor parameters and imaging principles, single-modal images captured by a single sensor cannot provide a comprehensive scene description. Image fusion, a technique in digital image processing, can combine multimodal images captured by different sensors or the same sensor with different parameter settings to enhance the image's ability to describe a scene. For example, visible light images contain rich texture details and can effectively display environmental details, but they are easily limited by external factors such as lighting conditions and environmental visibility. Conversely, infrared sensors can capture infrared thermal radiation information reflected from object surfaces and highlight this information (such as pedestrians and moving vehicles) in the image, but due to limitations in imaging principles, infrared images lack the texture details of objects, retaining only a general outline. Image fusion technology combines infrared and visible light images into a single image, possessing the advantages of both types and applicable to high-level vision tasks such as pedestrian detection and object tracking. In summary, this technology has broad application prospects and practical application needs.

[0003] Existing image fusion methods can be categorized into traditional methods and deep learning methods based on their principles. The former primarily utilizes manually designed fusion rules in the spatial domain or a certain transform domain to achieve image fusion, such as multi-scale fusion frameworks, sparse representation-based fusion frameworks, and subspace-based fusion frameworks. The latter benefits from the powerful learning capabilities of neural networks, employing cleverly designed network structures to achieve the three steps of feature extraction, feature fusion, and image reconstruction in image fusion. Examples include methods based on autoencoders (AEs), convolutional neural networks (CNNs), and generative adversarial networks (GANs). While existing image fusion methods can achieve good fusion results and complete diverse visual tasks, they all neglect the impact of object motion or sensor shake. Since sensor imaging takes time, if the object being photographed shifts or the sensor shakes during the imaging process, the resulting source image will exhibit a trailing effect (motion blur). This effect is not addressed in the image fusion process, ultimately leading to poor visual quality or even unrecognizable targets in the fused image, thus affecting subsequent target detection and tracking.

[0004] To eliminate the impact of motion blur on the fused image, the conventional approach in deep learning is to preprocess the source images using an additional deblurring network before image fusion, and then feed the preprocessed image into the fusion network for image fusion—a staged processing method. However, this staged processing method has the following inherent drawbacks:

[0005] 1) Since the goals of deblurring and image fusion are different, deblurring networks and image fusion networks need to be selected separately for different image scenarios, which makes the task complex and the program cumbersome.

[0006] 2) The image processing in deep learning involves information extraction, compression, and restoration, inevitably resulting in information loss. Staged processing methods require two image processing steps, leading to further loss of image information. Furthermore, since the deblurring network is the feedforward network, poor motion blur removal performance not only fails to achieve good deblurring results but may also introduce more noise into the fusion network, worsening the fusion effect. Summary of the Invention

[0007] The purpose of this invention is to address the problems of high task complexity, information loss, and noise introduction in the staged processing of image deblurring and image fusion for motion-blurred images in existing technologies. This invention proposes a motion-blurred infrared-visible light image fusion method, comprising the following steps:

[0008] S1. Obtain dataset A and dataset B. Dataset A contains clear visible light images and corresponding visible light images with motion blur. Convolve the clear visible light images to obtain simulated motion-blurred visible light images. Dataset B contains clear visible light images and their corresponding infrared images, as well as simulated motion-blurred visible light images.

[0009] S2. Construct a deblurring training network, including a shared encoder and a deblurring decoder. Train the deblurring training network using dataset A. The visible light images with motion blur in dataset A are the input to the shared encoder, and the output of the shared encoder is the input to the deblurring decoder. The output of the deblurring decoder is added to the input of the shared encoder to obtain the deblurred image. The clear visible light images in dataset A are used as guide images, and a training loss function is constructed to guide the convergence of the deblurring training network.

[0010] S3. Construct a deblurring fusion network, including the shared encoder and deblurring decoder trained in S2, as well as two adaptive weight modules and one fusion decoder. Train the deblurring fusion network using dataset B. Input the simulated motion-blurred visible light image and the infrared image corresponding to the clear visible light image in dataset B into the trained shared encoder to obtain the encoded simulated motion-blurred visible light image and infrared image. Input the encoded simulated motion-blurred visible light image into one adaptive weight module and the encoded infrared image into another adaptive weight module. Add the outputs of the two adaptive weight modules element by element and input them into the trained deblurring decoder and fusion decoder respectively. Post-process the outputs of the trained deblurring decoder and fusion decoder to obtain the deblurred fused image.

[0011] Furthermore, the outputs of the trained deblurring decoder and the fusion decoder are post-processed, specifically as follows:

[0012] The output of the fusion decoder is used to replace the Y channel information in the simulated motion-blurred visible light image to obtain a brightness-adjusted visible light image.

[0013] The output of the trained deblurred decoder is added to the brightness-adjusted visible light image.

[0014] Furthermore, the shared encoder includes a first convolutional layer, a second convolutional layer, a first ELU activation function, a second ELU activation function, a third ELU activation function, ten concatenated dilated convolutional blocks, and an upsampling layer;

[0015] The input of the shared encoder is sequentially passed through a first convolutional layer and a first ELU activation function to obtain a first output feature; the first output feature is sequentially passed through a second convolutional layer and a second ELU activation function to obtain a second output feature; the second output feature is passed through ten concatenated dilated convolutional blocks to obtain a third output feature; the second and third output features are concatenated to obtain a fourth output feature; the fourth output feature is upsampled to obtain a fifth output feature; the first and fifth output features are concatenated to obtain a sixth output feature, and the sixth output feature is passed through a third ELU activation function to obtain the output feature of the shared encoder.

[0016] Furthermore, the adaptive weight module includes two separable convolutions, two ReLU activation functions, and a global average pooling;

[0017] The input features of the adaptive weight module are sequentially passed through a first separable convolution, a first ReLU activation function, a second separable convolution, a second ReLU activation function, and global average pooling to obtain a weight map of the input features of the adaptive weight module. The weight map of the input features of the adaptive weight module and the input features of the adaptive weight module are multiplied element-wise to obtain the features after fusion weight adjustment.

[0018] Furthermore, the fusion decoder includes three convolutional layers with ELU activation functions, which are connected in series.

[0019] Furthermore, the deblurring decoder consists of two branches: one is a discrete wavelet decoder, and the other is two concatenated convolutional layers with ELU activation functions. The outputs of the two branches are added element-wise to obtain the output of the deblurring decoder.

[0020] Furthermore, the loss function for training the deblurring network using dataset A is:

[0021]

[0022]

[0023]

[0024] in, For dataset A, train the loss function for the deblurring training network. For Charbonnier loss, For structural similarity loss, ||I sharp -I gt ‖ is the difference in pixel values ​​between the deblurred image and the clear visible light image, I sharp To deblur an image, I gt For a clear visible light image, ε is the formula balance coefficient, SSIM(I sharp ,I gt ) represents image I sharp and I gt Structural similarity calculation.

[0025] Furthermore, the loss function for training the defuzzification network using dataset B is:

[0026]

[0027]

[0028]

[0029] in, The loss function for training the deblurring fusion network is used in dataset B. For image texture loss, For image pixel intensity loss, H and W represent the height and width of images in dataset B, respectively, where all images in dataset B have the same height and width. vi I represents the motion-blurred visible light map of the simulation in dataset B. if This represents the infrared images in dataset B. This indicates that the Sober operator is used to calculate the image I. f gradient, This indicates that the Sober operator is used to calculate the image I. vi gradient, This indicates that the Sober operator is used to calculate the image I. if Gradient, |·| represents absolute value calculation, ||·||1 represents l1 normal form calculation, I f To deblur and fuse images, max(I vi ,I if This indicates the operation of taking the maximum value of the image pixels.

[0030] The present invention also proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for de-motion blurring infrared-visible image fusion.

[0031] The present invention also proposes an electronic device, including a processor and a memory, wherein the processor and the memory are interconnected, wherein the memory is used to store a computer program, the computer program including computer-readable instructions, and the processor is configured to invoke the computer-readable instructions to execute the above-described motion-blurred infrared-visible image fusion method.

[0032] The beneficial effects of the technical solution provided by this invention are:

[0033] This invention constructs a deblurring training network, including a shared encoder, a deblurring decoder, two adaptive weight modules, and a fusion decoder. The shared encoder and deblurring decoder are trained using clear visible light images and visible light images with motion blur, while the deblurring training network is trained using infrared images and simulated motion-blurred visible light images. The adaptive weight modules adaptively adjust the fusion contribution between the infrared and visible light images, improving the visual effect of the fusion. Joint training achieves mutual promotion between deblurring and fusion, solving the problem of potentially degraded fusion results due to different task objectives. A unified model solves both deblurring and fusion tasks, reducing the complexity of task design. Attached Figure Description

[0034] Figure 1 This is a flowchart of an urban road extraction method based on multi-source data fusion according to an embodiment of the present invention;

[0035] Figure 2 This is a structural diagram of the shared encoder according to an embodiment of the present invention;

[0036] Figure 3 This is a diagram of the deblurring decoder according to an embodiment of the present invention;

[0037] Figure 4 This is a diagram of the defuzzification fusion network structure according to an embodiment of the present invention;

[0038] Figure 5 This is a structural diagram of the adaptive weight module according to an embodiment of the present invention;

[0039] Figure 6 This is a structural diagram of the fusion decoder according to an embodiment of the present invention;

[0040] Figure 7This is a qualitative comparison of the method proposed in this invention with other methods in the embodiments of this invention, wherein (a) is an infrared image; (b) is a simulated motion-blurred visible light image; in (c), the first column shows the result of using DeblurGANv2 as the preprocessing network and Densefuse as the staged post-processing fusion network; in (c), the second column shows the result of using SFNet as the preprocessing network and Densefuse as the staged post-processing fusion network; in (d), the first column shows the result of using DeblurGANv2 as the preprocessing network and Densefuse as the staged post-processing fusion network. The results of FusionGAN as a staged post-processing fusion network are as follows: (d) The second column shows the results of SFNet deblurring network as the forward preprocessing network and FusionGAN as the staged post-processing fusion network; (e) The first column shows the results of DeblurGANv2 deblurring network as the forward preprocessing network and GANMcC as the staged post-processing fusion network; (f) The first column shows the results of DeblurGANv2 deblurring network as the forward preprocessing network and GANMcC as the staged post-processing fusion network. The results of using SFNet as the preprocessing network and U2Fusion as the staged postprocessing fusion network are shown in the second column of (f). In (g), the results of using SFNet as the preprocessing network and U2Fusion as the staged postprocessing fusion network are shown in the first column. In (h), the results of using DeblurGANv2 as the preprocessing network and SDNet as the staged postprocessing fusion network are shown in the second column. The results of using the urGANv2 deblurring network as the forward preprocessing network and SwinFusion as the staged post-processing fusion network are shown in (h). The second column of (h) shows the results of using the SFNet deblurring network as the forward preprocessing network and SwinFusion as the staged post-processing fusion network. The first column of (i) shows the results of using the DeblurGANv2 deblurring network as the forward preprocessing network and CAMF as the staged post-processing fusion network. The second column of (i) shows the results of using the SFNet deblurring network as the forward preprocessing network and CAMF as the staged post-processing fusion network.

[0041] Figure 8 This is a block diagram of an electronic device according to an exemplary embodiment of the present invention. Detailed Implementation

[0042] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be further described below with reference to the accompanying drawings.

[0043] A flowchart of an urban road extraction method based on multi-source data fusion according to an embodiment of the present invention is shown below. Figure 1 Specifically, it includes the following steps:

[0044] S1. Acquire a clear visible light image, a visible light image with motion blur corresponding to the clear visible light image, and an infrared image corresponding to the clear visible light image.

[0045] The clear visible light image is blurred using convolution. The size range and non-linearity range of the convolution kernel for each clear visible light image are set. The corresponding clear visible light image is then convolved according to the set convolution kernel to obtain a simulated motion-blurred visible light image.

[0046] Datasets A and B are constructed. Dataset A contains clear visible light images and their corresponding motion-blurred visible light images, which appear in pairs. Dataset B contains clear visible light images, their corresponding infrared images, and simulated motion-blurred visible light images, again appearing in pairs. The paired images are all taken in the same scene and have the same resolution.

[0047] S2. Construct a deblurring training network, including a shared encoder and a deblurring decoder. Train the deblurring training network using dataset A. The visible light images with motion blur in dataset A are the input to the shared encoder, and the output of the shared encoder is the input to the deblurring decoder. The output of the deblurring decoder is added to the input of the shared encoder to obtain the deblurred image. The clear visible light images in dataset A are used as guide images, and a training loss function is constructed to guide the convergence of the deblurring training network.

[0048] The shared encoder includes a first convolutional layer, a second convolutional layer, a first ELU activation function, a second ELU activation function, a third ELU activation function, ten concatenated dilated convolutional blocks, and an upsampling layer;

[0049] The input of the shared encoder is sequentially passed through a first convolutional layer and a first ELU activation function to obtain a first output feature; the first output feature is sequentially passed through a second convolutional layer and a second ELU activation function to obtain a second output feature; the second output feature is passed through ten concatenated dilated convolutional blocks to obtain a third output feature; the second and third output features are concatenated to obtain a fourth output feature; the fourth output feature is upsampled to obtain a fifth output feature; the first and fifth output features are concatenated to obtain a sixth output feature, and the sixth output feature is passed through a third ELU activation function to obtain the output feature of the shared encoder.

[0050] The shared encoder takes a three-channel image as input. After passing through the first 7×7 convolutional layer, the image size remains unchanged. After passing through the second 3×3 convolutional layer, the size is reduced to half of its original size. The network contains ten 3×3 dilated convolutional blocks, each consisting of four convolutional layers with different dilation rates and ELU activation functions, used to increase the network's receptive field. Finally, shallow and deep features are combined through upsampling and Cat concatenation operations, and the encoded feature output is obtained after passing through the ELU activation function. See the shared encoder structure diagram of this embodiment for reference. Figure 2 .

[0051] The deblurring decoder comprises two branches: a discrete wavelet decoder and two cascaded convolutional layers with ELU activation functions. The outputs of the two branches are element-wise summed to obtain the output of the deblurring decoder. In this embodiment, the convolutional kernels of the convolutional layers are all 3×3, recovering the deblurred residual image through the frequency and spatial domains, and the output channel is a YCrCb channel. (See diagram of the deblurring decoder in this embodiment.) Figure 3 .

[0052] The loss function for training the deblurring network using dataset A is:

[0053]

[0054]

[0055]

[0056] in, For dataset A, train the loss function for the deblurring training network. For Charbonnier loss, For structural similarity loss, ||I sharp -I gt || is the difference in pixel values ​​between the deblurred image and the clear visible light image, I sharp To deblur an image, I gt For a clear visible light image, ε is the formula balance coefficient, SSIM(I sharp ,I gt ) represents image I sharp and I gt The structural similarity calculation is performed on an image composed of a matrix of pixels.

[0057] S3. Construct a deblurring fusion network, including the shared encoder and deblurring decoder trained in S2, as well as two adaptive weight modules and one fusion decoder. Train the deblurring fusion network using dataset B. Input the simulated motion-blurred visible light image and the infrared image corresponding to the clear visible light image in dataset B into the trained shared encoder to obtain the encoded simulated motion-blurred visible light image and infrared image. Input the encoded simulated motion-blurred visible light image into one adaptive weight module and the encoded infrared image into another adaptive weight module. Add the outputs of the two adaptive weight modules element by element and input them into the trained deblurring decoder and fusion decoder respectively. Post-process the outputs of the trained deblurring decoder and fusion decoder to obtain the deblurred fused image.

[0058] The fusion decoder outputs the Y-channel image, and the trained deblurring decoder outputs the YCrCb residual image. The post-processing steps are as follows: The Y-channel image output by the fusion decoder is used to replace the Y-channel information in the simulated motion-blurred visible light image to obtain a brightness-adjusted visible light image; the YCrCb residual image output by the trained deblurring decoder is added to the brightness-adjusted visible light image to obtain the final deblurred fused image (YCrCb). The deblurring fusion network structure diagram of this embodiment is shown in the reference diagram. Figure 4 .

[0059] The adaptive weighting module comprises two separable convolutions, two ReLU activation functions, and a global average pooling. The input features of the adaptive weighting module are sequentially passed through a first separable convolution, a first ReLU activation function, a second separable convolution, a second ReLU activation function, and a global average pooling to obtain a weight map of the input features. The weight map of the input features and the input features of the adaptive weighting module are then multiplied element-wise to obtain the features after weight adjustment. After using separable convolutions, the feature channels between the infrared image and the visible light image correspond one-to-one. After global average pooling, the output is the weight map of the original features, and the final output feature of the network is the feature after weight adjustment. This module can adaptively adjust the weights of different feature fusions under different scenarios, improving the fusion effect. The structural diagram of the adaptive weighting module in this embodiment is shown below. Figure 5 .

[0060] The fusion decoder comprises three convolutional layers with ELU activation functions, which are connected in series. In this embodiment, the number of feature channels output by the three convolutional layers are 64, 32, and 1, respectively. The output of the fusion decoder is a Y-channel image. See the structural diagram of the fusion decoder in this embodiment for reference. Figure 6 .

[0061] The loss function for training the defuzzification network using dataset B is:

[0062]

[0063]

[0064]

[0065] in, The loss function for training the deblurring fusion network is used in dataset B. For image texture loss, For image pixel intensity loss, H and W represent the height and width of images in dataset B, respectively, where all images in dataset B have the same height and width. vi I represents the motion-blurred visible light map of the simulation in dataset B. if This represents the infrared images in dataset B. This indicates that the Sober operator is used to calculate the image I. f gradient, This indicates that the Sober operator is used to calculate the image I. vi gradient, This indicates that the Sober operator is used to calculate the image I. if Gradient, |·| represents absolute value calculation, ||·|1 represents l1 normal form calculation, I f To deblur and fuse images, max(I vi ,I if This indicates the operation of taking the maximum value of the image pixels, where the image is composed of a matrix of pixels.

[0066] To evaluate the effectiveness of the proposed method, DeblurGANv2 and SFNet deblurring networks were selected as the forward preprocessing networks. Specifically, seven fusion networks—Densefuse, FusionGAN, GANMcC, U2Fusion, SDNet, SwinFusion, and CAMF—were selected as staged post-processing fusion networks. The deblurring and fusion networks were combined in pairs to form the aforementioned staged processing method. The above method was then qualitatively and quantitatively compared with the method proposed in this invention.

[0067] Qualitative comparison: Simulated motion-blurred visible light images and infrared images are fed into different networks to obtain fused outputs, as shown in the following results. Figure 7 As shown, the last column presents the qualitative results of the proposed method under the same input. It can be seen from the figure that the method of this invention achieves better visual results than other methods in fusing images with motion blur.

[0068] Quantitative comparison: Information entropy (EN), mutual information (MI), standard deviation (SD), average gradient (AG), and spatial frequency (SF) were selected to evaluate the quantitative differences between the phased processing scheme and the method proposed in this patent. The results are shown in Table 1. The higher the value, the better the performance.

[0069] Table 1

[0070]

[0071] This invention solves the two tasks of deblurring and fusion using a unified model, reducing the complexity of task design; through the design of an "adaptive weight module," this invention adaptively adjusts the fusion contribution between infrared and visible light images, improving the visual effect of fusion; through joint training, this invention achieves mutual promotion between deblurring and fusion, solving the problem that the fusion effect may deteriorate due to different task objectives.

[0072] In one exemplary embodiment, a computer-readable storage medium is included, which stores a computer program that, when executed by a processor, implements the above-described method for de-motion-blurred infrared-visible image fusion.

[0073] Please see Figure 8 In one exemplary embodiment, the device further includes an electronic device including at least one processor, at least one memory, and at least one communication bus.

[0074] The memory stores a computer program, which includes computer-readable instructions. The processor calls the computer-readable instructions stored in the memory through the communication bus to execute the aforementioned motion-blurred infrared-visible image fusion method.

[0075] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for de-motion blurring infrared-visible image fusion, characterized in that, Includes the following steps: S1. Obtain dataset A and dataset B. Dataset A contains clear visible light images and visible light images with motion blur corresponding to the clear visible light images. The simulated motion-blurred visible light image is obtained by convolving the clear visible light image. Dataset B contains the clear visible light image and its corresponding infrared image, as well as the simulated motion-blurred visible light image. S2. Construct a deblurring training network, including a shared encoder and a deblurring decoder. Train the deblurring training network using dataset A. The visible light images with motion blur in dataset A are the input to the shared encoder, and the output of the shared encoder is the input to the deblurring decoder. The output of the deblurring decoder is added to the input of the shared encoder to obtain the deblurred image. The clear visible light images in dataset A are used as guide images, and a training loss function is constructed to guide the convergence of the deblurring training network. S3. Construct a deblurring fusion network, including the shared encoder and deblurring decoder trained in S2, as well as two adaptive weight modules and one fusion decoder. Train the deblurring fusion network using dataset B. Input the simulated motion-blurred visible light image and the infrared image corresponding to the clear visible light image in dataset B into the trained shared encoder to obtain the encoded simulated motion-blurred visible light image and infrared image. Input the encoded simulated motion-blurred visible light image into one adaptive weight module and the encoded infrared image into another adaptive weight module. Add the outputs of the two adaptive weight modules element by element and input them into the trained deblurring decoder and fusion decoder respectively. Post-process the outputs of the trained deblurring decoder and fusion decoder to obtain the deblurred fused image. The outputs of the trained deblurring decoder and the fusion decoder are post-processed, specifically as follows: The output of the fusion decoder is used to replace the Y channel information in the simulated motion-blurred visible light image to obtain a brightness-adjusted visible light image. The output of the trained deblurred decoder is added to the brightness-adjusted visible light image; The adaptive weight module consists of two separable convolutions, two ReLU activation functions, and a global average pooling. The input features of the adaptive weight module are sequentially passed through a first separable convolution, a first ReLU activation function, a second separable convolution, a second ReLU activation function, and global average pooling to obtain a weight map of the input features of the adaptive weight module. The weight map of the input features of the adaptive weight module and the input features of the adaptive weight module are multiplied element-wise to obtain the features after fusion weight adjustment. The deblurring decoder consists of two branches: a discrete wavelet decoder and two concatenated convolutional layers with ELU activation functions. The outputs of the two branches are added element-wise to obtain the output of the deblurring decoder.

2. The infrared-visible image fusion method for removing motion blur according to claim 1, characterized in that, The shared encoder includes a first convolutional layer, a second convolutional layer, a first ELU activation function, a second ELU activation function, a third ELU activation function, ten concatenated dilated convolutional blocks, and an upsampling layer; The input of the shared encoder is sequentially passed through a first convolutional layer and a first ELU activation function to obtain a first output feature; the first output feature is sequentially passed through a second convolutional layer and a second ELU activation function to obtain a second output feature; the second output feature is passed through ten concatenated dilated convolutional blocks to obtain a third output feature; the second and third output features are concatenated to obtain a fourth output feature; the fourth output feature is upsampled to obtain a fifth output feature; the first and fifth output features are concatenated to obtain a sixth output feature, and the sixth output feature is passed through a third ELU activation function to obtain the output feature of the shared encoder.

3. The infrared-visible image fusion method for removing motion blur according to claim 1, characterized in that, The fusion decoder consists of three convolutional layers with ELU activation functions, which are connected in series.

4. The infrared-visible image fusion method for removing motion blur according to claim 1, characterized in that, The loss function for training the deblurring network using dataset A is: in, For dataset A, train the loss function for the deblurring training network. For Charbonnier loss, For structural similarity loss, To remove the difference in pixel values ​​between a blurred image and a clear visible light image, To deblur the image, For clear visible light images, The equilibrium coefficient of the formula is... Representing an image and Structural similarity calculation.

5. The infrared-visible image fusion method for removing motion blur according to claim 4, characterized in that, The loss function for training the defuzzification network using dataset B is: in, The loss function for training the deblurring fusion network is used in dataset B. For image texture loss, For image pixel intensity loss, , Let represent the height and width of the images in dataset B, respectively, where all images in dataset B have the same height and width. This represents the motion-blurred visible light map from the simulation in dataset B. This represents the infrared images in dataset B. To deblur and fuse images, This indicates that the Sober operator is used to obtain the image. gradient, This indicates that the Sober operator is used to obtain the image. gradient, This indicates that the Sober operator is used to obtain the image. gradient, This indicates absolute value calculation. express Paradigm calculation, This indicates the operation of taking the maximum value of the image pixels.

6. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, it implements the method as described in any one of claims 1-5.

7. An electronic device, characterized in that, The device includes a processor and a memory, the processor being interconnected with the memory, wherein the memory is used to store a computer program, the computer program including computer-readable instructions, and the processor is configured to invoke the computer-readable instructions to perform the method as described in any one of claims 1-5.

Citation Information

Patent Citations

  • A video image real-time deblurring method based on a neural network

    CN109360171A

  • Deblurring multi-exposure image fusion method and system and medium

    CN117670719A