Infrared and visible light image processing method and device

The deep feature extraction and cross-transfer of infrared and visible light images through the target image processing model solves the problems of insufficient detailed feature extraction and loss of global features in the existing technology, achieves high-quality image fusion, and significantly improves the accuracy of infrared targets. Saliency and image detail preservation.

CN118644402AInactive Publication Date: 2024-09-13THE QUARTERMASTER RES INST OF THE GENERAL LOGISTICS DEPT OF THE CPLA

Patent Information

Application Number
CN202410775518.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-09-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing infrared and visible light image fusion methods have problems such as insufficient extraction of detailed features, loss of global features, blurred textures, poor contrast, and artifacts, resulting in poor fusion image quality, especially infrared targets that are not conspicuous enough.

Method used

An infrared and visible light image processing method is adopted to perform deep feature extraction and cross-transfer of the initial processed image information through the target image processing model to achieve the complementarity of infrared and visible light image features. It combines multi-level feature reconstruction and adopts a deep learning framework and feature fusion. module to avoid manual design of fusion rules and enhance image detail feature extraction.

Benefits of technology

The fusion quality and fusion efficiency of infrared and visible light images are improved. The fused image retains rich texture details and significant infrared targets, provides high-quality image data, conforms to human visual perception, and reduces image distortion and artifacts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118644402A
    Figure CN118644402A
Patent Text Reader

Abstract

The invention discloses an infrared and visible light image processing method and device. The method comprises the following steps: acquiring to-be-processed image information; preprocessing the to-be-processed image information to obtain initial processed image information; and processing the initial processing image information by using the target image processing model to obtain target image information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to an infrared and visible light image processing method and device. Background Art

[0002] Infrared images can reduce the interference of harsh environments and occlusion conditions such as darkness, rain and fog, and provide thermal radiation target information and location, but they have shortcomings such as poor imaging quality, low resolution and contrast, and lack of detail texture, and are easily disturbed by background noise, resulting in a high false alarm rate. Visible light images have high resolution, better detail texture and contrast, and are more in line with human visual perception, but the imaging quality is poor under insufficient lighting and occlusion conditions. Therefore, by complementing the advantages of different sensors and fusing visible light images and infrared images, the fused image can have both texture details and infrared salient target information, providing high-quality image data for subsequent tasks. Traditional fusion methods rely on manually designed feature extraction and fusion rules, and the model calculation is complex, and texture blur, poor contrast and artifacts often occur. However, some current fusion algorithms have problems such as insufficient extraction of source image detail features or loss of global features, which causes distortion of the fused image, unclear edge contours, and artifacts. When fusing features, some autoencoder networks need to manually design fusion rules when fusing source image features, making it difficult to obtain the optimal fusion strategy; most fusion algorithms do not consider the intermediate layer features, only fuse the final deep features, and ignore the complementarity of information between source images, resulting in feature degradation. Although some end-to-end fusion methods perform feature interaction in the intermediate layer, they only perform simple convolution operations on source image features, and the complementary information is not fully mined, resulting in unclear texture details in the fusion results and insufficient infrared targets. Therefore, an infrared and visible light image processing method and device are provided to enhance image detail feature extraction and improve the fusion quality and efficiency of infrared and visible light images. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide an infrared and visible light image processing method and device which are conducive to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0004] In order to solve the above technical problems, the first aspect of the embodiment of the present invention discloses an infrared and visible light image processing method, the method comprising:

[0005] Obtaining image information to be processed;

[0006] Pre-processing the image information to be processed to obtain initial processed image information;

[0007] The initial processed image information is processed using a target image processing model to obtain target image information.

[0008] A second aspect of an embodiment of the present invention discloses an infrared and visible light image processing device, the device comprising:

[0009] An acquisition module, used for acquiring image information to be processed;

[0010] A first processing module, used for pre-processing the image information to be processed to obtain initial processed image information;

[0011] The second processing module is used to process the initial processed image information using a target image processing model to obtain target image information.

[0012] The third aspect of the present invention discloses another infrared and visible light image processing device, the device comprising:

[0013] A memory storing executable program code;

[0014] a processor coupled to the memory;

[0015] The processor calls the executable program code stored in the memory to execute part or all of the steps in the infrared and visible light image processing method disclosed in the first aspect of the embodiment of the present invention.

[0016] The fourth aspect of the present invention discloses a computer-readable storage medium, which stores computer instructions. When the computer instructions are called, they are used to execute some or all of the steps in the infrared and visible light image processing method disclosed in the first aspect of an embodiment of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 It is a flowchart of an image processing method disclosed in an embodiment of the present invention;

[0019] Figure 2 is a structural schematic diagram of an image processing device disclosed in an embodiment of the present invention;

[0020] Figure 3 is a structural schematic diagram of another image processing device disclosed in an embodiment of the present invention;

[0021] Figure 4is a structural schematic diagram of a target image processing model disclosed in an embodiment of the present invention;

[0022] Figure 5 It is a structural schematic diagram of a first fusion feature extraction module disclosed in an embodiment of the present invention;

[0023] Figure 6 is a structural schematic diagram of an image fusion module disclosed in an embodiment of the present invention;

[0024] Figure 7 This is a fusion result graph of a person on the shore disclosed in an embodiment of the present invention;

[0025] Figure 8 This is a diagram of fusion results of tree branches and people under different fusion algorithms disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0027] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.

[0028] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0029] The present invention discloses an infrared and visible light image processing method and device, which are beneficial to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images. Detailed descriptions are given below.

[0030] Embodiment 1

[0031] See also Figure 1 , Figure 1 is a flow chart of an image processing method disclosed in an embodiment of the present invention. Figure 1 The described image processing method is applied to an image management system, such as a local server or a cloud server for managing images, and the embodiments of the present invention do not limit this. Figure 1 As shown, the image processing method may include the following operations:

[0032] 101. Obtain image information to be processed.

[0033] 102. Pre-process the image information to be processed to obtain initial processed image information.

[0034] 103. Use the target image processing model to process the initial processed image information to obtain the target image information.

[0035] It should be noted that the above-mentioned image information to be processed includes infrared image information to be processed and visible light image information to be processed. Further, the above-mentioned visible light image information to be processed includes at least one visible light image. Further, the infrared image to be processed corresponding to the above-mentioned infrared image information to be processed is collected by an infrared shooting device. Further, the above-mentioned visible light image can be taken by a camera, or by a camera head, or by other visible light shooting devices, which is not limited in the embodiment of the present invention.

