A method, device, system and medium for generating color images of an infrared thermal imager

By compressing and shifting the single-channel infrared image data output by the infrared thermal imager, three-channel color image information data is generated, which solves the problem of single color of the infrared thermal imager's grayscale image, realizes the generation of color images and improves the visual effect.

CN115278117BActive Publication Date: 2025-09-09SHENZHEN LONGOT TECH DEV CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210907627.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-29
Publication Date
2025-09-09
Estimated Expiration
2042-07-29

AI Technical Summary

Technical Problem

The grayscale images output by existing infrared thermal imagers have a single color representation, which is difficult to meet the human eye's visual needs for color images, and the signal-to-noise ratio is low.

Method used

By obtaining the single-channel infrared image data output by the infrared thermal imager, compressing it to obtain single-channel grayscale image data, and using operations such as shifting to convert the grayscale image data into three-channel color image information data, a color image is finally generated.

Benefits of technology

The colorization of grayscale images from infrared thermal imagers is achieved, which improves the contrast and visual effects of the images, enhances the visual experience of the human eye, and reduces the computational complexity, facilitating real-time calculations at high frame rates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115278117B_ABST
    Figure CN115278117B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of infrared detection technology and relates to a method, device, system and medium for generating color images of an infrared thermal imager. The generation method comprises: obtaining single-channel infrared image data output by an infrared thermal imager; compressing the single-channel infrared image data to obtain single-channel grayscale image data; performing shift calculation on the single-channel grayscale image data using operations such as shifting to obtain three-channel color image information data corresponding to the single-channel grayscale image data; and generating a corresponding color image based on the color image information data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of infrared detection technology and relates to a method, device, system and medium for generating color images of an infrared thermal imager. Background Art

[0002] Any object in nature with a temperature above absolute zero continuously emits radiant energy. Infrared images reveal the spatial distribution of infrared radiation from both the target and the background, revealing a wealth of temperature distribution and detailed information about both. Infrared thermal imagers, based on the principle of focal plane imaging, use infrared detectors to image the thermal radiation of an object. Using photoelectric technology, they detect infrared signals emitted by the object and convert them into visually discernible images. This image reveals the temperature distribution on the object's surface and allows for the calculation of the temperature value. Infrared thermal imaging technology transcends visual barriers, allowing us to observe the temperature distribution characteristics of an object's surface in a different wavelength range. Infrared imaging technology offers high temperature sensitivity, high accuracy, and strong reliability.

[0003] On the one hand, the infrared images actually collected by infrared detectors during operation are generally grayscale images, which have a single color representation. Moreover, due to factors such as transmission distance, atmospheric attenuation, and noise in the thermal imaging system, the signal-to-noise ratio of infrared images is lower than that of general visible light images. On the other hand, the human eye has limited perception of grayscale images, making it difficult to obtain rich details from these grayscale levels. However, the human eye is highly sensitive to color images. Therefore, studying the color image generation method of infrared thermal imager grayscale images will undoubtedly improve the contrast of thermal imager images, more intuitively show the layering in the image, and make the thermal imager infrared image have a richer visual experience. Summary of the Invention

[0004] The purpose of the present invention is to address the deficiencies of the existing technology and provide a method, device, system and medium for generating color images of an infrared thermal imager, which can map the grayscale image output by the infrared thermal imager into a color image to ensure a better visual experience for the human eye.

[0005] In order to achieve the above object, the present invention provides a method for generating a color image of an infrared thermal imager, the generating method comprising:

[0006] Obtain single-channel infrared image data output by the infrared thermal imager;

[0007] Compressing the single-channel infrared image data to obtain single-channel grayscale image data;

[0008] Performing a shift calculation on the single-channel grayscale image data by using operations such as shifting to obtain three-channel color image information data corresponding to the single-channel grayscale image data;

[0009] Generate a corresponding color image according to the color image information data.

[0010] Further, the compressing the single-channel infrared image data to obtain single-channel grayscale image data includes:

[0011] Normalize the obtained single-channel infrared image data D to obtain normalized image data U;

