Infrared image processing method, device, equipment and medium based on artificial intelligence
Through the artificial intelligence-based infrared image processing method, multi-layer neural networks are used to skip and fill in feature data, which solves the problem of low efficiency of traditional infrared image processing and achieves high efficiency of infrared images in application scenarios with high real-time requirements. Enhance.
Patent Information
- Application Number
- CN202411103502.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-13
AI Technical Summary
Traditional infrared image enhancement methods have low processing efficiency in application scenarios with high real-time requirements, and are difficult to meet the needs of aerospace, medical emergency diagnosis, and security for rapid response.
An infrared image processing method based on artificial intelligence is used to obtain the target infrared image to be enhanced for noise reduction processing and input it into the image enhancement model. Multi-layer neural networks are used to skip and fill in feature data to improve image enhancement efficiency.
It improves the efficiency of infrared image processing, ensures the image enhancement effect and increases the processing speed, and is suitable for infrared image data that takes up large space resources.
Smart Images

Figure CN118628399B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to an infrared image processing method, device, equipment and medium based on artificial intelligence. Background Art
[0002] Thermal infrared imaging is a term that succinctly summarizes the technical achievements of capturing the thermal radiation energy of an object and converting it into a visual image. It is not only a clever combination of physics and imaging technology, but also an important tool for modern science and technology to explore the unknown and optimize lifestyles. Infrared images, with their unique perspective, reveal the differences in temperature distribution on the surface of objects. This non-contact temperature measurement method has demonstrated unparalleled advantages and potential in many fields.
[0003] In the field of aerospace, infrared imaging technology is widely used in satellite remote sensing, night navigation, target tracking, and monitoring of thermal protection systems. Through infrared images, scientists and engineers can accurately identify temperature changes on the earth's surface, monitor thermal anomalies in the atmosphere, and even lock and track flying targets in the dark night sky, greatly improving the efficiency and safety of space exploration.
[0004] In the medical field, doctors use infrared thermal imagers to detect the temperature distribution of various parts of the human body to help diagnose a variety of diseases such as blood circulation disorders, inflammation, and tumors. This method is not only non-invasive and painless, but also can reflect the changes in the physiological state of the human body in real time, providing strong support for the early detection and treatment of diseases.
[0005] In addition, in the field of security monitoring, infrared imaging technology also plays an irreplaceable role. Whether it is a cold winter night or a dark night, infrared cameras can clearly capture the image of the target object, providing reliable visual information for security work. By intelligently analyzing the temperature anomalies in infrared images, the security system can promptly detect potential threats such as fire and intrusion, and respond quickly.
[0006] However, with the continuous deepening and wide application of infrared imaging technology, traditional infrared image enhancement methods have gradually revealed their limitations. Although these traditional methods have improved the image quality and information clarity to a certain extent, they are often accompanied by the problem of low processing efficiency. In application scenarios with extremely high real-time requirements, such as real-time monitoring in aerospace, medical emergency diagnosis, and rapid response to security, traditional enhancement methods are difficult to meet the needs. Therefore, exploring more efficient and intelligent infrared image enhancement technology has become a hot spot and difficulty in current research. Summary of the invention
[0007] The embodiments of the present application provide an infrared image processing method, device, equipment and medium based on artificial intelligence, which can improve the efficiency of infrared image processing.
[0008] On the one hand, an embodiment of the present application provides an infrared image processing method based on artificial intelligence, comprising:
[0009] Acquire infrared images of the target to be enhanced;
[0010] Performing noise reduction processing on the target infrared image to obtain a noise-reduced infrared image;
[0011] Inputting the de-noised infrared image into an image enhancement model, obtaining first image feature data output from a first image enhancement network layer of the image enhancement model, and identifying first feature data in the first image feature data; converting the first feature data into second feature data that can be recognized by a subsequent image enhancement network layer of the first image enhancement network layer;
[0012] Continuously inputting the first image feature data into subsequent image enhancement network layers of the first image enhancement network layer for training in sequence, and each subsequent image enhancement network layer skips the second feature data during training;
[0013] After obtaining the final image feature data output by the last image enhancement network layer of the image enhancement model, the final image feature data is filled with the first feature data to obtain an enhanced infrared image.
[0014] On the other hand, an embodiment of the present application provides an infrared image processing device based on artificial intelligence, comprising:
[0015] An image acquisition module, used for acquiring an infrared image of a target to be enhanced;
[0016] An image denoising module, used for performing denoising processing on the target infrared image to obtain a denoised infrared image;
[0017] a feature recognition module, configured to input the denoised infrared image into an image enhancement model, obtain first image feature data output from a first image enhancement network layer of the image enhancement model, and recognize first feature data in the first image feature data; and convert the first feature data into second feature data that can be recognized by a subsequent image enhancement network layer of the first image enhancement network layer;
[0018] An image training module, used for continuously inputting the first image feature data into subsequent image enhancement network layers of the first image enhancement network layer for training in sequence, and each subsequent image enhancement network layer skips the second feature data during training;
[0019] The image post-processing module is used to fill the final image feature data with the first feature data after obtaining the final image feature data output by the last image enhancement network layer of the image enhancement model to obtain an enhanced infrared image.
[0020] On the other hand, an embodiment of the present application provides an electronic device, including:
[0021] A memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the infrared image processing method based on artificial intelligence as described above.
[0022] On the other hand, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the processor executes the computer program to implement the infrared image processing method based on artificial intelligence as described above.
[0023] The beneficial effects of the present invention are:
[0024] The embodiment of the present application provides an infrared image processing method, device, equipment and medium based on artificial intelligence. The method obtains a target infrared image to be enhanced; performs noise reduction processing on the target infrared image to obtain a noise-reduced infrared image; inputs the noise-reduced infrared image into an image enhancement model to obtain first image feature data output from a first image enhancement network layer of the image enhancement model, and identifies first feature data in the first image feature data; converts the first feature data into second feature data that can be identified by subsequent image enhancement network layers of the first image enhancement network layer; continues to input the first image feature data into subsequent image enhancement network layers of the first image enhancement network layer for training in sequence, and each subsequent image enhancement network layer skips the second feature data during training; after obtaining the final image feature data output by the last image enhancement network layer of the image enhancement model, the final image feature data is filled with the first feature data to obtain an enhanced infrared image. That is, when the method performs image processing in the image enhancement model, a certain type of feature data of the infrared image is skipped during the processing, and the image feature data is filled when output. For infrared images with low processing efficiency due to the large space resource occupation, this method enhances them through artificial intelligence methods after denoising. On the basis of ensuring the effect of infrared image enhancement, the processing efficiency is improved by processing the network layer training. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0026] Figure 1 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;
[0027] Figure 2 is a flow chart of an infrared image processing method based on artificial intelligence provided in an embodiment of the present application;
[0028] Figure 3 is a flow chart of another infrared image processing method based on artificial intelligence provided in an embodiment of the present application;
[0029] Figure 4 is a flow chart of another infrared image processing method based on artificial intelligence provided in an embodiment of the present application;
[0030] Figure 5 It is a structural schematic diagram of an infrared image processing device based on artificial intelligence provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0032] 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 application. The appearance of the phrase in various locations 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.
[0033] In one embodiment, the infrared image processing method based on artificial intelligence provided by the present application can be applied to an electronic device. The electronic device can be a server or a client, and its internal structure diagram can be as follows: Figure 1As shown. The electronic device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor is used to provide computing and control capabilities; the memory includes a non-volatile storage medium and an internal memory, the non-volatile storage medium stores an operating system, a computer program (the computer program implements an infrared image processing method based on artificial intelligence when executed by the processor) and a database, and the internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium; the database is used to store data involved in the execution of the infrared image processing method based on artificial intelligence, for example, the database can store data such as a collection of commodity information and recommended order time; the network interface is used to communicate with an external terminal through a network connection; the display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the housing of the electronic device, or an external keyboard, touchpad or mouse. Further, the client can be but not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server can be implemented by an independent server or a server cluster composed of multiple servers.
[0034] Those skilled in the art will understand that Figure 1 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0035] See also Figure 2 , Figure 2 : is a schematic flow chart of an infrared image processing method based on artificial intelligence provided by an embodiment of the present application, the method comprising:
[0036] S20, acquiring an infrared image of the target to be enhanced.
[0037] In the specific implementation process, the target infrared image refers to any infrared image acquired by an infrared image acquisition device. In order to analyze and apply infrared images, the infrared image needs to be enhanced.
[0038] S40, performing noise reduction processing on the target infrared image to obtain a noise-reduced infrared image.
[0039] In the specific implementation process, infrared images usually contain different types of noise, such as thermal noise, electronic noise, etc., due to their special imaging methods and sensor characteristics. These noises will affect the quality and information content of the image, so special denoising methods are needed to improve the clarity and usability of the image. For example, the following are several common infrared image denoising methods:
[0040] Mean Filter: A simple mean filter can be used to reduce Gaussian noise and uniform noise by replacing the value of each pixel with the mean of the neighborhood around it.
[0041] Median Filter: Suitable for removing impulse noise (such as salt noise and pepper noise) by replacing the value of the pixel with the median of all pixels in the neighborhood without being affected by noise pixels.
[0042] Wavelet threshold denoising: Use wavelet transform to decompose the signal into sub-bands of different frequencies, then apply threshold processing to each sub-band to reduce noise, and finally perform inverse wavelet transform to reconstruct the denoised image.
[0043] Noise reduction processing can improve the quality of infrared images.
[0044] Since infrared images usually contain important information about the target's thermal distribution and thermal characteristics, the denoising process may affect or blur these details, especially the preservation of edges and small-scale structures is often a challenge. Therefore, as an optional embodiment, before the denoised infrared image is input into the image enhancement model, it also includes:
[0045] Acquire a visible light image corresponding to the target infrared image;
[0046] Fusing the de-noised infrared image with the visible light image to obtain a fused image;
[0047] Accordingly, the step of inputting the de-noised infrared image into an image enhancement model includes:
[0048] The fused image is input into an image enhancement model.
[0049] In the specific implementation process, the visible light image refers to an image collected under a visible light environment of the object targeted by the target infrared image. An image fusion method based on low-rank representation can be used to fuse the denoised infrared image and the visible light image. By adjusting the fusion ratio of the low-rank part and the saliency part of the denoised infrared image and the visible light image, the texture information of the visible light image is integrated into the infrared image, thereby enhancing the texture information of the target infrared image.
[0050] It is understood that the infrared image is first denoised to eliminate the effects of noise, and then texture enhancement techniques are applied to strengthen the structure and features of the image. This ensures that the noise is not overly highlighted or unnecessary artifacts are generated when enhancing the texture.
[0051] Specifically, fusing the de-noised infrared image with the visible light image to obtain a fused image includes:
[0052] Decomposing the de-noised infrared image and the visible light image using a principal component analysis method to obtain decomposed infrared image data and decomposed visible light image data;
[0053] The decomposed infrared image data and the decomposed visible light image data are reconstructed in a principal component space to obtain a fused image.
[0054] It can be understood that the principal component analysis method can transform the original image data into a new coordinate system through linear transformation, and the basis vectors of the new coordinate system are arranged in order of decreasing variance. By retaining the first few principal components, the dimension of the data can be reduced with as little information loss as possible. In image fusion, this means that more information can be represented with less data, effectively reducing the redundancy of the data. In addition, the principal component analysis method finds the main direction of change in the data by calculating the eigenvectors and eigenvalues of the covariance matrix. These principal components usually correspond to the main features in the image, such as edges, textures, etc. Using PCA can help extract and enhance common features in different images, thereby producing a more informative and contrasty fused image. Finally, the calculation of the principal component analysis method is relatively simple and efficient, especially when dealing with large-scale data sets. It does not involve complex nonlinear operations, but only basic linear algebra operations such as eigenvalue decomposition or singular value decomposition, so it can effectively simplify the calculation process of image fusion and improve the speed and efficiency of the algorithm. Therefore, the principal component analysis method has its targeted advantages for infrared image data that occupies a large space.
[0055] S60, inputting the denoised infrared image into an image enhancement model, obtaining first image feature data output from a first image enhancement network layer of the image enhancement model, and identifying first feature data in the first image feature data; converting the first feature data into second feature data that can be recognized by subsequent image enhancement network layers of the first image enhancement network layer.
[0056] In the specific implementation process, the image enhancement model is pre-trained, and the training process is as follows: taking the enhanced infrared image as the output target and the historical infrared image as the data source, the initial neural network model is trained until the enhanced infrared image that meets the requirements is output, thereby obtaining the image enhancement model;
[0057] Among them, during the training process, first target feature data in the first image feature data output from the first neural network layer of the initial neural network model is identified; the first target feature data is converted into second target feature data that can be recognized by the subsequent neural network layer of the first neural network layer; the first image feature data continues to be input into the subsequent neural network layers of the first neural network layer for training in sequence, and each subsequent neural network layer skips the second target feature data during training; and after obtaining the last layer of image feature data output by the last neural network layer of the initial neural network model, the last layer of image feature data is filled with the first target feature data to obtain an enhanced infrared image.
[0058] In the specific implementation process, the first image feature data is the feature data output by each channel of the first neural network layer during the model training process, and the first target feature data is a part of the data, such as high-frequency component data or low-frequency component data. The second target feature data refers to the features that can be recognized by the subsequent neural network layer. The conversion into the second target feature data is to achieve subsequent skipping processing. For infrared image data, the first target feature data can be converted into the second target feature data according to the scaling size of each layer of the neural network.
[0059] It can be understood that in this embodiment, the image enhancement model is a multi-layer neural network model, such as a convolutional neural network. The training set includes a number of unenhanced historical infrared images and a number of corresponding enhanced infrared images. During the training process, the enhanced infrared images are used as the output target and the historical infrared images are used as the data source. After the training is completed, the image enhancement model is obtained.
[0060] Since a massive amount of infrared image data is required, and infrared image data is usually large, processing and analyzing this data requires powerful computing resources and professional processing technology, especially in real-time monitoring or large-scale data collection scenarios. Therefore, based on this feature, the training process of the network model is optimized. In the training process of infrared images, the training efficiency is significantly improved by skipping the processing of certain types of features in the neural network layer.
[0061] Therefore, after the denoised infrared image is input into the trained image enhancement model, the image enhancement model also skips the processing of the first feature data when processing the denoised infrared image.
[0062] In the specific implementation process, when the denoised infrared image is processed using the trained image enhancement model, the first image feature data refers to the feature data output by the first image enhancement network layer channel, and the first feature data is a part of the first image feature data, for example, high-frequency component data or low-frequency component data. The second feature data refers to the feature that can be recognized by the subsequent neural network layer, and the conversion into the second feature data is to achieve subsequent skipping processing. For infrared image data, the first feature data can be converted into the second feature data according to the scaling size of each layer of the neural network.
[0063] S80, continuing to input the first image feature data into subsequent image enhancement network layers of the first image enhancement network layer for training in sequence, and each subsequent image enhancement network layer skips the second feature data during training.
[0064] In the specific implementation process, since the second feature data can be recognized by the subsequent image enhancement network layer, the second feature data can be skipped during the training process. It should be noted that the second feature data is substantially the same as the first feature data, but the size of the feature data corresponding to each layer of the image enhancement network layer is different, so it needs to be converted into the second feature data.
[0065] S100, after obtaining the final image feature data output by the last image enhancement network layer of the image enhancement model, fill the final image feature data with the first feature data to obtain an enhanced infrared image.
[0066] In the specific implementation process, since the processing of some features is skipped during the training process, the final image data may be incomplete and the enhancement effect may be affected. Therefore, the first feature data can be used to fill the final image feature data, and the filled content is the feature value corresponding to the first feature data.
[0067] It can be seen that in this embodiment, the first feature data is used to fill the final image feature data to obtain an enhanced infrared image. That is, when the method performs image processing in the image enhancement model, the processing of a certain type of feature data of the infrared image is skipped during the processing, and the image feature data is filled when output. For infrared images whose processing efficiency is low due to the large space resource occupation, this method enhances them through artificial intelligence methods after denoising, ensuring the effect of infrared image enhancement, and improving the processing efficiency through the processing of network layer training.
[0068] The above is a description of the execution process of steps S20-S100, and some optional embodiments will be given below.
[0069] In one embodiment, the identifying first feature data in the first image feature data includes:
[0070] identifying frequency data of the first image feature data;
[0071] The high-frequency component data or the low-frequency component data in the frequency data is determined as the first feature data.
[0072] In the specific implementation process, in infrared image processing, high-frequency components and low-frequency components refer to components of different spatial frequencies in the image. These frequency components reflect the speed of changes and the fineness of details in the image.
[0073] Among them, low-frequency components refer to the slowly changing parts of the image, which usually contain the overall structure and large-scale features of the image. In infrared images, low-frequency components mainly reflect the main thermal distribution of the scene and large-scale changes in thermal characteristics, such as temperature differences over a large area or the overall outline of an object.
[0074] High-frequency components refer to the parts of an image that change rapidly and are rich in details, usually including edges, textures, and small-scale features in the image. In infrared images, high-frequency components correspond to local details and small changes in thermal features, such as small objects, subtle temperature changes, or local heat sources in a complex background.
[0075] In this embodiment, according to different application scenarios of infrared images, the image content is different and the requirements for features are also different. The first feature data can be high-frequency component data or low-frequency component data. For some scenarios, such as equipment detection and recognition, when it is necessary to identify a large area, the low-frequency component needs to be used as the retained data, and the high-frequency component representing local details and small thermal feature changes should be ignored. Therefore, the high-frequency component data can be determined as the first feature data, so that the high-frequency component is not enhanced during the processing, but the low-frequency component is focused on. On the contrary, for infrared images, some scenarios often need to focus on small objects, subtle temperature changes or local heat sources in complex backgrounds. At this time, the high-frequency component data should be determined as the first feature data, so that the low-frequency component is not enhanced during the processing, but the high-frequency component is focused on. This can improve the efficiency of image processing in different scenarios, and the use scenarios of infrared image processing are more extensive.
[0076] For further information, see Figure 3 , the step of filling the final image feature data with the first feature data to obtain an enhanced infrared image includes:
[0077] S102, outputting a preliminary enhanced infrared image corresponding to the final image feature data, and evaluating the effect of the preliminary enhanced infrared image;
[0078] In the specific implementation process, the preliminary enhanced infrared image is the image output after the above method is processed. It is understandable that since the high-frequency component or low-frequency component is ignored in the above infrared image processing process, it is necessary to evaluate the effect of the preliminary enhanced infrared image. There are many evaluation methods, which can be evaluated by human visual evaluation, and can be scored or given a preference ranking based on factors such as image clarity, contrast, and detail performance. In addition, it can also be evaluated through existing algorithms.
[0079] S104, if the preliminary enhanced infrared image lacks some features, fill the feature data of the final image with the first feature data to obtain a first enhanced infrared image, wherein the some features include high-frequency components;
[0080] In the specific implementation process, some features include features required for the application scenario. For example, for some scenarios that require edge features, if the high-frequency components are ignored during the processing, some features are high-frequency components and need to be filled. The filling method can be referred to above and will not be repeated here. The first enhanced infrared image is the enhanced image finally obtained.
[0081] S106: If the preliminary enhanced infrared image does not lack some features, directly use the preliminary enhanced infrared image as the second enhanced infrared image.
[0082] In the specific implementation process, some high-frequency components are even noise. For example, the edge interference features that need to be cut out do not need to be filled if it is found that the missing data is noise data after evaluation. This not only improves the efficiency of infrared image processing, but also achieves a further denoising effect. Therefore, after ignoring it in the image processing process, there is no need to fill in the features, and the second enhanced infrared image can be directly obtained.
[0083] It can be seen that in this embodiment, by ignoring the high-frequency component or the low-frequency component during the processing and selectively filling it in the subsequent process, not only the efficiency of the infrared image enhancement algorithm can be improved, but also the image quality can be further improved in some cases.
[0084] As an optional implementation, see Figure 4 , before inputting the de-noised infrared image into the image enhancement model, it also includes:
[0085] S001. Acquire several historical infrared images corresponding to the target object;
[0086] S002, performing image enhancement on the plurality of historical infrared images to obtain a plurality of corresponding enhanced infrared images;
[0087] S003. Based on the plurality of enhanced infrared images and the corresponding plurality of historical infrared images, an initial neural network model is trained to obtain the image enhancement model.
[0088] In the specific implementation process, the target object refers to the object of infrared image acquisition, the historical infrared image is the original infrared image, the enhanced infrared image is the image after the original infrared image is enhanced by the existing image enhancement method, the historical infrared image and the enhanced infrared image constitute a training set, and the initial neural network model is trained to obtain the image enhancement model.
[0089] As an optional implementation manner, the training of an initial neural network model based on the plurality of enhanced infrared images and the corresponding plurality of historical infrared images to obtain the image enhancement model includes:
[0090] Taking the enhanced infrared image as the output target and the historical infrared image as the data source, the initial neural network model is trained until an enhanced infrared image that meets the requirements is output, thereby obtaining the image enhancement model;
[0091] Among them, during the training process, first target feature data in the first image feature data output from the first neural network layer of the initial neural network model is identified; the first target feature data is converted into second target feature data that can be recognized by the subsequent neural network layer of the first neural network layer; the first image feature data continues to be input into the subsequent neural network layers of the first neural network layer for training in sequence, and each subsequent neural network layer skips the second target feature data during training; and after obtaining the last layer of image feature data output by the last neural network layer of the initial neural network model, the last layer of image feature data is filled with the first target feature data to obtain an enhanced infrared image.
[0092] In the specific implementation process, the first image feature data is the feature data output by each channel of the first neural network layer during the model training process, and the first target feature data is a part of the data, such as high-frequency component data or low-frequency component data. The second target feature data refers to the features that can be recognized by the subsequent neural network layer. The conversion into the second target feature data is to achieve subsequent skipping processing. For infrared image data, the first target feature data can be converted into the second target feature data according to the scaling size of each layer of the neural network.
[0093] It can be understood that in this embodiment, the image enhancement model is a multi-layer neural network model, such as a convolutional neural network. The training set includes a number of unenhanced historical infrared images and a number of corresponding enhanced infrared images. During the training process, the enhanced infrared images are used as the output target and the historical infrared images are used as the data source. After the training is completed, the image enhancement model is obtained.
[0094] Since a massive amount of infrared image data is required, and infrared image data is usually large, processing and analyzing this data requires powerful computing resources and professional processing technology, especially in real-time monitoring or large-scale data collection scenarios. Therefore, based on this feature, the training process of the network model is optimized. In the training process of infrared images, the training efficiency is significantly improved by skipping the processing of certain types of features in the neural network layer.
[0095] Based on the description of the above embodiments, the present application embodiment provides an infrared image processing device based on artificial intelligence. Figure 5 , Figure 5 is a schematic diagram of the structure of an infrared image processing device based on artificial intelligence provided in an embodiment of the present application, such as Figure 5 As shown, the device includes an image acquisition module 501, an image noise reduction module 502, a feature recognition module 503, an image training module 504 and an image post-processing module 505:
[0096] An image acquisition module 501 is used to acquire an infrared image of a target to be enhanced;
[0097] An image denoising module 502 is used to perform denoising processing on the target infrared image to obtain a denoised infrared image;
[0098] The feature recognition module 503 is used to input the denoised infrared image into an image enhancement model, obtain first image feature data output from a first image enhancement network layer of the image enhancement model, and recognize first feature data in the first image feature data; convert the first feature data into second feature data that can be recognized by a subsequent image enhancement network layer of the first image enhancement network layer;
[0099] An image training module 504 is used to continue to input the first image feature data into subsequent image enhancement network layers of the first image enhancement network layer for training in sequence, and each subsequent image enhancement network layer skips the second feature data during training;
[0100] The image post-processing module 505 is used to fill the final image feature data with the first feature data after obtaining the final image feature data output by the last image enhancement network layer of the image enhancement model to obtain an enhanced infrared image.
[0101] In one embodiment, based on the same inventive concept as the aforementioned embodiment, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the processor executes the computer program to implement the method of the aforementioned embodiment.
[0102] It should be noted that the specific implementation methods and achievable technical effects of this embodiment can all refer to the contents of the aforementioned infrared image processing method embodiment based on artificial intelligence, and will not be repeated here.
[0103] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0104] What is disclosed above is only a partial embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. A person skilled in the art can understand that the entire or partial process of implementing the above embodiment and the equivalent changes made according to the claims of the present application are still within the scope of the invention.
Claims
1. An infrared image processing method based on artificial intelligence, It is characterized in that include: Acquire infrared images of the target to be enhanced; Performing noise reduction processing on the target infrared image to obtain a noise-reduced infrared image; Input the de-noised infrared image into an image enhancement model, obtain first image feature data output from a first image enhancement network layer of the image enhancement model, identify frequency data of the first image feature data, and determine high-frequency component data or low-frequency component data in the frequency data as first feature data; convert the first feature data into second feature data that can be recognized by a subsequent image enhancement network layer of the first image enhancement network layer; Continuously inputting the first image feature data into subsequent image enhancement network layers of the first image enhancement network layer for training in sequence, and each subsequent image enhancement network layer skips the second feature data during training; After obtaining the final image feature data output by the last image enhancement network layer of the image enhancement model, outputting a preliminary enhanced infrared image corresponding to the final image feature data, and evaluating the effect of the preliminary enhanced infrared image; If the preliminary enhanced infrared image lacks some features, the feature data of the final image is filled with the first feature data to obtain a first enhanced infrared image, wherein the partial features include high-frequency components; If the preliminary enhanced infrared image does not lack some features, the preliminary enhanced infrared image is directly used as the second enhanced infrared image.
2. The infrared image processing method based on artificial intelligence according to claim 1, It is characterized in that Before inputting the de-noised infrared image into the image enhancement model, the method further includes: Acquire a visible light image corresponding to the target infrared image; The de-noised infrared image is fused with the visible light image to obtain a fused image.
3. The infrared image processing method based on artificial intelligence according to claim 2, It is characterized in that Fusing the de-noised infrared image with the visible light image to obtain a fused image, including: Decomposing the target infrared image and the visible light image using a principal component analysis method to obtain decomposed infrared image data and decomposed visible light image data; The decomposed infrared image data and the decomposed visible light image data are reconstructed in a principal component space to obtain a fused image.
4. The infrared image processing method based on artificial intelligence according to claim 1, It is characterized in that Before inputting the de-noised infrared image into the image enhancement model, the method further includes: Acquire several historical infrared images corresponding to the target object; Performing image enhancement on the plurality of historical infrared images to obtain a plurality of corresponding enhanced infrared images; Based on the plurality of enhanced infrared images and the corresponding plurality of historical infrared images, an initial neural network model is trained to obtain the image enhancement model.
5. The infrared image processing method based on artificial intelligence according to claim 4, It is characterized in that Based on the plurality of enhanced infrared images and the corresponding plurality of historical infrared images, an initial neural network model is trained to obtain the image enhancement model, including: Taking the enhanced infrared image as the output target and the historical infrared image as the data source, the initial neural network model is trained until an enhanced infrared image that meets the requirements is output, thereby obtaining the image enhancement model; Among them, during the training process, first target feature data in the first image feature data output from the first neural network layer of the initial neural network model is identified; the first target feature data is converted into second target feature data that can be recognized by the subsequent neural network layer of the first neural network layer; the first image feature data continues to be input into the subsequent neural network layers of the first neural network layer for training in sequence, and each subsequent neural network layer skips the second target feature data during training; and after obtaining the last layer of image feature data output by the last neural network layer of the initial neural network model, the last layer of image feature data is filled with the first target feature data to obtain an enhanced infrared image.
6. An infrared image processing device based on artificial intelligence, It is characterized in that include: An image acquisition module, used for acquiring an infrared image of a target to be enhanced; An image denoising module, used for performing denoising processing on the target infrared image to obtain a denoised infrared image; A feature recognition module is used to input the denoised infrared image into an image enhancement model, obtain first image feature data output from a first image enhancement network layer of the image enhancement model, and identify frequency data of the first image feature data, and determine high-frequency component data or low-frequency component data in the frequency data as first feature data; convert the first feature data into second feature data that can be recognized by a subsequent image enhancement network layer of the first image enhancement network layer; An image training module, used for continuously inputting the first image feature data into subsequent image enhancement network layers of the first image enhancement network layer for training in sequence, and each subsequent image enhancement network layer skips the second feature data during training; An image post-processing module is used to output a preliminary enhanced infrared image corresponding to the final image feature data after obtaining the final image feature data output by the last image enhancement network layer of the image enhancement model, and evaluate the effect of the preliminary enhanced infrared image; If the preliminary enhanced infrared image is missing some features, the first feature data is used to fill the final image feature data to obtain a first enhanced infrared image, and the partial features include high-frequency components; if the preliminary enhanced infrared image is not missing some features, the preliminary enhanced infrared image is directly used as the second enhanced infrared image.
7. An electronic device, It is characterized in that The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement the method according to any one of claims 1 to 5.