[0036] It should be noted that the target image information representation reconstructs the multi-level features of the infrared and visible light images into a fused image, which is not limited in the embodiment of the present invention.

[0037] It should be noted that the above-mentioned initially processed image information includes target infrared image information and target visible light image information.

[0038] It should be noted that the image processing method of the present application can fully extract the texture details and semantic information of the image, obtain the depth features of edge contour enhancement, and can cross-transfer the infrared and visible light image features during the depth feature extraction to obtain the complementary features of the two source images, thereby realizing feature interaction and pre-fusion. Furthermore, the image processing method of the present application does not require manual design of fusion rules, and the fused image can simultaneously retain rich texture details, significant infrared targets, and clear edge contours, and can provide high-quality image data for subsequent advanced tasks such as target detection, positioning, and tracking.

[0039] It should be noted that the image processing method of this application runs on a single NVIDIA GeForce RTX 3090 GPU and AMD EPYC 9754 CPU. The deep learning framework adopts PyTorch. 20 pairs of infrared and visible light images are selected in the TNO dataset for fusion verification. The comparison algorithms select two autoencoder fusion methods DenseFuse and RFN-Nest and three end-to-end fusion methods PMGI, FLFuse-Net, and CMRFusion. The image processing method of the present application selects 7 objective evaluation indicators to compare the fusion results, including spatial frequency SF (Spatial Frequency), average gradient AG (AverageGradient), edge-information-based indicators Qabf (Edge-Information-Based Indicators), pixel feature mutual information FMIpixel (Pixel Feature Mutual Information), multiscale structural similarity MS_SSIM (Multiscale Structural Similarity Index Measure), natural image quality evaluation NIQE (NaturalImage Quality Evaluator) and quality evaluation based on perceptual features PIQUE (Perception-based ImageQUality Evaluator). The SF indicator measures the grayscale spatial change rate of the image and reflects the clarity of the image. The AG indicator measures the texture detail changes and clarity of the image by calculating the average gradient of the image. The Qabf indicator uses a local metric to measure the degree of retention of edge information in the source image in the fused image. The FMIpixel indicator calculates the mutual information between the feature map of the source image and the feature map of the fused image. The MS_SSIM indicator calculates the similarity in brightness, contrast, and structure between the source image and the fused image at different scales, which is closer to human visual perception. The NIQE indicator measures image quality based on a natural scene statistical model in the spatial domain. The PIQUE indicator calculates the distortion at the local block level in the prominent area of ​​the image space, and adds up the quality of all local blocks to obtain the overall quality of the image.

[0040] Figure 7A fusion result image of a person on the shore from the TNO dataset was selected. For a clearer comparison, the significant human target was framed and enlarged and placed in the lower right corner of the image. Overall, the results of the three fusion algorithms, RFN-Nest, FLFuse-Net and CMRFusion, performed the worst. The infrared image information loss of the RFN-Nest fusion method resulted in a dark fusion result and a faint human target; the overall image of the FLFuse-Net fusion method was blurred, the texture details were lost seriously, and the brightness of the human target was dim; the result of the CMRFusion fusion method was almost the same as the visible light image, and the human target was almost invisible; the result of the PMGI fusion method was that the human target had a higher brightness but blurred edge contours; the result of the DenseFuse fusion method was able to better retain the brightness of the human target, but the overall image was blurred and the texture detail information was lost; the fusion method results proposed by the image processing method of this application had moderate overall brightness, significant human targets and clear edge contours, showing the best visual effect.

[0041] In order to further illustrate the superiority of the fusion method proposed in the present invention, Figure 8 The fusion results of branches and people under different fusion algorithms are shown. For a clearer comparison, the significant human targets and branch detail areas are framed and enlarged, and placed in the lower right and upper right corners of the image respectively. The results of the two fusion methods FLFuse-Net and RFN-Nest are overall darker, the human target brightness is low and the branches are blurred; the results of the CMRFusion fusion method are overall close to the visible light image, retaining too many visible light image details. Although the branch texture is clear, the human target is significantly weakened; the results of the PMGI fusion method have a higher human target brightness, but the overall image is dark and the branch texture is blurred; DenseFuse and the fusion method proposed in the present invention can better retain significant human targets and clear branch textures, but the fusion results of the image processing method of the present application have brighter human targets, and clearer outlines of human bodies and branches, showing the best fusion effect among all methods.

[0042] In order to avoid subjective factors in judging the results of different fusion methods, the present invention uses SF, AG, Qabf, FMIpixel, MS_SSIM, NIQE and PIQUE7 indicators to objectively evaluate the fusion performance of different methods on the TNO dataset, where the larger the values ​​of SF, AG, Qabf, FMIpixel and MS_SSIM5 indicators, the better the fusion result, and the smaller the values ​​of NIQE and PIQUE2 indicators, the better the fusion result. As shown in the following table, the fusion method proposed by the image processing method of the present application has achieved the best results in all 7 indicators, indicating that the fused image retains more texture details and edge information from the source image, with the least image distortion and the best quality, which is more in line with human visual perception.

[0043] Objective evaluation index results of different fusion methods on the TNO dataset

[0044]

[0045] It should be noted that the above-mentioned target image processing model can be obtained by training based on the cross entropy loss function, or can be obtained by training based on other loss functions set by the user, and the embodiment of the present invention does not limit this.

[0046] It can be seen that implementing the image processing method described in the embodiment of the present invention is conducive to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0047] In an optional embodiment, if Figure 4 As shown, the target image processing model includes a first shallow feature extraction module, a second shallow feature extraction module, a first deep feature extraction module, a second deep feature extraction module, a third deep feature extraction module, a fourth deep feature extraction module, a fifth deep feature extraction module, a sixth deep feature extraction module, a first fusion module, a second fusion module, a third fusion module, a fourth fusion module, a fifth fusion module, a first fusion feature extraction module, a second fusion feature extraction module and an image fusion module; wherein,