[0012] Perform curve transformation and scale transformation on the normalized image data to obtain single-channel grayscale image data I;

[0013] where U(i,j) = (D(i,j) - d min ) / (d max - d min );;

[0014] I(i,j) = 255 * U(i,j);

[0015] If d max - d min <Th, then

[0016] where i is the row of the image, j is the column of the image, d min is the minimum value in image D, d dmax is the maximum value in image D, and Th is a preset threshold.

[0017] Further, the performing shift calculation on the single-channel grayscale image data by using operations such as shift to obtain three-channel color image information data corresponding to the single-channel grayscale image data includes:

[0018] Determine the type of color image data to be obtained according to needs, and the types of the color image data include: red color image data, cyan color image data or gold-blue color image data;

[0019] Define multiple intervals according to the type of the color image information data according to the magnitude of the grayscale value;

[0020] Judge the actual interval where the single-channel grayscale image data is located according to the size of the single-channel grayscale image data;

[0021] Determine the corresponding calculation method according to the actual interval where the single-channel grayscale image data is located and output the corresponding three-channel color image information data.

[0022] Further, the calculation method for performing shift calculation on the single-channel grayscale image data by using operations such as shift to obtain three-channel color image data of red color is:

[0023] If I(i,j)∈L1, then Q R , Q G , Q B The calculation is:

[0024]

[0025] If I(i,j)∈L2, then Q R , Q G , Q B The calculation is:

[0026]

[0027] If I(i,j)∈L3, then Q R , Q G , Q B The calculation is:

[0028]

[0029] If I(i,j)∈L4, then Q R , Q G , Q B The calculation is:

[0030]

[0031] Where i is the row of the image, j is the column of the image, α1 is the color parameter, cp=(α1*I(i,j)-3*α1*η1)>>8, L1 is [0,η1), L2 is [η1,2*η1), L3 is [2*η1,3*η1), L4 is [3*η1,2 8 -1], η1 is the interval scaling factor.

[0032] Furthermore, the shift calculation is performed on the single-channel grayscale image data by using operations such as shift to obtain the three-channel color image data of cyan as follows:

[0033] If I(i,j)∈L1, then Q R , Q G , Q B The calculation is:

[0034]

[0035] If I(i,j)∈L2, then Q R , Q G , Q B The calculation is:

[0036]

[0037] If I(i,j)∈L3, then Q R , Q G , Q B The calculation is:

[0038]

[0039] If I(i,j)∈L4, then Q R , Q G , Q B The calculation is:

[0040]

[0041] If I(i,j)∈L5, then Q R , Q G , Q B The calculation is:

[0042]

[0043] Among them, i is the row of the image, j is the column of the image, α2 is the color parameter, L1 is [0,η2), L2 is [η2,2*η2), L3 is [2*η2,3*η2), L4 is [3*η2,4*η2), L5 is [4*η2,2 8 -1], η2 is the interval scaling factor.

[0044] Furthermore, the shift calculation is performed on the single-channel grayscale image data by using operations such as shift to obtain the three-channel color image data of gold and blue as follows:

[0045] If I(i,j)∈L1 then Q R , Q G , Q B The calculation is:

[0046]

[0047] If I(i,j)∈L2 then Q R , Q G , Q B The calculation is:

[0048]

[0049] If I(i,j)∈L3 then Q R , Q G , Q B The calculation is:

[0050]

[0051] If I(i,j)∈L4 then QR , Q G , Q B The calculation is:

[0052]

[0053] Among them, i is the row of the image, j is the column of the image, α3 is the color parameter, λ is the grayscale base, L1 is [0,η3), L2 is [η3,2*η3), L3 is [2*η3,3*η3), L4 is [3*η3,2 8 -1]. Where η3 is the interval scaling factor.

[0054] A second aspect of the present invention further provides a device for generating a color image of an infrared thermal imager, the device comprising:

[0055] An acquisition module, configured to acquire single-channel infrared image data output by an infrared thermal imager;

[0056] a compression module, configured to compress the single-channel infrared image data to obtain single-channel grayscale image data;

