Thermal image processing method and device and storage medium

By obtaining the characteristic information of thermal images, determining the scene type and selecting a suitable processing method, the problem of unstable imaging quality of thermal imaging equipment at different distances is solved and the imaging effect of thermal images is improved.

CN118710504APending Publication Date: 2024-09-27HANGZHOU MICROIMAGE SOFTWARE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410775174.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

When existing thermal imaging equipment collects changes in the distance between the area to be measured and the equipment, the imaging quality of the thermal image is unstable, and a single image enhancement method cannot meet the needs of different scenarios, resulting in poor imaging quality.

Method used

By obtaining the characteristic information of the thermal image to be processed, the scene type is determined, and a suitable processing method is selected, including adjusting the response rate, image enhancement algorithm and resolution, to improve the imaging quality of the thermal image.

Benefits of technology

It realizes the selection of appropriate processing methods according to different scene types, improves the imaging quality of thermal images, avoids the problem of over-sharp or poor quality images, and enhances the imaging effect of thermal imaging equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118710504A
    Figure CN118710504A
Patent Text Reader

Abstract

The invention provides a thermal image processing method and device and a storage medium, relates to the technical field of thermal imaging, and can improve the imaging quality of a thermal image. The method comprises the steps that a processing device acquires a to-be-processed thermal image; afterwards, the processing device determines a scene type based on the to-be-processed thermal image, and the scene type is related to the detail richness and / or dynamic range of the to-be-processed thermal image. The processing device determines a target processing mode corresponding to the scene type from multiple types of processing modes based on the scene type, each type of processing mode is used for improving the imaging quality of the thermal image, and the improvement degrees of the imaging quality of the thermal image corresponding to different types of processing modes are different. And the processing device performs enhancement processing on the to-be-processed thermal image based on the target processing mode to obtain a target thermal image.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of thermal imaging technology, and in particular to a thermal image processing method, device and storage medium. Background Art

[0002] Thermal imaging equipment can detect infrared signals of specific wavelength bands of thermal radiation from the area to be measured through photoelectric technology, and convert the signals into thermal images that can be visually distinguished by users, i.e. thermal images. In addition, during the conversion process, thermal imaging equipment can perform image enhancement processing on the thermal images to improve the imaging quality of the thermal images.

[0003] However, the current thermal imaging devices have a relatively single method for thermal image enhancement. When the thermal imaging device collects the thermal image of the area to be measured, the imaging quality of the thermal image changes as the distance between the thermal imaging device and the area to be measured changes. Thus, the use of a single image enhancement method may result in poor thermal image quality. Summary of the invention

[0004] The present application provides a thermal image processing method, device and storage medium, which can improve the imaging quality of thermal images.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, the present application provides a method for processing thermal images. In the method, a thermal image to be processed is obtained. Based on the thermal image to be processed, a scene type is determined, and the scene type is related to the detail richness and / or dynamic range of the thermal image to be processed. Based on the scene type, a target processing method corresponding to the scene type is determined from a plurality of types of processing methods, each type of processing method is used to improve the imaging quality of the thermal image, and different types of processing methods correspond to different degrees of improvement in the imaging quality of the thermal image. Based on the target processing method, the thermal image to be processed is enhanced to obtain a target thermal image.

[0007] Based on the above technical solution, the processing device can obtain the thermal image to be processed, and determine the scene type based on the thermal image to be processed, and the scene type is related to the detail richness and / or dynamic range of the thermal image to be processed. After that, the processing device can determine the target processing method from a plurality of types of processing methods based on the scene type. Since each type of processing method is used to improve the imaging quality of the thermal image, and different types of processing methods correspond to different degrees of improvement in the imaging quality of the thermal image; thus, the processing device can enhance the thermal image to be processed based on the target processing method corresponding to the scene type to obtain the target thermal image. In this way, it can be ensured that when processing the thermal image, a suitable processing method is used to process the thermal image from a plurality of processing methods to improve the imaging effect of the target thermal image.

[0008] In a possible implementation, the scene types include: a first type and a second type, the detail richness corresponding to the first type is greater than the detail richness corresponding to the second type, and / or the dynamic range corresponding to the first type is greater than the dynamic range corresponding to the second type; the multiple types of processing methods include: a first type of processing method and a second type of processing method, the first type of processing method improves the thermal image quality less than the second type of processing method improves the thermal image quality. If the scene type is the first type, the first type of processing method is used as the target processing method. If the scene type is the second type, the second type of processing method is used as the target processing method.

[0009] In a possible implementation, the first type of processing method includes at least one of the following: reducing the response rate, using a first preset algorithm to process the thermal image, and adjusting the image enhancement parameter to a first value. The second type of processing method includes at least one of the following: increasing the response rate, using a second preset algorithm to process the thermal image, adjusting the image enhancement parameter to a second value, and reducing the resolution of the thermal image. The complexity of the first preset algorithm is less than the complexity of the second preset algorithm, and the first value is less than the second value.

[0010] In a possible implementation, adjusting the response rate includes at least one of the following: adjusting the electrical signal strength output by the detector, adjusting the signal strength of the digital signal. Adjusting the resolution of the thermal image includes at least one of the following: adjusting the resolution output by the detector, performing pixel merging processing on the thermal image.

[0011] In a possible implementation, feature information of the thermal image to be processed is obtained, and the feature information is related to the acquisition distance. Based on the feature information of the thermal image to be processed, the scene type is determined.

[0012] In a possible implementation, the feature information includes: detail information, where the detail information is used to indicate the detail richness of the thermal image. If the detail richness of the thermal image to be processed is greater than or equal to a preset detail richness threshold, the scene type is determined to be the first type. If the detail richness of the thermal image to be processed is less than the preset detail richness threshold, the scene type is determined to be the second type.

[0013] In a possible implementation, the characteristic information further includes: dynamic range. If the dynamic range of the thermal image to be processed is outside the preset dynamic range, the scene type is determined to be the first type. If the dynamic range of the thermal image to be processed is within the preset dynamic range, the scene type is determined to be the second type. Among them, if the scene type is a scene type with detail richness less than a preset detail richness threshold and the dynamic range within the preset dynamic range, the second type of processing includes: reducing the resolution of the thermal image.