[0048] The input end of the first shallow feature extraction module is connected to the first model input of the target image processing model, and the output end of the first shallow feature extraction module is respectively connected to the input end of the second deep feature extraction module, the input end of the first fusion module, the input end of the third fusion module and the input end of the fifth fusion module; the input end of the second shallow feature extraction module is connected to the second model input of the target image processing model, and the output end of the second shallow feature extraction module is respectively connected to the input end of the first deep feature extraction module, the input end of the second fusion module, the input end of the fourth fusion module and the input end of the fifth fusion module; the output end of the first deep feature extraction module is respectively connected to the input end of the second fusion module, the input end of the fourth fusion module and the input end of the first fusion feature extraction module; the output end of the second deep feature extraction module is respectively connected to the input end of the first fusion module, the input end of the third fusion module and the input end of the first fusion feature extraction module; the output end of the first fusion module is connected The output end of the second fusion module is connected to the input end of the third deep feature extraction module; the output end of the third deep feature extraction module is respectively connected to the input end of the fourth fusion module and the input end of the second fusion feature extraction module; the output end of the fourth deep feature extraction module is respectively connected to the input end of the third fusion module and the input end of the second fusion feature extraction module; the output end of the second fusion feature extraction module is respectively connected to the input end of the third fusion module and the input end of the fourth fusion module; the output end of the third fusion module is connected to the input end of the sixth deep feature extraction module; the output end of the fourth fusion module is connected to the input end of the fifth deep feature extraction module; the output end of the fifth deep feature extraction module and the output end of the sixth deep feature extraction module are both connected to the input end of the fifth fusion module; the output end of the fifth fusion module is connected to the input end of the image fusion module; the output end of the image fusion module is connected to the model output of the target image processing model.

[0049] It should be noted that the first model input and the second model input input to the target image processing model are the target infrared image information and the target visible light image information respectively, which is not limited in the embodiment of the present invention.

[0050] It should be noted that the model architectures of the first deep feature extraction module, the second deep feature extraction module, the third deep feature extraction module, the fourth deep feature extraction module, the fifth deep feature extraction module, and the sixth deep feature extraction module are consistent. Furthermore, the first deep feature extraction module, the second deep feature extraction module, the third deep feature extraction module, the fourth deep feature extraction module, the fifth deep feature extraction module, and the sixth deep feature extraction module adopt a dense connection method in the feature extraction process, and fully transmit feature information of different levels without increasing parameters, thereby avoiding information loss of deep features. Furthermore, through the first deep feature extraction module, the second deep feature extraction module, the third deep feature extraction module, the fourth deep feature extraction module, the fifth deep feature extraction module, the sixth deep feature extraction module and the first fusion feature extraction module and the second fusion feature extraction module, the infrared and visible light image feature information is fully integrated and unified in the way of deep feature extraction, interaction, and fusion.

[0051] It should be noted that the model architecture of the first fusion feature extraction module and the second fusion feature extraction module are consistent, and the embodiments of the present invention do not limit this. Furthermore, the first fusion feature extraction module and the second fusion feature extraction module interact with each other on the depth features extracted from the two paths of the infrared and visible light images, suppress useless features in the two dimensions of space and channel, highlight significant information, and obtain complementary features with different weights that contain both infrared and visible light feature information, and then integrate them into the input features to achieve pre-fusion of feature information.

[0052] It should be noted that the model architectures of the first shallow feature extraction module and the second shallow feature extraction module are consistent, and the embodiment of the present invention does not limit this.

[0053] It should be noted that the above-mentioned first fusion module, second fusion module, third fusion module, fourth fusion module and fifth fusion module are constructed based on the Concat operation module, which is not limited in the embodiment of the present invention.

[0054] It can be seen that implementing the image processing method described in the embodiment of the present invention is conducive to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0055] In another optional embodiment, Figure 4 As shown, the first shallow feature extraction module includes a first convolution unit, a second convolution unit, a third convolution unit, a fourth convolution unit, a first fusion unit and a first activation unit; wherein,

[0056] The input end of the first convolution unit, the input end of the second convolution unit, and the input end of the third convolution unit are all connected to the module input of the first shallow feature extraction module; the output end of the first convolution unit, the output end of the second convolution unit, and the output end of the third convolution unit are all connected to the input end of the first fusion unit; the output end of the first fusion unit is connected to the input end of the fourth convolution unit; the output end of the fourth convolution unit is connected to the input end of the first activation unit; and the output end of the first activation unit is connected to the module output of the first shallow feature extraction module.

[0057] It should be noted that the module input of the above-mentioned first shallow feature extraction module is connected to the first model input of the target processing model; the module output of the first shallow feature extraction module is respectively connected to the input end of the second deep feature extraction module, the input end of the first fusion module, the input end of the third fusion module and the input end of the fifth fusion module, which is not limited in the embodiment of the present invention. Furthermore, the first shallow feature extraction module uses convolution kernels of three scales of 1×1 (third convolution unit), 3×3 (second convolution unit) and 5×5 (first convolution unit) to extract feature maps of different receptive fields, concatenates them (first fusion unit), and uses 1×1 (fourth convolution unit) convolution for channel dimensionality reduction, and obtains shallow features of the source image after LReLU (Leaky Rectified linear unit) activation function (first activation unit).

[0058] It should be noted that the convolution kernel size of the first convolution unit is 5×5, the convolution kernel size of the second convolution unit is 3×3, and the convolution kernel sizes of the third and fourth convolution units are 1×1, which is not limited in the embodiment of the present invention.

[0059] It should be noted that the above-mentioned first fusion unit is constructed based on the Concat operation module, which is not limited in the embodiment of the present invention.

[0060] It should be noted that the above-mentioned first activation unit is constructed based on the LReLU activation function, which is not limited in the embodiment of the present invention.

[0061] It can be seen that implementing the image processing method described in the embodiment of the present invention is conducive to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0062] In yet another optional embodiment, Figure 4 As shown, the first deep feature extraction module includes a fifth convolution unit, a sixth convolution unit, a seventh convolution unit, an eighth convolution unit, a ninth convolution unit, a tenth convolution unit, an eleventh convolution unit, a second activation unit, a third activation unit, a fourth activation unit, a second fusion unit and a third fusion unit; wherein,

[0063] The input end of the fifth convolution unit, the input end of the sixth convolution unit and the input end of the tenth convolution unit are all connected to the module input of the first deep feature extraction module; the output end of the fifth convolution unit is connected to the input end of the second activation unit; the output end of the second activation unit is connected to the input end of the sixth convolution unit; the output end of the sixth convolution unit is connected to the input end of the third activation unit; the output end of the third activation unit is connected to the input end of the second fusion unit; the output end of the seventh convolution unit is connected to the input end of the eighth convolution unit; the output end of the eighth convolution unit is connected to the input end of the second fusion unit; the output end of the second fusion unit is connected to the input end of the ninth convolution unit; the output end of the tenth convolution unit is connected to the input end of the eleventh convolution unit; the output end of the ninth convolution unit and the output end of the eleventh convolution unit are connected to the input end of the third fusion unit; the output end of the third fusion unit is connected to the module output of the first deep feature extraction module.