[0057] a calculation module, configured to perform a shift calculation on the single-channel grayscale image data by using operations such as shifting to obtain three-channel color image information data corresponding to the single-channel grayscale image data;

[0058] A color image generation module is used to generate a corresponding color image according to the color image information data.

[0059] Furthermore, the calculation module further includes:

[0060] a type determination module, the type determination module being used to determine the type of color image data to be acquired according to needs, the type of color image data including: red color image data, cyan color image data, or golden blue color image data;

[0061] A definition module, configured to define a plurality of intervals according to the type of the color image information data and the size of the grayscale value;

[0062] a judgment module, configured to judge, based on the size of the single-channel grayscale image data, the actual interval in which the single-channel grayscale image data is located;

[0063] A determination module is used to determine a corresponding calculation method to output corresponding three-channel color image information data according to the actual interval in which the single-channel grayscale image data is located.

[0064] A third aspect of the present invention further provides a system for generating color images of an infrared thermal imager, the generation system comprising: a processor and a memory communicatively connected to the processor; wherein the memory stores instructions executable by the processor, and the instructions are executed by the processor so that the processor can execute the method for generating color images of an infrared thermal imager.

[0065] The fourth aspect of the present invention also provides a non-volatile computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by one or more processors, the one or more processors can execute the method for generating color images of an infrared thermal imager.

[0066] Beneficial effects of the present invention:

[0067] (1) Acquire single-channel infrared image data output by an infrared thermal imager; compress the single-channel infrared image data to obtain single-channel grayscale image data; perform shift calculation on the single-channel grayscale image data using operations such as shifting to obtain three-channel color image information data corresponding to the single-channel grayscale image data; generate a corresponding color image based on the color image information data; enable the grayscale image output by the infrared thermal imager to be mapped into a color image, thereby ensuring that the human eye has a better visual experience.

[0068] (2) By adopting operations such as shifting, the amount of calculation required to obtain the three-channel color image information data can be reduced, thereby facilitating real-time calculation in scenarios such as high frame rates. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Attachment Figure 1 It is a schematic diagram of the overall process of the generation method of the present invention;

[0070] Attachment Figure 2 It is a structural schematic diagram of the generating device in the present invention;

[0071] Attachment Figure 3 is a flow chart of step S300 of the generation method in the present invention;

[0072] Attachment Figure 4 It is a structural diagram of the calculation module in the generating device of the present invention;

[0073] Attachment Figure 5 is the infrared image after non-uniformity correction in the present invention;

[0074] Attachment Figure 6 is the grayscale image in the present invention;

[0075] Attachment Figure 7It is a structural diagram of the generation system in the present invention. DETAILED DESCRIPTION

[0076] The following describes embodiments of the present invention in detail, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and are not to be construed as limiting the present invention.

[0077] Reference Attachment Figure 1 , Attachment Figure 5 and attached Figure 6 A first aspect of the present invention provides a method for generating a color image of an infrared thermal imager, the method comprising:

[0078] S100: Acquire single-channel infrared image data output by the infrared thermal imager.

[0079] In this application, due to the inconsistency of infrared detector pixel responses, manifested in bias inconsistencies and responsivity inconsistencies, infrared images must be corrected for proper use. Therefore, the single-channel infrared image data output by the infrared thermal imager is obtained by performing non-uniformity correction on the original single-channel infrared image data. The non-uniformity correction method can be a single-point correction method, a two-point correction method, a multi-segment fitting method, or the like. Furthermore, in this embodiment, the single-channel infrared image data is single-channel 14-bit infrared image data.

[0080] S200: compressing the single-channel infrared image data to obtain single-channel grayscale image data.

[0081] In the present application, since the single-channel infrared image data is single-channel 14-bit infrared image data, the single-channel infrared image data needs to be compressed to obtain single-channel 8-bit grayscale image data.

[0082] Furthermore, in one embodiment, step S200 further includes:

[0083] S210: performing normalization processing on the obtained single-channel infrared image data D to obtain normalized image data U;

[0084] S220: performing curve transformation and scale transformation on the normalized image data to obtain single-channel grayscale image data I;