[0014] In a second aspect, the present application provides a thermal image processing device, including: an acquisition module and a processing module.

[0015] The acquisition module is used to acquire the thermal image to be processed. The processing module is used to determine the scene type based on the thermal image to be processed, and the scene type is related to the detail richness and / or dynamic range of the thermal image to be processed. The processing module is also used to determine the target processing method corresponding to the scene type from multiple types of processing methods based on the scene type, each type of processing method is used to improve the imaging quality of the thermal image, and different types of processing methods correspond to different degrees of improvement in the imaging quality of the thermal image. The processing module is also used to enhance the thermal image to be processed based on the target processing method to obtain a target thermal image.

[0016] In a possible implementation manner, the target processing manner includes at least one of the following: adjusting a response rate, adjusting an image enhancement algorithm of a thermal image, adjusting an image enhancement parameter of a thermal image, or adjusting a resolution of a thermal image.

[0017] In a possible implementation, the scene types include: a first type and a second type, the detail richness corresponding to the first type is greater than the detail richness corresponding to the second type, and / or the dynamic range corresponding to the first type is greater than the dynamic range corresponding to the second type; the multiple types of processing methods include: a first type of processing method and a second type of processing method, the first type of processing method improves the thermal image quality less than the second type of processing method improves the thermal image quality. The processing module is further used to use the first type of processing method as the target processing method if the scene type is the first type. The processing module is further used to use the second type of processing method as the target processing method if the scene type is the second type.

[0018] In a possible implementation, the first type of processing method includes at least one of the following: reducing the response rate, using a first preset algorithm to process the thermal image, and adjusting the image enhancement parameter to a first value. The second type of processing method includes at least one of the following: increasing the response rate, using a second preset algorithm to process the thermal image, adjusting the image enhancement parameter to a second value, and reducing the resolution of the thermal image. The complexity of the first preset algorithm is less than the complexity of the second preset algorithm, and the first value is less than the second value.

[0019] In a possible implementation, adjusting the response rate includes at least one of the following: adjusting the electrical signal strength output by the detector, adjusting the signal strength of the digital signal. Adjusting the resolution of the thermal image includes at least one of the following: adjusting the resolution output by the detector, performing pixel merging processing on the thermal image.

[0020] In a possible implementation, the acquisition module is further used to acquire feature information of the thermal image to be processed, where the feature information is related to the acquisition distance. The processing module is further used to determine the scene type based on the feature information of the thermal image to be processed.

[0021] In a possible implementation, the feature information includes: detail information, the detail information is used to indicate the detail richness of the thermal image, and the detail richness is related to the acquisition distance. The processing module is further used to determine that the scene type is the first type if the detail richness of the thermal image to be processed is greater than or equal to a preset detail richness threshold. The processing module is further used to determine that the scene type is the second type if the detail richness of the thermal image to be processed is less than the preset detail richness threshold.

[0022] In a possible implementation, the characteristic information further includes: a dynamic range. The processing module is further configured to determine that the scene type is the first type if the detail richness of the thermal image to be processed is greater than or equal to a preset detail richness threshold. The processing module is further configured to determine that the scene type is the second type if the detail richness of the thermal image to be processed is less than the preset detail richness threshold.

[0023] In a third aspect, the present application provides a thermal image processing device, including: a memory and a processor; the memory and the processor are coupled; the memory is used to store a computer program; and the processor implements the method in any of the above embodiments when executing the computer program.

[0024] In a fourth aspect, the present application provides a computer-readable storage medium having computer program instructions stored thereon, and the computer program instructions, when executed by a processor, implement the method in any of the above embodiments.

[0025] In a fifth aspect, the present application provides a computer program product, which includes computer program instructions, and when the computer program instructions are executed, the method in any of the above embodiments is implemented.

[0026] In the above scheme, the technical problems that can be solved and the technical effects achieved by the thermal image processing device, computer storage medium or computer program product can refer to the technical problems and technical effects solved by the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 A schematic diagram of the structure of a thermal imaging device provided in an embodiment of the present application;

[0028] Figure 2 A schematic flow chart of a thermal image processing method provided in an embodiment of the present application;

[0029] Figure 3A schematic flow chart of another thermal image processing method provided in an embodiment of the present application;

[0030] Figure 4 A schematic flow chart of another thermal image processing method provided in an embodiment of the present application;

[0031] Figure 5 A schematic diagram of the structure of a thermal image processing device provided in an embodiment of the present application;

[0032] Figure 6 A schematic diagram of the structure of another thermal image processing device provided in an embodiment of the present application;

[0033] Figure 7 A conceptual partial view of a computer program product provided for an embodiment of the present application. DETAILED DESCRIPTION

[0034] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0035] In this article, the character " / " generally indicates that the objects before and after are in an "or" relationship. For example, A / B can be understood as A or B.

[0036] The terms “first” and “second” in the description and claims of the present application are used to distinguish different objects rather than to describe a specific order of the objects.

[0037] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include other steps or modules that are not listed, or may optionally include other steps or modules that are inherent to these processes, methods, products or devices.

[0038] In addition, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present concepts in a specific way.

[0039] Thermal imaging equipment can receive heat information radiated by objects in a region. Afterwards, the differences in temperature and emissivity of objects in the region can be optically sensed by the detector, and finally imaged through digital image processing technology, allowing users to intuitively see the heat distribution of each object in the observed scene.

[0040] At present, when thermal imaging equipment is in use, the imaging effect is usually affected by the collection distance between the area to be measured and the thermal imaging equipment. Specifically, the collection distance between the thermal imaging equipment and the area to be measured can affect the signal strength of the thermal imaging equipment. Since air media such as water and fog have an absorption effect on the infrared signal of thermal radiation, when the collection distance is large, the absorption of the signal by the air medium increases accordingly, and the signal strength received by the thermal imaging equipment (reflected in the temperature difference range in thermal imaging) will decrease. In addition, if a zoom lens is used to observe the near and far views, the optical lens usually has different lens aperture numbers at the telephoto end and the short focal end, which may amplify the effect of the collection distance on the infrared signal strength. Alternatively, at different collection distances, the imaging performance of the area to be measured on the detector target surface is different. For example, for the same forest, in the thermal image collected at a close distance, the veins on the trunk, leaves, and even several leaves can be observed. However, in the thermal image collected at a long distance, only the outline of the crown and the large trunk can be observed.