[0064] It should be noted that the module input of the above-mentioned first deep feature extraction module is the output end of the second shallow feature extraction module; the module output of the first deep feature extraction module is connected to the input end of the first fusion feature extraction module, the input end of the second fusion module and the input end of the fourth fusion module, which is not limited in the embodiment of the present invention. Furthermore, the first deep feature extraction module uses convolution and activation operations on one feature extraction channel to extract feature semantic information, and uses Sobel gradient convolution operators of 3×3 and 5×5 scales on the other two feature extraction channels to extract edge information. The use of gradient operators of different scales can obtain richer texture information and enhance the edge details of the fused image.

[0065] It should be noted that the convolution kernel size of the fifth convolution unit, the eighth convolution unit, the ninth convolution unit, and the eleventh convolution unit is 1×1; the convolution kernel size of the sixth convolution unit and the seventh convolution unit is 3×3; the convolution kernel size of the tenth convolution unit is 5×5, which is not limited in the embodiment of the present invention.

[0066] It should be noted that the second activation unit, the third activation unit, and the fourth activation unit are all constructed based on the LReLU activation function, which is not limited in the embodiment of the present invention.

[0067] It should be noted that the second fusion unit and the third fusion unit are constructed based on the element-by-element addition operation of the matrix, which is not limited in the embodiment of the present invention.

[0068] It can be seen that implementing the image processing method described in the embodiment of the present invention is conducive to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0069] In yet another optional embodiment, Figure 5As shown, the first fusion feature extraction module includes a fourth fusion unit, a fifth fusion unit, a sixth fusion unit, a seventh fusion unit, an eighth fusion unit, a ninth fusion unit, a tenth fusion unit, a twelfth convolution unit, a thirteenth convolution unit, a fourteenth convolution unit, a fifteenth convolution unit, a fifth activation unit, a sixth activation unit, a seventh activation unit, an eighth activation unit, a ninth activation unit, a tenth activation unit, a first pooling unit, a second pooling unit, a third pooling unit, a fourth pooling unit, a first connection unit, and a second connection unit; wherein,

[0070] The input end of the fourth fusion unit is respectively connected to the first module input of the first fusion feature extraction module and the second module input of the first fusion feature extraction module; the output end of the fourth fusion unit is connected to the input end of the twelfth convolution unit; the output end of the twelfth convolution unit is connected to the input end of the fifth activation unit; the output end of the fifth activation unit is respectively connected to the input end of the first pooling unit, the input end of the second pooling unit and the input end of the seventh fusion unit; the output end of the first pooling unit and the output end of the second pooling unit are both connected to the input end of the sixth fusion unit; the output end of the sixth fusion unit is connected to the input end of the fourteenth convolution unit; the output end of the fourteenth convolution unit is connected to the input end of the seventh activation unit; the output end of the seventh activation unit is connected to the input end of the seventh fusion unit; the input ends of the fifth fusion unit are respectively connected to the first module input of the first fusion feature extraction module; the output end of the fifth fusion unit is connected to the input end of the thirteenth convolution unit; the output end of the thirteenth convolution unit is connected to the input end of the sixth activation unit ; The output end of the sixth activation unit is respectively connected to the input end of the third pooling unit, the input end of the fourth pooling unit and the input end of the ninth fusion unit; the output end of the third pooling unit and the output end of the fourth pooling unit are both connected to the input end of the eighth fusion unit; the output end of the eighth fusion unit is connected to the input end of the first connection unit; the output end of the first connection unit is connected to the input end of the eighth activation unit; the output end of the eighth activation unit is connected to the input end of the second connection unit; the output end of the second connection unit is connected to the input end of the ninth activation unit; the output end of the ninth activation unit is connected to the input end of the ninth fusion unit; the output end of the eighth fusion unit and the output end of the ninth fusion unit are both connected to the input end of the tenth fusion unit; the output end of the tenth fusion unit is connected to the input end of the fifteenth convolution unit; the output end of the fifteenth convolution unit is connected to the input end of the tenth activation unit; the output end of the tenth activation unit is respectively connected to the first module output of the first fusion feature extraction module and the second module output of the first fusion feature extraction module.

[0071] It should be noted that the first module input of the first fusion feature extraction module and the second module input of the first fusion feature extraction module are the output end of the first deep feature extraction module and the output end of the second deep feature extraction module respectively; the first module output of the first fusion feature extraction module and the second module output of the first fusion feature extraction module are the input end of the first fusion module and the input end of the second fusion module respectively, which is not limited in the embodiment of the present invention. The first module output of the first fusion feature extraction module and the second module output of the first fusion feature extraction module are complementary features of infrared and visible light images with different weights.

[0072] It should be noted that the fourth fusion unit, the fifth fusion unit, and the sixth fusion unit are all constructed based on the Concat operation module, which is not limited in the embodiment of the present invention.

[0073] It should be noted that the seventh fusion unit and the ninth fusion unit are both constructed based on the matrix element-by-element multiplication operation, which is not limited in the embodiment of the present invention.

[0074] It should be noted that the tenth fusion unit and the eighth fusion unit are constructed based on the element-by-element addition operation of the matrix, which is not limited in the embodiment of the present invention.

[0075] It should be noted that the convolution kernel size of the twelfth convolution unit and the thirteenth convolution unit is 3×3, the convolution kernel size of the fourteenth convolution unit is 5×5, and the convolution kernel size of the fifteenth convolution unit is 1×1, which is not limited in the embodiment of the present invention.

[0076] It should be noted that the fifth activation unit, the sixth activation unit, the eighth activation unit, and the tenth activation unit are all constructed based on the LReLU activation function; the seventh activation unit and the ninth activation unit are both constructed based on the Sigmoid activation function, which is not limited in the embodiment of the present invention.

[0077] It should be noted that the first pooling unit and the third pooling unit are constructed based on the maximum pooling layer; the second pooling unit and the fourth pooling unit are constructed based on the average pooling layer, which is not limited in the embodiment of the present invention.

[0078] It should be noted that the first connection unit and the second connection unit are constructed based on a fully connected layer, which is not limited in the embodiment of the present invention.