[0085] Where U(i,j)=(D(i,j)-d min ) / (d max -d min );

[0086] I(i, j) = 255 * U(i, j);

[0087] If d max -d min < Th, then

[0088] Where, i is the row of the image, j is the column of the image, d min is the minimum value in image D, d dmax is the maximum value in image D, and Th is a preset threshold.

[0089] Since the displayed image can only be 8-bit, it is necessary to normalize the single-channel infrared image data D. After normalizing the single-channel infrared image data D, multiply it by 255 to obtain the single-channel 8-bit color image data. After processing the single-channel 8-bit color image data through curve transformation and scale transformation, the single-channel grayscale image data I can be obtained. Since the purpose of curve transformation and scale transformation is to appropriately suppress the background to make the image have better visual sensitivity, the preset threshold Th can be set according to actual needs. Generally speaking, the value of the preset threshold Th is generally 1.5 times the background gray peak value. The larger the preset threshold, the more obvious the suppression effect on the background, but low-contrast targets may be weakened into the background, which is not conducive to observation; the smaller the preset threshold, the lighter the suppression of the background, which is conducive to the observation of low-contrast targets, but the background noise is more obvious. However, for 14-bit infrared images, the preset threshold can be set to 200. In actual use, the size of the preset threshold can be selected according to the performance of the infrared module and the specific scenario.

[0090] S300: Perform shift calculations on the single-channel grayscale image data using operations such as shifting to obtain the three-channel color image information data corresponding to the single-channel grayscale image data;

[0091] Since in step S200, the obtained is single-channel grayscale image data, while a color RGB image has data for three channels, namely R-channel image data, G-channel image data, and B-channel image data, and the three channels together display a color image. Therefore, in step S300, it is necessary to perform shift calculations on the single-channel grayscale image data.

[0092] S400: Generate a corresponding color image according to the color image information data.

[0093] By acquiring single-channel infrared image data output by an infrared thermal imager; compressing the single-channel infrared image data to obtain single-channel grayscale image data; performing shift calculations on the single-channel grayscale image data using operations such as shifting to obtain three-channel color image information data corresponding to the single-channel grayscale image data; and generating a corresponding color image based on the color image information data; the grayscale image output by the infrared thermal imager can be mapped into a color image, thereby ensuring a better visual experience for the human eye.

[0094] Reference Attachment Figure 3 In one embodiment, step S300 further includes:

[0095] S310: Determine the type of color image data to be acquired as needed, where the type of color image data includes: red image data, cyan image data, or golden blue image data;

[0096] S320: defining a plurality of intervals according to the type of the color image information data and the size of the grayscale value;

[0097] S330: Determine, based on the size of the single-channel grayscale image data, the actual interval in which the single-channel grayscale image data is located;

[0098] S340: Determine a corresponding calculation method to output corresponding three-channel color image information data according to the actual interval in which the single-channel grayscale image data is located.

[0099] In one embodiment, the shift calculation is performed on the single-channel grayscale image data by using a shift operation or the like to obtain the three-channel color image data of the red color as follows:

[0100] If I(i,j)∈L1, then Q R , Q G , Q B The calculation is:

[0101]

[0102] If I(i,j)∈L2, then Q R , Q G , Q B The calculation is:

[0103]

[0104] If I(i,j)∈L3, then Q R , Q G , Q B The calculation is:

[0105]

[0106] If I(i,j)∈L4, then Q R , Q G , Q B The calculation is:

[0107]

[0108] Where i is the row of the image, j is the column of the image, α1 is the color parameter, cp=(α1*I(i,j)-3*α1*η1)>>8, L1 is [0,η1), L2 is [η1,2*η1), L3 is [2*η1,3*η1), L4 is [3*η1,2 8 -1], where η1 is the interval scaling factor. In this embodiment, the scaling factor η1 is set to 60, and the corresponding color parameter α1 is set to 1088, so that the color image information data can generate the red color image effect. In actual use, the parameters can be fine-tuned to observe color changes to meet the color rendering requirements of specific application scenarios.