[0041] In summary, as the distance between the thermal imaging device and the area to be measured changes, the imaging quality of the thermal image also changes. If a single image enhancement method is used, the imaging quality of the thermal image may be poor. For example, when the image quality is good (or the acquisition distance is short), using a stronger image enhancement method will cause the thermal image to be too sharp. For another example, when the image quality is poor (or the acquisition distance is far), using a weaker image enhancement method will cause the image quality of the thermal image to remain poor and not be significantly improved.

[0042] In order to solve the above problems, an embodiment of the present application provides a method for processing thermal images, in which a thermal image processing device (hereinafter referred to as a processing device) can obtain a thermal image to be processed, and based on the thermal image to be processed, determine a scene type, and the scene type is related to the detail richness and / or dynamic range of the thermal image to be processed. Afterwards, the processing device can determine a target processing method from a plurality of types of processing methods based on the scene type. Since each type of processing method is used to improve the imaging quality of thermal images, and different types of processing methods correspond to different degrees of improvement in the imaging quality of thermal images; thus, the processing device can enhance the thermal image to be processed based on the target processing method corresponding to the scene type to obtain a target thermal image. In this way, it can be ensured that when processing the thermal image, a suitable processing method is used to process the thermal image from a plurality of processing methods to improve the imaging effect of the target thermal image.

[0043] The execution subject of the thermal image processing method provided in the present application may be a thermal image processing device, and the processing device may be a thermal imaging device. At the same time, the processing device may also be a central processing unit (CPU) of the thermal imaging device, or a processing module for processing thermal imaging in the thermal imaging device. Alternatively, the processing device may be an electronic device. In the embodiment of the present application, the thermal image processing method provided in the embodiment of the present application is described by taking the execution of the thermal image processing method by the processing device as an example.

[0044] Among them, thermal imaging equipment can detect infrared signals non-contactly and convert infrared signals into electrical signals through sensors to obtain image images and temperature information.

[0045] It should be noted that the embodiments of the present application do not limit the thermal imaging device. For example, the thermal imaging device can be an infrared temperature measurement (non-contact) device, an infrared thermal imaging camera, a telescopic infrared thermal imager, a handheld infrared thermal imager, an unmanned aerial vehicle infrared thermal imager, etc.

[0046] To facilitate understanding of the embodiments of the present application, first Figure 1 The thermal imaging device shown in FIG. 1 is used as an example to describe in detail a thermal image processing device applicable to an embodiment of the present application. For example, Figure 1 A schematic diagram of the structure of a thermal imaging device 101 applicable to the thermal image processing method provided in the embodiment of the present application. Figure 1 As shown, the thermal imaging device 101 includes: an infrared lens 102 , a detector 103 , an electronic component 104 and a display component 105 .

[0047] The infrared lens 102 is used to receive the infrared signal of thermal radiation emitted by the area to be measured (such as area a). The lens usually adopts a combination of a high-resolution aspherical glass lens and a long focal length objective lens to ensure the clarity and accuracy of the thermal image.

[0048] The detector 103 is used to convert the collected infrared signal of thermal radiation into an electrical signal.

[0049] The electronic component 104 is used to process the electrical signal output by the detector 103, including steps such as amplification, filtering, and digitization, so as to convert the electrical signal into a digital signal, and then generate usable image data (ie, image signal) based on the digital signal.

[0050] The display component 105 is used to convert the image signal into a visible light image, namely a thermal image, which includes the heat distribution of the area to be measured.

[0051] In some embodiments, the thermal imaging device 101 may be connected to an electronic device, and the electronic device is used to display the thermal image. Alternatively, the electronic device may also perform image enhancement processing on the thermal image.

[0052] It should be noted that the embodiments of the present application do not limit the electronic device. For example, the electronic device may be a laptop computer, a tablet computer, a mobile phone, an augmented reality (AR) terminal, etc.

[0053] After introducing the implementation environment of the embodiment of the present application, the thermal image processing method provided by the embodiment of the present application is described in detail below in combination with the above implementation environment.

[0054] like Figure 2 As shown, a thermal image processing method provided by an embodiment of the present application includes:

[0055] S201. A processing device obtains a thermal image to be processed.

[0056] In a possible implementation, when the processing device is a thermal imaging device, the processing device can collect infrared signals of the area to be measured and convert the infrared signals of the area to be measured into electrical signals. Then, the processing device can convert the electrical signals into digital signals to obtain the thermal image to be processed.

[0057] In another possible implementation, when the processing device is an electronic device, the thermal imaging device may acquire the thermal image to be processed and send the thermal image to be processed to the processing device. The processing device may receive the thermal image to be processed from the thermal imaging device.

[0058] It should be noted that the thermal image to be processed may be an original grayscale thermal image that has not been processed, or a thermal image in any node in the image processing process (such as nodes for adjusting brightness, sharpening, saturation, etc.), or feature information of the thermal image to be processed. The present application embodiment does not limit this.

[0059] It should be noted that the original grayscale thermal image (also called RAW image) is the image perceived by the detector array, and the grayscale range of the original grayscale thermal image is usually 14 bits. Usually, 8-bit images are images observed by the human eye. In the field of thermal imaging, the 8-bit image is a 14-bit RAW image that is converted into an image for display after grayscale compression.

[0060] S202: The processing device determines the scene type based on the thermal image to be processed.

[0061] The scene type is the type of scene in which the thermal image is captured, and the scene type is related to the detail richness and / or dynamic range of the thermal image to be processed.

[0062] That is, the scene type is related to detail richness and dynamic range, or the scene type is related to detail richness, or the scene type is related to dynamic range.

[0063] In the embodiment of the present application, the scene type includes: a first type and a second type, the detail richness corresponding to the first type is greater than the detail richness corresponding to the second type, and / or the dynamic range corresponding to the first type is greater than the dynamic range corresponding to the second type. The image quality corresponding to the thermal image of the first type is higher than the image quality of the thermal image corresponding to the second type.