[0079] It should be noted that the above first uses the second pooling unit and the first pooling unit to perform average pooling and maximum pooling operations on the input features in the spatial position respectively, and then uses the sixth fusion unit to splice the obtained features in the channel dimension, and uses the fourteenth convolution unit to perform a 5×5 convolution operation to reduce the dimension into a feature map of a single channel, and the spatial weight map is obtained after being processed by the activation function of the seventh activation unit, which is multiplied with the input feature to obtain a complementary feature map with spatial position weights.

[0080] It should be noted that, in the channel dimension, the fourth pooling unit and the third pooling unit are used to perform average pooling and maximum pooling operations respectively, and then added together. The channel weight map is obtained by processing the activation function of the fully connected layers corresponding to the two first connection units and the second connection units and the ninth activation unit, and multiplied with the input feature to obtain a complementary feature map with channel weights.

[0081] It can be seen that implementing the image processing method described in the embodiment of the present invention is conducive to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0082] In an optional embodiment, if Figure 6 As shown, the image fusion module includes a sixteenth convolution unit, a seventeenth convolution unit, an eighteenth convolution unit, a nineteenth convolution unit, a twentieth convolution unit, an eleventh activation unit, a twelfth activation unit, a thirteenth activation unit, a fourteenth activation unit and a fifteenth activation unit; wherein,

[0083] The input end of the sixteenth convolution unit is connected to the module input of the image fusion module, and the output end of the sixteenth convolution unit is connected to the input end of the eleventh activation unit; the output end of the eleventh activation unit is connected to the input end of the seventeenth convolution unit; the output end of the seventeenth convolution unit is connected to the input end of the twelfth activation unit; the output end of the twelfth activation unit is connected to the input end of the eighteenth convolution unit; the output end of the eighteenth convolution unit is connected to the input end of the thirteenth activation unit; the output end of the thirteenth activation unit is connected to the input end of the nineteenth convolution unit; the output end of the nineteenth convolution unit is connected to the input end of the fourteenth activation unit; the output end of the fourteenth activation unit is connected to the input end of the twentieth convolution unit; the output end of the twentieth convolution unit is connected to the input end of the fifteenth activation unit; the output end of the fifteenth activation unit is connected to the module output of the image fusion module.

[0084] It should be noted that the module input of the above-mentioned image fusion module is the output end of the fifth fusion module, and the module output of the image fusion module is the model output of the target image processing model. Further, the image fusion module can make full use of image feature information to reduce feature loss, which is not limited in the embodiment of the present invention.

[0085] It should be noted that the convolution kernel size of the sixteenth convolution unit, the seventeenth convolution unit, the eighteenth convolution unit, and the nineteenth convolution unit is 3×3, and the convolution kernel size of the twentieth convolution unit is 1×1, which is not limited in the embodiment of the present invention.

[0086] It should be noted that the eleventh activation unit, the twelfth activation unit, the thirteenth activation unit, and the fourteenth activation unit are all constructed based on the LReLU activation function, which is not limited in the embodiment of the present invention.

[0087] It should be noted that the fifteenth activation unit is constructed based on the Tanh activation function, which is not limited in the embodiment of the present invention.

[0088] It can be seen that implementing the image processing method described in the embodiment of the present invention is conducive to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0089] In another optional embodiment, pre-processing the image information to be processed to obtain initial processed image information includes:

[0090] Perform matching processing on the image information to be processed to obtain matching image information;

[0091] The matching image information is cropped to obtain initial processed image information.

[0092] It should be noted that the above matching image information includes target recognition infrared image information and target recognition visible light image information.

[0093] In this optional embodiment, as an optional implementation manner, the above-mentioned matching process is performed on the image information to be processed to obtain the matching image information, including:

[0094] Performing recognition processing on the image information to be processed to obtain target recognition infrared image information and recognition visible light image information; the recognition visible light image information includes at least one recognition visible light image;

[0095] For any recognized visible light image in the recognized visible light image information, a matching degree of the recognized visible light image and the target recognized infrared image corresponding to the target recognized infrared image information is calculated using a matching calculation model to obtain an image matching degree corresponding to the recognized visible light image;

[0096] Among them, the matching calculation model is:

[0097]

[0098] Where PP is the image matching degree; K is the image vector corresponding to the visible light image; H is the image vector corresponding to the target recognition infrared image information;

[0099] The recognized visible light image with the largest image matching degree is determined as the target recognized visible light image information.

[0100] It should be noted that the above-mentioned cropping of the matching image information obtains the initial processed image information by utilizing preset image frames to frame the main contour areas of the target recognition infrared image information and the target recognition visible light image information respectively, and then cropping out the framed areas, and then adjusting the cropped image size to 256*256, thereby obtaining the corresponding target infrared image information and target visible light image information.

[0101] Furthermore, the image frame may be set by the user or may be a default value given by the system, such as 128*128, which is not limited in the embodiment of the present invention.

[0102] It should be noted that the recognition processing of the image information to be processed is performed based on the image recognition model, which is not limited in the embodiments of the present invention. Furthermore, the above-mentioned image recognition model can be a trained neural network model, or a trained artificial intelligence model built based on a deep learning algorithm, or an artificial intelligence model built based on other algorithms, which is not limited in the embodiments of the present invention. Furthermore, the image vector corresponding to the visible light image and the image vector corresponding to the target recognition infrared image are also determined by the output of the image recognition model, which is not limited in the embodiments of the present invention.

[0103] It should be noted that the above-mentioned target recognition infrared image information and visible light image information represent the areas containing main target objects in the recognized infrared images and visible light images, such as the main areas containing people, so as to improve the efficiency of subsequent image processing, and the embodiments of the present invention are not limited thereto.

[0104] It can be seen that implementing the image processing method described in the embodiment of the present invention is conducive to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0105] Embodiment 2

[0106] See also Figure 2 , Figure 2 is a schematic diagram of the structure of an image processing device disclosed in an embodiment of the present invention. Figure 2 The described device can be applied to an image management system, such as a local server or a cloud server for image processing management, etc., which is not limited in the embodiments of the present invention. Figure 2 As shown, the device may include:

[0107] An acquisition module 201 is used to acquire image information to be processed;

[0108] The first processing module 202 is used to perform pre-processing on the image information to be processed to obtain initial processed image information;

[0109] The second processing module 203 is used to process the initial processing image information using the target image processing model to obtain the target image information.