[0109] In one embodiment, the shift calculation is performed on the single-channel grayscale image data by using a shift operation to obtain the three-channel color image data of cyan as follows:

[0110] If I(i,j)∈L1, then Q R , Q G , Q B The calculation is:

[0111]

[0112] If I(i,j)∈L2, then Q R , Q G , Q B The calculation is:

[0113]

[0114] If I(i,j)∈L3, then Q R , Q G , Q B The calculation is:

[0115]

[0116] If I(i,j)∈L4, then Q R , Q G , Q B The calculation is:

[0117]

[0118] If I(i,j)∈L5, then Q R , Q G , Q B The calculation is:

[0119]

[0120] Among them, i is the row of the image, j is the column of the image, α2 is the color parameter, L1 is [0,η2), L2 is [η2,2*η2), L3 is [2*η2,3*η2), L4 is [3*η2,4*η2), L5 is [4*η2,2 8 -1], where η2 is the interval scaling factor. In this embodiment, the scaling factor η2 is 51, and the corresponding color parameter α2 is 1280, so that the color image information data can generate the cyan color image effect. In actual use, the color changes can be observed by fine-tuning the parameters to meet the color rendering requirements of specific application scenarios.

[0121] In one embodiment, the shift calculation is performed on the single-channel grayscale image data by using operations such as shift to obtain the three-channel color image data of gold and blue as follows:

[0122] If I(i,j)∈L1 then Q R , Q G , Q B The calculation is:

[0123]

[0124] If I(i,j)∈L2 then Q R , Q G , Q B The calculation is:

[0125]

[0126] If I(i,j)∈L3 then Q R , Q G , Q B The calculation is:

[0127]

[0128] If I(i,j)∈L4 then Q R , Q G , Q B The calculation is:

[0129]