[0064] It should be noted that the detail richness corresponding to the first type is greater than the detail richness corresponding to the second type, and / or the dynamic range corresponding to the first type is greater than the dynamic range corresponding to the second type, indicating that when the thermal imaging device collects the first type of thermal image (i.e., the thermal image collected under the first type), the distance to the area to be collected is relatively close, the intensity of the infrared signal collected by the thermal imaging device is relatively strong, and the image quality of the thermal image is also relatively high. Similarly, when the thermal imaging device collects the second type of thermal image (i.e., the thermal image collected under the second type), the distance to the area to be collected is relatively far, the intensity of the infrared signal collected by the thermal imaging device is relatively weak, and the image quality of the thermal image is also relatively poor.

[0065] It should be noted that, for a specific introduction to determining the scene type based on detail richness and / or dynamic range, reference may be made to the following embodiments, which will not be described in detail here.

[0066] In some embodiments, the processing device determines the scene type based on the acquisition distance of the thermal image to be processed. The processing device may obtain the acquisition distance. If the acquisition distance is less than or equal to a preset distance threshold, the processing device determines that the scene type is the first type. If the acquisition distance is greater than the preset distance threshold, the processing device determines that the scene type is the second type.

[0067] In other embodiments, the processing device may input the thermal image to be processed into a trained scene classification model to obtain the scene type, wherein the scene classification model is used to classify the shooting scene.

[0068] It should be noted that the embodiments of the present application do not limit the scene classification model. For example, the scene classification model can be a LeNet-5 model, an AlexNet model, a ResNet model, etc. For the specific introduction of the scene classification model training process, reference can be made to the method of training a neural network model in conventional technology, which will not be repeated here.

[0069] S203: The processing device determines a target processing method corresponding to the scene type from a plurality of types of processing methods based on the scene type.

[0070] Each type of processing method is used to improve the imaging quality of the thermal image, and different types of processing methods correspond to different degrees of improvement in the imaging quality of the thermal image.

[0071] In an embodiment of the present application, the multiple types of processing methods include: a first type of processing method and a second type of processing method, and the first type of processing method improves the thermal image quality less than the second type of processing method.

[0072] That is to say, the effect of the first type of processing method on the thermal image is weaker than the effect of the second type of processing method on the thermal image.

[0073] In a possible implementation, if the scenario type is the first type, the first type of processing method is used as the target processing method. If the scenario type is the second type, the second type of processing method is used as the target processing method.

[0074] In the embodiment of the present application, the target processing method includes: at least one processing method in the first category of processing methods, or at least one processing method in the second category of processing methods.

[0075] It is understandable that the acquisition distance corresponding to the first type of thermal image is smaller than the acquisition distance corresponding to the second type of thermal image, that is, the image quality of the first type of thermal image may be higher than that of the second type of thermal image. In addition, since the degree of improvement of the imaging quality of the thermal image by the first type of processing method is smaller than that of the second type of processing method, if the scene type is the first type, the processing device uses the first type of processing method as the target processing method, and can use a weaker processing method to process the thermal image to be processed, thereby avoiding the thermal image from being too sharp. If the scene type is the second type, the processing device uses the second type of processing method as the target processing method. In this way, a stronger processing method can be used to process the thermal image to be processed, thereby greatly improving the image quality of the thermal image.

[0076] S204: The processing device performs enhancement processing on the thermal image to be processed based on the target processing method to obtain a target thermal image.

[0077] In the embodiment of the present application, the target processing method includes at least one of the following: adjusting the response rate, adjusting the image enhancement algorithm of the thermal image, adjusting the image enhancement parameter of the thermal image, or adjusting the resolution of the thermal image. Among them, adjusting the response rate is used to indicate adjusting the signal amplification strength of the thermal image, the image enhancement algorithm is used to enhance the thermal image, and the image enhancement parameter is a parameter that affects the image quality of the thermal image.

[0078] That is to say, the processing device can process the thermal image to be processed by using one or more of the above processing methods, so as to obtain the target thermal image.

[0079] It should be noted that one or more of the above-mentioned target processing methods belong to the first processing method and the second processing method. That is, the first processing method and the second processing method both include at least one of the following: adjusting the response rate, adjusting the image enhancement algorithm of the thermal image, adjusting the image enhancement parameters of the thermal image, or adjusting the resolution of the thermal image.

[0080] In the embodiment of the present application, adjusting the response rate includes at least one of the following: adjusting the electrical signal strength output by the detector, adjusting the signal strength of the digital signal. Adjusting the resolution of the thermal image includes at least one of the following: adjusting the resolution output by the detector, performing pixel merging processing on the thermal image.

[0081] In a possible design, the first type of processing method includes at least one of the following: reducing the response rate, using a first preset algorithm to process the thermal image, and adjusting the image enhancement parameter to a first value. The second type of processing method includes at least one of the following: increasing the response rate, using a second preset algorithm to process the thermal image, adjusting the image enhancement parameter to a second value, and reducing the resolution of the thermal image. The complexity of the first preset algorithm is less than the complexity of the second preset algorithm, and the first value is less than the second value.

[0082] It should be noted that, for the specific introduction of the differences between the first type of processing method and the second type of processing method, reference can be made to the following embodiments, which will not be described in detail here.

[0083] Based on the above technical solution, the processing device can obtain the thermal image to be processed, and determine the scene type based on the thermal image to be processed, and the scene type is related to the detail richness and / or dynamic range of the thermal image to be processed. After that, the processing device can determine the target processing method from a plurality of types of processing methods based on the scene type. Since each type of processing method is used to improve the imaging quality of the thermal image, and different types of processing methods correspond to different degrees of improvement in the imaging quality of the thermal image; thus, the processing device can enhance the thermal image to be processed based on the target processing method corresponding to the scene type to obtain the target thermal image. In this way, it can be ensured that when processing the thermal image, a suitable processing method is used to process the thermal image from a plurality of processing methods to improve the imaging effect of the target thermal image.

[0084] like Figure 3 As shown, a thermal image processing method provided by an embodiment of the present application is provided. In the method, S202 may include:

[0085] S301. The processing device obtains feature information of a thermal image to be processed.

[0086] Among them, the feature information is related to the collection distance.

[0087] In a possible design, the feature information includes: detail information, where the detail information is used to indicate detail richness of the thermal image, and the detail richness is related to the acquisition distance.