[0110] It can be seen that the implementation Figure 2 The described image processing device is beneficial to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0111] In another optional embodiment, Figure 2 As shown, the target image processing model includes a first shallow feature extraction module, a second shallow feature extraction module, a first deep feature extraction module, a second deep feature extraction module, a third deep feature extraction module, a fourth deep feature extraction module, a fifth deep feature extraction module, a sixth deep feature extraction module, a first fusion module, a second fusion module, a third fusion module, a fourth fusion module, a fifth fusion module, a first fusion feature extraction module, a second fusion feature extraction module and an image fusion module; wherein,

[0112] The input end of the first shallow feature extraction module is connected to the first model input of the target image processing model, and the output end of the first shallow feature extraction module is respectively connected to the input end of the second deep feature extraction module, the input end of the first fusion module, the input end of the third fusion module and the input end of the fifth fusion module; the input end of the second shallow feature extraction module is connected to the second model input of the target image processing model, and the output end of the second shallow feature extraction module is respectively connected to the input end of the first deep feature extraction module, the input end of the second fusion module, the input end of the fourth fusion module and the input end of the fifth fusion module; the output end of the first deep feature extraction module is respectively connected to the input end of the second fusion module, the input end of the fourth fusion module and the input end of the first fusion feature extraction module; the output end of the second deep feature extraction module is respectively connected to the input end of the first fusion module, the input end of the third fusion module and the input end of the first fusion feature extraction module; the output end of the first fusion module is connected The output end of the second fusion module is connected to the input end of the third deep feature extraction module; the output end of the third deep feature extraction module is respectively connected to the input end of the fourth fusion module and the input end of the second fusion feature extraction module; the output end of the fourth deep feature extraction module is respectively connected to the input end of the third fusion module and the input end of the second fusion feature extraction module; the output end of the second fusion feature extraction module is respectively connected to the input end of the third fusion module and the input end of the fourth fusion module; the output end of the third fusion module is connected to the input end of the sixth deep feature extraction module; the output end of the fourth fusion module is connected to the input end of the fifth deep feature extraction module; the output end of the fifth deep feature extraction module and the output end of the sixth deep feature extraction module are both connected to the input end of the fifth fusion module; the output end of the fifth fusion module is connected to the input end of the image fusion module; the output end of the image fusion module is connected to the model output of the target image processing model.

[0113] It can be seen that the implementation Figure 2 The described image processing device is beneficial to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0114] In yet another optional embodiment, Figure 2 As shown, the first shallow feature extraction module includes a first convolution unit, a second convolution unit, a third convolution unit, a fourth convolution unit, a first fusion unit and a first activation unit; wherein,

[0115] The input end of the first convolution unit, the input end of the second convolution unit, and the input end of the third convolution unit are all connected to the module input of the first shallow feature extraction module; the output end of the first convolution unit, the output end of the second convolution unit, and the output end of the third convolution unit are all connected to the input end of the first fusion unit; the output end of the first fusion unit is connected to the input end of the fourth convolution unit; the output end of the fourth convolution unit is connected to the input end of the first activation unit; and the output end of the first activation unit is connected to the module output of the first shallow feature extraction module.

[0116] It can be seen that the implementation Figure 2 The described image processing device is beneficial to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0117] In yet another optional embodiment, Figure 2 As shown, the first deep feature extraction module includes a fifth convolution unit, a sixth convolution unit, a seventh convolution unit, an eighth convolution unit, a ninth convolution unit, a tenth convolution unit, an eleventh convolution unit, a second activation unit, a third activation unit, a fourth activation unit, a second fusion unit and a third fusion unit; wherein,

[0118] The input end of the fifth convolution unit, the input end of the sixth convolution unit and the input end of the tenth convolution unit are all connected to the module input of the first deep feature extraction module; the output end of the fifth convolution unit is connected to the input end of the second activation unit; the output end of the second activation unit is connected to the input end of the sixth convolution unit; the output end of the sixth convolution unit is connected to the input end of the third activation unit; the output end of the third activation unit is connected to the input end of the second fusion unit; the output end of the seventh convolution unit is connected to the input end of the eighth convolution unit; the output end of the eighth convolution unit is connected to the input end of the second fusion unit; the output end of the second fusion unit is connected to the input end of the ninth convolution unit; the output end of the tenth convolution unit is connected to the input end of the eleventh convolution unit; the output end of the ninth convolution unit and the output end of the eleventh convolution unit are connected to the input end of the third fusion unit; the output end of the third fusion unit is connected to the module output of the first deep feature extraction module.

[0119] It can be seen that the implementation Figure 2 The described image processing device is beneficial to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0120] In yet another optional embodiment, Figure 2As shown, the first fusion feature extraction module includes a fourth fusion unit, a fifth fusion unit, a sixth fusion unit, a seventh fusion unit, an eighth fusion unit, a ninth fusion unit, a tenth fusion unit, a twelfth convolution unit, a thirteenth convolution unit, a fourteenth convolution unit, a fifteenth convolution unit, a fifth activation unit, a sixth activation unit, a seventh activation unit, an eighth activation unit, a ninth activation unit, a tenth activation unit, a first pooling unit, a second pooling unit, a third pooling unit, a fourth pooling unit, a first connection unit, and a second connection unit; wherein,

[0121] The input end of the fourth fusion unit is respectively connected to the first module input of the first fusion feature extraction module and the second module input of the first fusion feature extraction module; the output end of the fourth fusion unit is connected to the input end of the twelfth convolution unit; the output end of the twelfth convolution unit is connected to the input end of the fifth activation unit; the output end of the fifth activation unit is respectively connected to the input end of the first pooling unit, the input end of the second pooling unit and the input end of the seventh fusion unit; the output end of the first pooling unit and the output end of the second pooling unit are both connected to the input end of the sixth fusion unit; the output end of the sixth fusion unit is connected to the input end of the fourteenth convolution unit; the output end of the fourteenth convolution unit is connected to the input end of the seventh activation unit; the output end of the seventh activation unit is connected to the input end of the seventh fusion unit; the input ends of the fifth fusion unit are respectively connected to the first module input of the first fusion feature extraction module; the output end of the fifth fusion unit is connected to the input end of the thirteenth convolution unit; the output end of the thirteenth convolution unit is connected to the input end of the sixth activation unit ; The output end of the sixth activation unit is respectively connected to the input end of the third pooling unit, the input end of the fourth pooling unit and the input end of the ninth fusion unit; the output end of the third pooling unit and the output end of the fourth pooling unit are both connected to the input end of the eighth fusion unit; the output end of the eighth fusion unit is connected to the input end of the first connection unit; the output end of the first connection unit is connected to the input end of the eighth activation unit; the output end of the eighth activation unit is connected to the input end of the second connection unit; the output end of the second connection unit is connected to the input end of the ninth activation unit; the output end of the ninth activation unit is connected to the input end of the ninth fusion unit; the output end of the eighth fusion unit and the output end of the ninth fusion unit are both connected to the input end of the tenth fusion unit; the output end of the tenth fusion unit is connected to the input end of the fifteenth convolution unit; the output end of the fifteenth convolution unit is connected to the input end of the tenth activation unit; the output end of the tenth activation unit is respectively connected to the first module output of the first fusion feature extraction module and the second module output of the first fusion feature extraction module.