[0130] where \(i\) is the row of the image, \(j\) is the column of the image, \(\alpha_3\) is the color parameter, \(\lambda\) is the grayscale base, \(L_1\) is \([0,\eta_3)\), \(L_2\) is \([\eta_3,2\eta_3)\), \(L_3\) is \([2\eta_3,3\eta_3)\), \(L_4\) is \([3\eta_3,2 8 -1]\). Among them, \(\eta_3\) is the interval scale factor. In this embodiment, the scale factor \(\eta_3\) is taken as 63, the grayscale base \(\lambda\) is taken as 10, and the corresponding color parameter \(\alpha_3\) is taken as 1280, so that the color image information data can correspondingly generate the cyan color image effect of the gold. In specific use, the color change can also be observed by fine-tuning the parameters to meet the color performance effect required by a specific application scenario. <(

[0131] Refer to the attached Figure 2 , the second aspect of the present invention further provides a device for generating a color image of an infrared thermal imager, and the generating device includes:

[0132] An acquisition module, which is used to acquire single-channel infrared image data output by the infrared thermal imager;

[0133] A compression module, which is used to compress the single-channel infrared image data to obtain single-channel grayscale image data;

[0134] A calculation module, which is used to perform shift calculations on the single-channel grayscale image data by operations such as shifting to obtain three-channel color image information data corresponding to the single-channel grayscale image data;

[0135] A color image generation module, which is used to generate a corresponding color image according to the color image information data.

[0136] In one embodiment, the compression module further includes:

[0137] A processing module, which is used to perform normalization processing on the obtained single-channel infrared image data \(D\) to obtain normalized image data \(U\);

[0138] A transformation module, which is used to perform curve transformation and scale transformation on the normalized image data to obtain single-channel grayscale image data \(I\);

[0139] where \(U(i,j)=(D(i,j)-d min ) / (d max -d min );

[0140] I(i,j)=255*U(i,j);

[0141] If \(d max -d min <Th, then

[0142] Among them, i is the row of the image, j is the column of the image, and d min is the minimum value in image D, d dmax is the maximum value in image D, and Th is the preset threshold.

[0143] Reference Attachment Figure 4 In one embodiment, the calculation module further includes:

[0144] a type determination module, the type determination module being used to determine the type of color image data to be acquired according to needs, the type of color image data including: red color image data, cyan color image data, or golden blue color image data;

[0145] A definition module, configured to define a plurality of intervals according to the type of the color image information data and the size of the grayscale value;

[0146] a judgment module, configured to judge, based on the size of the single-channel grayscale image data, the actual interval in which the single-channel grayscale image data is located;

[0147] A determination module is used to determine a corresponding calculation method to output corresponding three-channel color image information data according to the actual interval in which the single-channel grayscale image data is located.

[0148] Reference Attachment Figure 7 The third aspect of the present invention further provides a system for generating color images of an infrared thermal imager, the system comprising: a processor and a memory communicatively connected to the processor; wherein the memory stores instructions executable by the processor, and the instructions are executed by the processor so that the processor can execute the method for generating color images of an infrared thermal imager.

[0149] Among them, the processor and memory can be connected by a bus or other means, and the processor is used to complete various control logics of the system. It can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a single-chip microcomputer, an ARM (Acorn RISC Machine) or other programmable logic device, a discrete gate or transistor logic, a discrete hardware component or any combination of these components. In addition, the processor can also be any traditional processor, a microprocessor or a state machine. The processor can also be implemented as a combination of computing devices, for example, a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a DSP and / or any other such configuration.

[0150] Memory, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions corresponding to the method for generating color images from an infrared thermal imager described in the embodiments of the present invention. The processor executes the non-volatile software programs, instructions, and modules stored in memory to execute various system functions and data processing, thereby implementing the method for generating color images from an infrared thermal imager described in the aforementioned method embodiments.

[0151] The fourth aspect of the present invention also provides a non-volatile computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are executed by one or more processors, the one or more processors can execute the method for generating color images of an infrared thermal imager.

[0152] As an example, non-volatile storage media can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) as external cache memory. RAM can be obtained in many forms such as synchronous RAM (SRAM), dynamic RAM, (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), Synchlink DRAM (SLDRAM), and direct Rambus RAM (DRRAM). The disclosed memory components or memories of the operating environment described herein are intended to include one or more of these and / or any other suitable types of memory.

[0153] The embodiment described above is only one of the more preferred specific embodiments of the present invention. Any common changes and substitutions made by those skilled in the art within the scope of the technical solution of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for generating a color image of an infrared thermal imager, characterized in that: The generation method comprises: Obtain single-channel infrared image data output by the infrared thermal imager; Compressing the single-channel infrared image data to obtain single-channel grayscale image data; Performing a shift calculation on the single-channel grayscale image data using a shift operation to obtain three-channel color image information data corresponding to the single-channel grayscale image data; generating a corresponding color image according to the color image information data; in: The compressing the single-channel infrared image data to obtain single-channel grayscale image data includes: Normalizing the obtained single-channel infrared image data D to obtain normalized image data U; Performing curve transformation and scale transformation on the normalized image data to obtain single-channel grayscale image data I; Where, U(i,j)=(D(i,j)-d min ) / (d max -d min ); I(i,j)=255*U(i,j); If d max -d min <Th, then Among them, i is the row of the image, j is the column of the image, and d min is the minimum value in image D, d max is the maximum value in image D, and Th is the preset threshold; The step of performing a shift calculation on the single-channel grayscale image data by using a shift operation to obtain three-channel color image information data corresponding to the single-channel grayscale image data includes: Determine the type of color image data to be acquired as needed, the type of color image data being red color image data; According to the type of the color image information data, a plurality of intervals are defined according to the size of the grayscale value; Determining, according to the size of the single-channel grayscale image data, an actual interval in which the single-channel grayscale image data is located; Determine a corresponding calculation method to output corresponding three-channel color image information data according to the actual interval in which the single-channel grayscale image data is located; The calculation method of performing shift calculation on the single-channel grayscale image data by using the shift operation to obtain the three-channel color image data of red color is as follows: If I(i,j)∈L1, then Q R , Q G , Q B The calculation is: If I(i,j)∈L2, then Q R , Q G , Q B The calculation is: If I(i,j)∈L3, then Q R , Q G , Q B The calculation is: If I(i,j)∈L4, then Q R , Q G , Q B The calculation is: Where i is the row of the image, j is the column of the image, α1 is the color parameter, cp=(α1*I(i,j)-3*α1*η1)>>8, L1 is [0,η1), L2 is [η1,2*η1), L3 is [2*η1,3*η1), L4 is [3*η1,2 8 -1], η1 is the interval scaling factor.

2. The method for generating a color image of an infrared thermal imager according to claim 1, wherein: The type of the color image data may also be cyan color image data. The calculation method of performing shift calculation on the single-channel grayscale image data using the shift operation to obtain the cyan three-channel color image data is as follows: If I(i,j)∈L1, then Q R , Q G , Q B The calculation is: If I(i,j)∈L2, then Q R , Q G , Q B The calculation is: If I(i,j)∈L3, then Q R , Q G , Q B The calculation is: If I(i,j)∈L4, then Q R , Q G , Q B The calculation is: If I(i,j)∈L5, then Q R , Q G , Q B The calculation is: Among them, i is the row of the image, j is the column of the image, α2 is the color parameter, L1 is [0,η2), L2 is [η2,2*η2), L3 is [2*η2,3*η2), L4 is [3*η2,4*η2), L5 is [4*η2,2 8 -1], η2 is the interval scaling factor.

3. The method for generating a color image of an infrared thermal imager according to claim 1, characterized in that: The type of the color image data may also be gold-blue image data. The calculation method of performing shift calculation on the single-channel grayscale image data by using the shift operation to obtain the gold-blue three-channel color image data is as follows: If I(i,j)∈L1 then Q R , Q G , Q B The calculation is: If I(i,j)∈L2 then Q R , Q G , Q B The calculation is: If I(i,j)∈L3 then Q R , Q G , Q B The calculation is: If I(i,j)∈L4 then Q R , Q G , Q B The calculation is: Among them, i is the row of the image, j is the column of the image, α3 is the color parameter, λ is the grayscale base, L1 is [0,η3), L2 is [η3,2*η3), L3 is [2*η3,3*η3), L4 is [3*η3,2 8 -1], η3 is the interval scaling factor.

4. A device for generating color images of an infrared thermal imager, characterized in that: The generating device adopts the method for generating a color image of an infrared thermal imager according to any one of claims 1 to 3, and the generating device includes: An acquisition module, configured to acquire single-channel infrared image data output by an infrared thermal imager; a compression module, configured to compress the single-channel infrared image data to obtain single-channel grayscale image data; a calculation module, configured to perform a shift calculation on the single-channel grayscale image data using a shift operation to obtain three-channel color image information data corresponding to the single-channel grayscale image data; A color image generation module is used to generate a corresponding color image according to the color image information data.

5. The device for generating color images of an infrared thermal imager according to claim 4, characterized in that: The calculation module also includes: a type determination module, the type determination module being used to determine the type of color image data to be acquired according to needs, the type of color image data including: red color image data, cyan color image data, or golden blue color image data; A definition module, configured to define a plurality of intervals according to the type of the color image information data and the size of the grayscale value; a judgment module, configured to judge, based on the size of the single-channel grayscale image data, the actual interval in which the single-channel grayscale image data is located; A determination module is used to determine a corresponding calculation method to output corresponding three-channel color image information data according to the actual interval in which the single-channel grayscale image data is located.

6. A system for generating color images of an infrared thermal imager, characterized in that: The generation system includes: a processor and a memory communicatively connected to the processor; wherein the memory stores instructions executable by the processor, and the instructions are executed by the processor so that the processor can execute the method for generating a color image of an infrared thermal imager according to any one of claims 1 to 3.

7. A non-volatile computer-readable storage medium, characterized in that: The non-volatile computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are executed by one or more processors, the one or more processors can execute the method for generating a color image of an infrared thermal imager according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Visible light infrared image enhancement color fusion method based on vision attention features

    CN106952246A

  • Novel visible light image and infrared image registration method and device

    CN111583315A

  • Grayscale image enhancement method, computer readable medium and computer system

    CN113222866A