[0088] For example, the closer the acquisition distance is, the higher the detail richness is; the farther the acquisition distance is, the lower the detail richness is.

[0089] It should be noted that the embodiment of the present application does not limit the detail information. For example, the detail information is parameters such as resolution, spatial resolution, color palette, texture richness, etc. In thermal image processing, detail information is usually extracted from 14-bit RAW data.

[0090] Optionally, the characteristic information may also include: a dynamic range, where the dynamic range is used to indicate a temperature range in the thermal image.

[0091] Optionally, the characteristic information may include: characteristic information and dynamic range.

[0092] In a possible implementation, the processing device may perform feature extraction on the thermal image to be processed to obtain feature information of the thermal image to be processed.

[0093] S302: The processing device determines the scene type based on feature information of the thermal image to be processed.

[0094] In a possible implementation, the processing device may compare the feature information with a preset feature threshold, and determine the scene type according to the comparison result.

[0095] In one possible design, if the detail richness of the thermal image to be processed is greater than or equal to a preset detail richness threshold, the scene type is determined to be the first type. If the detail richness of the thermal image to be processed is less than the preset detail richness threshold, the scene type is determined to be the second type.

[0096] It should be noted that the embodiment of the present application does not limit the preset detail richness threshold. For example, the detail richness threshold may be 80%, 70%, 55%, etc.

[0097] Exemplarily, the first type includes scene types whose detail richness is greater than or equal to a preset detail richness threshold and whose dynamic range is outside a preset dynamic range. Alternatively, the first type also includes scene types whose detail richness is greater than or equal to a preset detail richness threshold and whose dynamic range is within a preset dynamic range.

[0098] In a possible design, if the dynamic range of the thermal image to be processed is outside the preset dynamic range, the scene type is determined to be the first type. If the dynamic range of the thermal image to be processed is within the preset dynamic range, the scene type is determined to be the second type.

[0099] It should be noted that the embodiments of the present application do not limit the preset dynamic range. For example, the maximum difference in the preset dynamic range is 15, 10, or 6.

[0100] Optionally, the second type includes: a scene type whose detail richness is less than a preset detail richness threshold and whose dynamic range is within a preset dynamic range, and / or a scene type whose detail richness is less than a preset detail richness threshold and whose dynamic range is outside a preset dynamic range.

[0101] Based on the above technical solution, after the processing device obtains the characteristic information of the thermal image to be processed, it determines the scene type based on the characteristic information of the thermal image to be processed. In this way, the thermal image can be further processed in an appropriate processing manner based on the scene type to improve the image quality of the thermal image.

[0102] It should be noted that in the embodiment of the present application, there are two ways to obtain the target thermal image. In the first way, after acquiring the thermal image to be processed, the processing device can acquire a new thermal image to be processed and process the new thermal image to be processed, that is, the target thermal image is the target thermal image corresponding to the acquired new thermal image to be processed. In the second way, the processing device can process the acquired thermal image to be processed, that is, the target thermal image is the thermal image obtained after the thermal image to be processed is processed, and there is no need to acquire a new thermal image. The above two ways are introduced respectively below.

[0103] In method one, the processing device can adopt a target processing method to obtain a target thermal image during the process of acquiring a new thermal image to be processed, and / or the processing device can adopt a target processing method to process the thermal image to be processed (i.e., the new thermal image to be processed) to obtain the target thermal image after acquiring the new thermal image to be processed.

[0104] The following first introduces the process in which the processing device uses the target processing method to obtain the target thermal image during the process of acquiring a new thermal image to be processed.

[0105] like Figure 4 As shown, a thermal image processing method provided by an embodiment of the present application is provided. In this method, S204 may include:

[0106] S401. The processing device determines the adjusted electrical signal strength of the detector output and / or the amplified strength of the digital signal based on the target processing mode.

[0107] In an embodiment of the present application, the target processing method may include adjusting the response rate. The response rate may be adjusted by at least one of the following: adjusting the strength of the electrical signal output by the detector, adjusting the signal strength of the digital signal. Adjusting the signal strength of the digital signal refers to adjusting the signal strength of the digital signal converted from the electrical signal.

[0108] In the embodiment of the present application, adjusting the strength of the electrical signal output by the detector includes at least one of the following: adjusting the collection time (i.e., integration time) of the infrared detector for the infrared signal, and adjusting the analog gain of the electrical signal. Adjusting the signal strength of the digital signal includes adjusting the digital gain;

[0109] It should be understood that after the processing device collects the infrared signal of thermal radiation, the infrared signal is often relatively weak, especially in the case of long distance or low temperature difference. Therefore, after the detector collects the infrared signal, it will amplify the signal strength, which can increase the amplitude of the signal and make it more prominent relative to the noise, thereby improving the signal-to-noise ratio. This helps to more accurately extract useful information in subsequent signal processing. In the present application, the signal strength is adjusted by changing the magnitude of the amplification strength.

[0110] In one possible design, reducing the response rate includes: reducing the strength of the electrical signal output by the detector and / or reducing the amplification strength of the digital signal, and increasing the response rate includes: increasing the strength of the electrical signal output by the detector and / or increasing the amplification strength of the digital signal.

[0111] That is, the signal amplification intensity adjusted in the first type of processing is less than the signal amplification intensity adjusted in the second type of processing.

[0112] For example, if the target processing method includes adjusting the collection time of the infrared detector for the infrared signal, the collection time corresponding to the first type of processing method is less than the collection time corresponding to the second type of processing method. Alternatively, if the initial analog gain of the detector electrical signal is 1.2, the analog gain of the electrical signal can be adjusted to 1.1 by using the first type of processing method, and the analog gain of the electrical signal can be adjusted to 1.4 by using the second type of processing method.

[0113] S402: The processing device re-receives the infrared signal of the area to be measured through the detector according to the adjusted electrical signal strength output by the detector and / or the amplified strength of the digital signal, converts the infrared signal into a first electrical signal, and amplifies the first electrical signal to obtain a second electrical signal.

[0114] In a possible implementation, the processing device may re-receive the infrared signal of the area to be measured through the detector, convert the infrared signal into a first electrical signal, and amplify the first electrical signal through an amplifier to obtain a second electrical signal.