[0122] It can be seen that the implementation Figure 2 The described image processing device is beneficial to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0123] In yet another optional embodiment, Figure 2 As shown, the image fusion module includes a sixteenth convolution unit, a seventeenth convolution unit, an eighteenth convolution unit, a nineteenth convolution unit, a twentieth convolution unit, an eleventh activation unit, a twelfth activation unit, a thirteenth activation unit, a fourteenth activation unit and a fifteenth activation unit; wherein,

[0124] The input end of the sixteenth convolution unit is connected to the module input of the image fusion module, and the output end of the sixteenth convolution unit is connected to the input end of the eleventh activation unit; the output end of the eleventh activation unit is connected to the input end of the seventeenth convolution unit; the output end of the seventeenth convolution unit is connected to the input end of the twelfth activation unit; the output end of the twelfth activation unit is connected to the input end of the eighteenth convolution unit; the output end of the eighteenth convolution unit is connected to the input end of the thirteenth activation unit; the output end of the thirteenth activation unit is connected to the input end of the nineteenth convolution unit; the output end of the nineteenth convolution unit is connected to the input end of the fourteenth activation unit; the output end of the fourteenth activation unit is connected to the input end of the twentieth convolution unit; the output end of the twentieth convolution unit is connected to the input end of the fifteenth activation unit; the output end of the fifteenth activation unit is connected to the module output of the image fusion module.

[0125] It can be seen that the implementation Figure 2 The described image processing device is beneficial to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0126] In yet another optional embodiment, Figure 2 As shown, the first processing module 202 performs pre-processing on the image information to be processed to obtain initial processed image information, including:

[0127] Perform matching processing on the image information to be processed to obtain matching image information;

[0128] The matching image information is cropped to obtain initial processed image information.

[0129] It can be seen that the implementation Figure 2 The described image processing device is beneficial to enhancing the extraction of image detail features and improving the fusion quality and efficiency of infrared images and visible light images.

[0130] Embodiment 3

[0131] See also Figure 3 , Figure 3 is a schematic diagram of the structure of another image processing device disclosed in an embodiment of the present invention. Figure 3 The described device can be applied to a management system, such as a local server or a cloud server for image processing management, etc., which is not limited in the embodiments of the present invention. Figure 3 As shown, the device may include:

[0132] A memory 301 storing executable program codes;

[0133] a processor 302 coupled to the memory 301;

[0134] The processor 302 calls the executable program code stored in the memory 301 to execute the steps in the infrared and visible light image processing method described in the first embodiment.

[0135] Embodiment 4

[0136] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the image processing method described in the first embodiment.

[0137] Embodiment 5

[0138] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps of the image processing method described in the first embodiment.

[0139] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0140] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0141] Finally, it should be noted that the infrared and visible light image processing method and device disclosed in the embodiment of the present invention discloses only the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. An image processing method, characterized in that: The method comprises: Obtaining image information to be processed; Pre-processing the image information to be processed to obtain initial processed image information; The initial processed image information is processed using a target image processing model to obtain target image information.

2. The image processing method according to claim 1, characterized in that: The target image processing model includes a first shallow feature extraction module, a second shallow feature extraction module, a first deep feature extraction module, a second deep feature extraction module, a third deep feature extraction module, a fourth deep feature extraction module, a fifth deep feature extraction module, a sixth deep feature extraction module, a first fusion module, a second fusion module, a third fusion module, a fourth fusion module, a fifth fusion module, a first fusion feature extraction module, a second fusion feature extraction module and an image fusion module; wherein, The input end of the first shallow feature extraction module is connected to the first model input of the target image processing model, and the output end of the first shallow feature extraction module is respectively connected to the input end of the second deep feature extraction module, the input end of the first fusion module, the input end of the third fusion module and the input end of the fifth fusion module; the input end of the second shallow feature extraction module is connected to the second model input of the target image processing model, and the output end of the second shallow feature extraction module is respectively connected to the input end of the first deep feature extraction module, the input end of the second fusion module, the input end of the fourth fusion module and the input end of the fifth fusion module; the output end of the first deep feature extraction module is respectively connected to the input end of the second fusion module, the input end of the fourth fusion module and the input end of the first fusion feature extraction module; the output end of the second deep feature extraction module is respectively connected to the input end of the first fusion module, the input end of the third fusion module and the input end of the first fusion feature extraction module; the output end of the first fusion module is connected to The output end of the second fusion module is connected to the input end of the third deep feature extraction module; the output end of the third deep feature extraction module is respectively connected to the input end of the fourth fusion module and the input end of the second fusion feature extraction module; the output end of the fourth deep feature extraction module is respectively connected to the input end of the third fusion module and the input end of the second fusion feature extraction module; the output end of the second fusion feature extraction module is respectively connected to the input end of the third fusion module and the input end of the fourth fusion module; the output end of the third fusion module is connected to the input end of the sixth deep feature extraction module; the output end of the fourth fusion module is connected to the input end of the fifth deep feature extraction module; the output end of the fifth deep feature extraction module and the output end of the sixth deep feature extraction module are both connected to the input end of the fifth fusion module; the output end of the fifth fusion module is connected to the input end of the image fusion module; the output end of the image fusion module is connected to the model output of the target image processing model.

3. The image processing method according to claim 2, characterized in that: The first shallow feature extraction module includes a first convolution unit, a second convolution unit, a third convolution unit, a fourth convolution unit, a first fusion unit and a first activation unit; wherein, The input end of the first convolution unit, the input end of the second convolution unit and the input end of the third convolution unit are all connected to the module input of the first shallow feature extraction module; the output end of the first convolution unit, the output end of the second convolution unit and the output end of the third convolution unit are all connected to the input end of the first fusion unit; the output end of the first fusion unit is connected to the input end of the fourth convolution unit; the output end of the fourth convolution unit is connected to the input end of the first activation unit; the output end of the first activation unit is connected to the module output of the first shallow feature extraction module.

4. The image processing method according to claim 2, characterized in that: The first deep feature extraction module includes a fifth convolution unit, a sixth convolution unit, a seventh convolution unit, an eighth convolution unit, a ninth convolution unit, a tenth convolution unit, an eleventh convolution unit, a second activation unit, a third activation unit, a fourth activation unit, a second fusion unit and a third fusion unit; wherein, The input end of the fifth convolution unit, the input end of the sixth convolution unit and the input end of the tenth convolution unit are all connected to the module input of the first deep feature extraction module; the output end of the fifth convolution unit is connected to the input end of the second activation unit; the output end of the second activation unit is connected to the input end of the sixth convolution unit; the output end of the sixth convolution unit is connected to the input end of the third activation unit; the output end of the third activation unit is connected to the input end of the second fusion unit; the output end of the seventh convolution unit is connected to the input end of the eighth convolution unit; the output end of the eighth convolution unit is connected to the input end of the second fusion unit; the output end of the second fusion unit is connected to the input end of the ninth convolution unit; the output end of the tenth convolution unit is connected to the input end of the eleventh convolution unit; the output end of the ninth convolution unit and the output end of the eleventh convolution unit are connected to the input end of the third fusion unit; the output end of the third fusion unit is connected to the module output of the first deep feature extraction module.

5. The image processing method according to claim 2, characterized in that: The first fusion feature extraction module includes a fourth fusion unit, a fifth fusion unit, a sixth fusion unit, a seventh fusion unit, an eighth fusion unit, a ninth fusion unit, a tenth fusion unit, a twelfth convolution unit, a thirteenth convolution unit, a fourteenth convolution unit, a fifteenth convolution unit, a fifth activation unit, a sixth activation unit, a seventh activation unit, an eighth activation unit, a ninth activation unit, a tenth activation unit, a first pooling unit, a second pooling unit, a third pooling unit, a fourth pooling unit, a first connection unit, and a second connection unit; wherein, The input end of the fourth fusion unit is respectively connected to the first module input of the first fusion feature extraction module and the second module input of the first fusion feature extraction module; the output end of the fourth fusion unit is connected to the input end of the twelfth convolution unit; the output end of the twelfth convolution unit is connected to the input end of the fifth activation unit; the output end of the fifth activation unit is respectively connected to the input end of the first pooling unit, the input end of the second pooling unit and the input end of the seventh fusion unit; the output end of the first pooling unit and the output end of the second pooling unit are both connected to the input end of the sixth fusion unit; the output end of the sixth fusion unit is connected to the input end of the fourteenth convolution unit; the output end of the fourteenth convolution unit is connected to the input end of the seventh activation unit; the output end of the seventh activation unit is connected to the input end of the seventh fusion unit; the input end of the fifth fusion unit is respectively connected to the first module input of the first fusion feature extraction module; the output end of the fifth fusion unit is connected to the input end of the thirteenth convolution unit; the output end of the thirteenth convolution unit is connected to the input end of the sixth activation unit; The output end of the sixth activation unit is respectively connected to the input end of the third pooling unit, the input end of the fourth pooling unit and the input end of the ninth fusion unit; the output end of the third pooling unit and the output end of the fourth pooling unit are both connected to the input end of the eighth fusion unit; the output end of the eighth fusion unit is connected to the input end of the first connection unit; the output end of the first connection unit is connected to the input end of the eighth activation unit; the output end of the eighth activation unit is connected to the input end of the second connection unit; the output end of the second connection unit is connected to the input end of the ninth activation unit; the output end of the ninth activation unit is connected to the input end of the ninth fusion unit; the output end of the eighth fusion unit and the output end of the ninth fusion unit are both connected to the input end of the tenth fusion unit; the output end of the tenth fusion unit is connected to the input end of the fifteenth convolution unit; the output end of the fifteenth convolution unit is connected to the input end of the tenth activation unit; the output end of the tenth activation unit is respectively connected to the first module output of the first fusion feature extraction module and the second module output of the first fusion feature extraction module.

6. The image processing method according to claim 2, characterized in that: The image fusion module includes a sixteenth convolution unit, a seventeenth convolution unit, an eighteenth convolution unit, a nineteenth convolution unit, a twentieth convolution unit, an eleventh activation unit, a twelfth activation unit, a thirteenth activation unit, a fourteenth activation unit and a fifteenth activation unit; wherein, The input end of the sixteenth convolution unit is connected to the module input of the image fusion module, and the output end of the sixteenth convolution unit is connected to the input end of the eleventh activation unit; the output end of the eleventh activation unit is connected to the input end of the seventeenth convolution unit; the output end of the seventeenth convolution unit is connected to the input end of the twelfth activation unit; the output end of the twelfth activation unit is connected to the input end of the eighteenth convolution unit; the output end of the eighteenth convolution unit is connected to the input end of the thirteenth activation unit; the output end of the thirteenth activation unit is connected to the input end of the nineteenth convolution unit; the output end of the nineteenth convolution unit is connected to the input end of the fourteenth activation unit; the output end of the fourteenth activation unit is connected to the input end of the twentieth convolution unit; the output end of the twentieth convolution unit is connected to the input end of the fifteenth activation unit; the output end of the fifteenth activation unit is connected to the module output of the image fusion module.

7. The image processing method according to claim 1, characterized in that: The pre-processing of the image information to be processed to obtain initial processed image information includes: Performing matching processing on the image information to be processed to obtain matching image information; The matching image information is cropped to obtain initial processed image information.

8. An image processing device, characterized in that: The device comprises: An acquisition module, used for acquiring image information to be processed; A first processing module, used for pre-processing the image information to be processed to obtain initial processed image information; The second processing module is used to process the initial processed image information using a target image processing model to obtain target image information.

9. An image processing device, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the image processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the image processing method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Image processing method, electronic device and chip

    CN115761402A

  • Image processing method and device, computer equipment and storage medium

    CN116704206A

  • Method and device for robot teaching

    CN118143917A

  • Systems and methods for image optimization

    US20210142476A1

Cited By

  • Visual strong impact pressure evaluation method

    CN119693337A

  • Method and device for detecting space drivable area for automatic driving

    CN120298996A