[0115] In one possible design, the target processing method adjusts the electrical signal strength output by the detector, that is, the processing device adjusts the collection time of the infrared signal and / or adjusts the analog gain of the first electrical signal according to the first type of processing method or the second type of processing method to obtain the second electrical signal.

[0116] In another possible design, the intensity of the electrical signal output by the detector is not adjusted in the target processing method, that is, the processing device does not adjust the collection time of the infrared signal and / or adjust the analog gain of the first electrical signal. The detector receives the infrared signal of the area to be measured according to the initial configuration, converts the infrared signal into a first electrical signal, and amplifies the first electrical signal to obtain a second electrical signal. The initial configuration includes: the initial collection time of the infrared signal and the initial analog gain of the first electrical signal.

[0117] S403: The processing device converts the second electrical signal into a first digital signal, and amplifies the first digital signal to obtain a second digital signal.

[0118] Wherein, adjusting the signal strength of the digital signal includes adjusting the digital gain.

[0119] In one possible design, the target processing method adjusts the amplification strength of the digital signal converted from the electrical signal, that is, the processing device adjusts the digital gain according to the first processing method or the second processing method to obtain the second digital signal.

[0120] In another possible design, the target processing method does not adjust the amplification strength of the digital signal converted from the electrical signal, that is, the processing device does not adjust the digital gain. The detector amplifies the first digital signal according to the initial digital gain to obtain the second digital signal.

[0121] It should be noted that S402 and S403 are the processes performed by the processing device in the process of acquiring a new thermal image to be processed. In S402 and S403, the processing device can adjust the strength of the electrical signal output by the detector, or adjust the amplification strength of the digital signal, or adjust the strength of the electrical signal output by the detector and the amplification strength of the digital signal.

[0122] In S404, the process of processing the thermal image to be processed (ie, the new thermal image to be processed) by the processing device using the target processing method after acquiring the new thermal image to be processed is introduced below.

[0123] S404: The processing device generates a new thermal image to be processed based on the second digital signal, and performs enhancement processing on the new thermal image to be processed based on a target processing method to obtain a target thermal image.

[0124] It should be noted that before generating the final thermal image, the processing device usually performs image enhancement on the thermal image to ensure the image quality of the thermal image.

[0125] In a possible design, the image enhancement process is not adjusted in the target processing method, that is, the processing device performs image enhancement on the new thermal image to be processed according to the initial enhancement processing method to obtain the target thermal image.

[0126] In another possible design, the target processing method adjusts the image enhancement processing process, that is, the processing device uses the adjusted image enhancement processing method to perform image enhancement on the thermal image to be processed to obtain the target thermal image.

[0127] It should be noted that, for the specific introduction of adjusting the image enhancement processing process, reference may be made to the following embodiments, which will not be described in detail here.

[0128] Based on the above technical solution, the processing device determines the adjusted electrical signal strength of the detector output and / or the amplification strength of the digital signal based on the target processing method, and can re-collect a new thermal image to be processed, thereby changing the processing method in the process of signal-to-image conversion to improve the quality of the thermal image. In addition, the processing device can also enhance the new thermal image to be processed based on the target processing method to obtain a target thermal image, so that the thermal image can also be enhanced at the image processing end to further ensure the image quality of the thermal image.

[0129] The following introduces the second method, the process of the processing device processing the acquired thermal image to be processed.

[0130] In the second method, the processing device can amplify the image signal corresponding to the thermal image to be processed based on the target processing method, and / or use a preset image enhancement algorithm to enhance the thermal image to be processed.

[0131] It should be noted that, when the thermal image is enhanced, adjusting the signal amplification strength of the thermal image also includes: adjusting the image signal amplification strength corresponding to the thermal image. The position of image signal amplification can be any position of the digital processing module, such as a saturation module, a sharpening module, a contrast module, etc.

[0132] It should be understood that after the processing device acquires the thermal image, it usually performs image enhancement (such as amplification of the image signal) on the thermal image to ensure image quality. For example, amplification of the image signal includes: contrast enhancement, detail enhancement, sharpening, denoising and other processing methods.

[0133] In a possible design, the first type of processing method includes at least one of the following: reducing the amplification strength of the digital signal, using the first preset image enhancement algorithm to enhance the thermal image, and adjusting the image enhancement parameter of the thermal image to be processed to a first value. The second type of processing method includes at least one of the following: increasing the amplification strength of the digital signal, using the second preset algorithm to process the thermal image, adjusting the image enhancement parameter to a second value, and reducing the resolution of the thermal image. The computational complexity of the first preset algorithm is less than the computational complexity of the second preset algorithm, and the first value is less than the second value.

[0134] It should be noted that the first preset algorithm and the second preset algorithm are not limited in the embodiment of the present application. For example, the first preset algorithm may be a convolutional neural network, a generative adversarial network, a machine learning algorithm, etc. The second preset algorithm may be histogram equalization, grayscale stretching, linear transformation, etc.

[0135] It is understandable that the first type of thermal image has a higher image quality and a higher signal-to-noise ratio, and a simple algorithm can be used to reduce the load. The second type of thermal image has a lower image quality and a lower signal-to-noise ratio, and a complex algorithm can be used to significantly improve the image effect.

[0136] Furthermore, the embodiments of the present application do not limit the image enhancement parameters. For example, the image enhancement parameters may include: contrast, brightness, sharpening parameters, histogram equalization parameters, enhanced frequency bands, grayscale mapping ranges, etc. Taking the sharpening parameters as an example, if the initial sharpening parameter is 10, the sharpening parameter corresponding to the first type of processing is 3, and the sharpening parameter corresponding to the second type of processing is 15.

[0137] It can be understood that using different image enhancement parameter values ​​to process the thermal image to be processed can avoid excessive enhancement of the thermal image to be processed or insufficient enhancement effect, thereby ensuring the image quality of the target thermal image.

[0138] In a possible design, adjusting the resolution of the thermal image includes at least one of the following: adjusting the resolution of the detector output and performing pixel merging processing on the digital signal.

[0139] If the scene type is a scene type whose detail richness is less than a preset detail richness threshold and whose dynamic range is within a preset dynamic range, the second type of processing method includes: reducing the resolution of the thermal image.

[0140] For example, if the thermal image to be processed includes the sky, the number of pixels can be modified automatically or manually, and the processing device performs multi-pixel merging, that is, multiple pixels are combined into one pixel to improve the signal-to-noise ratio.

[0141] It is understandable that images with low detail richness and low dynamic range indicate that some areas are the same, so the resolution can be reduced to improve the signal-to-noise ratio of the thermal image.

[0142] It should be noted that the thermal image to be processed processed by the above-mentioned processing device based on the target processing method can be a new thermal image to be processed generated in S404, or it can be a thermal image to be processed obtained in S201, and the embodiment of the present application is not limited to this.

[0143] Based on the above technical solution, when the processing device processes the thermal image to be processed based on the target processing method, it can use different processing methods to process the thermal image to be processed, thereby ensuring the image quality of the thermal image.

[0144] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. It can be understood that in order to realize the above functions, the thermal image processing device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the steps of the thermal image processing methods of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0145] The embodiment of the present application also provides a thermal image processing device. The thermal image processing device can be a thermal imaging device, a CPU in the thermal imaging device, a processing module in the thermal imaging device for processing thermal images, or a client in the thermal imaging device for processing thermal images.

[0146] The embodiment of the present application can divide the thermal image processing device into functional modules or functional units according to the above method example. For example, each functional module or functional unit can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules or functional units. Among them, the division of modules or units in the embodiment of the present application is schematic, which is only a logical function division. There may be other division methods in actual implementation.

[0147] like Figure 5 FIG. 1 is a schematic diagram of a thermal image processing device provided in an embodiment of the present application. The thermal image processing device is used to perform Figure 2-Figure 4 The thermal image processing method shown in the figure. The thermal image processing device may include an acquisition module 501 and a processing module 502.

[0148] The acquisition module 501 is used to acquire the thermal image to be processed. The processing module 502 is used to determine the scene type based on the thermal image to be processed, and the scene type is related to the detail richness and / or dynamic range of the thermal image to be processed. The processing module 502 is also used to determine the target processing method corresponding to the scene type from multiple types of processing methods based on the scene type, each type of processing method is used to improve the imaging quality of the thermal image, and different types of processing methods correspond to different degrees of improvement in the imaging quality of the thermal image. The processing module 502 is also used to enhance the thermal image to be processed based on the target processing method to obtain a target thermal image.

[0149] In a possible implementation manner, the target processing manner includes at least one of the following: adjusting a response rate, adjusting an image enhancement algorithm of a thermal image, adjusting an image enhancement parameter of a thermal image, or adjusting a resolution of a thermal image.

[0150] In a possible implementation, the scene types include: a first type and a second type, the detail richness corresponding to the first type is greater than the detail richness corresponding to the second type, and / or the dynamic range corresponding to the first type is greater than the dynamic range corresponding to the second type; the multiple types of processing methods include: a first type of processing method and a second type of processing method, the first type of processing method improves the thermal image quality less than the second type of processing method improves the thermal image quality. The processing module 502 is also used to use the first type of processing method as the target processing method if the scene type is the first type. The processing module 502 is also used to use the second type of processing method as the target processing method if the scene type is the second type.

[0151] In a possible implementation, the first type of processing method includes at least one of the following: reducing the response rate, using a first preset algorithm to process the thermal image, and adjusting the image enhancement parameter to a first value. The second type of processing method includes at least one of the following: increasing the response rate, using a second preset algorithm to process the thermal image, adjusting the image enhancement parameter to a second value, and reducing the resolution of the thermal image. The complexity of the first preset algorithm is less than the complexity of the second preset algorithm, and the first value is less than the second value.

[0152] In a possible implementation, adjusting the response rate includes at least one of the following: adjusting the electrical signal strength output by the detector, adjusting the signal strength of the digital signal. Adjusting the resolution of the thermal image includes at least one of the following: adjusting the resolution output by the detector, performing pixel merging processing on the thermal image.

[0153] In a possible implementation, the acquisition module 501 is further used to acquire feature information of the thermal image to be processed, where the feature information is related to the acquisition distance. The processing module 502 is further used to determine the scene type based on the feature information of the thermal image to be processed.

[0154] In a possible implementation, the feature information includes: detail information, the detail information is used to indicate the detail richness of the thermal image, and the detail richness is related to the acquisition distance. The processing module 502 is further used to determine that the scene type is the first type if the detail richness of the thermal image to be processed is greater than or equal to a preset detail richness threshold. The processing module 502 is further used to determine that the scene type is the second type if the detail richness of the thermal image to be processed is less than the preset detail richness threshold.

[0155] In a possible implementation, the characteristic information further includes: dynamic range. The processing module 502 is further configured to determine that the scene type is the first type if the detail richness of the thermal image to be processed is greater than or equal to a preset detail richness threshold. The processing module 502 is further configured to determine that the scene type is the second type if the detail richness of the thermal image to be processed is less than a preset detail richness threshold.

[0156] Figure 6 6 is a schematic diagram of a thermal image processing device according to an exemplary embodiment. The thermal image processing device may include a processor 602, and the processor 602 is used to execute application code to implement the thermal image processing method in the present application.

[0157] The processor 602 may be a central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.

[0158] like Figure 6 As shown, the thermal image processing device may further include a memory 603. The memory 603 is used to store application program codes for executing the solution of the present application, and is controlled to be executed by the processor 602.

[0159] The memory 603 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 603 may exist independently and be connected to the processor 602 via the bus 604. The memory 603 may also be integrated with the processor 602.

[0160] like Figure 6 As shown, the thermal image processing device may further include a communication interface 601, wherein the communication interface 601, the processor 602, and the memory 603 may be coupled to each other, for example, via a bus 604. The communication interface 601 is used to exchange information with other devices, for example, to support information exchange between the thermal image processing device and other devices.

[0161] It should be pointed out that Figure 6 The device structure shown in the figure does not constitute a limitation on the thermal image processing device. Figure 6 In addition to the components shown, the thermal image processing device may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0162] In actual implementation, the functions implemented by the processing module 502 can be Figure 6 The processor 602 shown calls the program code in the memory 603 to implement.

[0163] The present application also provides a computer-readable storage medium, on which instructions are stored. When the instructions in the computer-readable storage medium are executed by a processor of a computer device, the computer can execute the thermal image processing method provided in the above-mentioned embodiment. For example, the computer-readable storage medium may be a memory 603 including instructions, and the above instructions may be executed by a processor 602 of a computer device to complete the above method. Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.

[0164] Figure 7 A conceptual partial view of a computer program product provided by an embodiment of the present application is schematically shown, where the computer program product includes a computer program for executing a computer process on a computing device.

[0165] In one embodiment, the computer program product is provided using a signal bearing medium 700. The signal bearing medium 700 may include one or more program instructions that, when executed by one or more processors, may provide the above-described Figure 2-Figure 4 Thus, for example, reference to Figure 2 In the embodiment shown in , one or more features of S201-S204 may be undertaken by one or more instructions associated with the signal bearing medium 700. In addition, Figure 7 The program instructions in also describe example instructions.

[0166] In some examples, the signal bearing medium 700 may include a computer readable medium 701, such as, but not limited to, a hard drive, a compact disk (CD), a digital video disk (DVD), a digital tape, a memory, a read-only memory (ROM), or a random access memory (RAM), and the like.

[0167] In some implementations, signal bearing medium 700 may include computer recordable medium 702 such as, but not limited to, memory, read / write (R / W) CD, R / W DVD, and the like.

[0168] In some implementations, signal bearing medium 700 may include communication medium 703 such as, but not limited to, digital and / or analog communication media (eg, fiber optic cables, waveguides, wired communication links, wireless communication links, etc.).

[0169] The signal bearing medium 700 may be communicated by a wireless form of communication medium 703. The one or more program instructions may be, for example, computer executable instructions or logic implemented instructions.

[0170] In some examples, such as for Figure 5 The described thermal image processing apparatus may be configured to provide various operations, functions, or actions in response to one or more program instructions via computer readable medium 701 , computer recordable medium 702 , and / or communication medium 703 .

[0171] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0172] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0173] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0174] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0175] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions for a device or processor to execute the full classification part or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk.

[0176] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for processing a thermal image, characterized in that: The method comprises: Acquire a thermal image to be processed; Based on the thermal image to be processed, determining a scene type, wherein the scene type is related to detail richness and / or dynamic range of the thermal image to be processed; Based on the scene type, determining a target processing method corresponding to the scene type from a plurality of types of processing methods, each type of processing method is used to improve the imaging quality of the thermal image, and different types of processing methods correspond to different degrees of improvement in the imaging quality of the thermal image; The thermal image to be processed is enhanced based on the target processing method to obtain a target thermal image.

2. The method according to claim 1, characterized in that The target processing method includes at least one of the following: adjusting the response rate, adjusting the image enhancement algorithm of the thermal image, adjusting the image enhancement parameters of the thermal image, or adjusting the resolution of the thermal image.

3. The method according to claim 1 or 2, characterized in that: The scene types include: a first type and a second type, the detail richness corresponding to the first type is greater than the detail richness corresponding to the second type, and / or the dynamic range corresponding to the first type is greater than the dynamic range corresponding to the second type; the multiple types of processing methods include: a first type of processing method and a second type of processing method, the first type of processing method improves the thermal image quality less than the second type of processing method improves the thermal image quality; Based on the scenario type, determining the target processing method includes: If the scenario type is the first type, the first type of processing method is used as the target processing method; If the scenario type is the second type, the second type of processing method is used as the target processing method.

4. The method according to claim 3, characterized in that The first type of processing method includes at least one of the following: reducing the response rate, processing the thermal image using a first preset algorithm, and adjusting the image enhancement parameter to a first value; The second type of processing includes at least one of the following: improving the response rate, processing the thermal image using a second preset algorithm, adjusting the image enhancement parameter to a second value, and reducing the resolution of the thermal image; The complexity of the first preset algorithm is less than that of the second preset algorithm, and the first value is less than the second value.

5. The method according to claim 2, characterized in that: Adjusting the response rate includes at least one of the following: adjusting the strength of the electrical signal output by the detector, adjusting the signal strength of the digital signal; Adjusting the resolution of the thermal image includes at least one of the following: adjusting the resolution of the detector output, and performing pixel merging processing on the thermal image.

6. The method according to claim 3, characterized in that The step of determining the scene type based on the thermal image to be processed includes: Acquiring characteristic information of the thermal image to be processed; The scene type is determined based on the feature information of the thermal image to be processed.

7. The method according to claim 6, characterized in that The feature information includes: detail information, the detail information is used to indicate the detail richness of the thermal image; The determining the scene type based on the feature information of the thermal image to be processed includes: If the detail richness of the thermal image to be processed is greater than or equal to a preset detail richness threshold, determining that the scene type is the first type; If the detail richness of the thermal image to be processed is less than the preset detail richness threshold, the scene type is determined to be the second type.

8. The method according to claim 6, characterized in that The characteristic information further includes: a dynamic range; and determining the scene type based on the characteristic information of the thermal image to be processed includes: If the dynamic range of the thermal image to be processed is outside the preset dynamic range, determining that the scene type is the first type; If the dynamic range of the thermal image to be processed is within the preset dynamic range, determining that the scene type is the second type; If the scene type is a scene type whose detail richness is less than the preset detail richness threshold and whose dynamic range is within the preset dynamic range, the second type of processing method includes: reducing the resolution of the thermal image.

9. A thermal image processing device, characterized in that: include: An acquisition module, used for acquiring a thermal image to be processed; A processing module, configured to determine a scene type based on the thermal image to be processed, wherein the scene type is related to detail richness and / or dynamic range of the thermal image to be processed; The processing module is further used to determine, based on the scene type, a target processing method corresponding to the scene type from a plurality of types of processing methods, each type of processing method is used to improve the imaging quality of the thermal image, and different types of processing methods correspond to different degrees of improvement in the imaging quality of the thermal image; The processing module is further used to perform enhancement processing on the thermal image to be processed based on the target processing method to obtain a target thermal image.

10. A thermal image processing device, characterized in that: include: Memory and processor; Memory and processor coupling; The memory is used to store instructions executable by the processor; When the processor executes the instructions, the method according to any one of claims 1 to 8 is performed.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Image detail enhancement method of infrared image

    CN104021532A

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

    CN116894788A