Thermal imaging noise reduction processing method and system, and electronic equipment

Through face detection and distinction between face and non-face areas, different noise reduction processing parameters are used to solve the problem of loss of face temperature information in thermal imaging technology, and the effect of smoother thermal imaging images and retaining face details is achieved.

CN112967204BInactive Publication Date: 2024-11-29NANJING BOLOMI COMM TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202110309229.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-03-23
Publication Date
2024-11-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing thermal imaging technology will erase the temperature information of the human face during noise reduction processing, resulting in increased image smoothness but loss of facial details.

Method used

By acquiring RGB images and thermal imaging temperature array data, face detection is performed to distinguish face and non-face areas, different noise reduction processing parameters are used to independently reduce face and non-face areas, and the face temperature details are preserved. And improve background smoothness.

Benefits of technology

The non-face area of ​​the thermal imaging temperature array data is implemented to perform radical noise reduction processing, the background is smoother, and the face area retains more detailed information, which enhances the overall view of the thermal imaging picture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112967204B_ABST
    Figure CN112967204B_ABST
Patent Text Reader

Abstract

The present application discloses a thermal imaging noise reduction processing method and system, and an electronic device. By acquiring an RGB image and thermal imaging temperature array data of the same area at the same time, a face area in the RGB image is identified, and according to the correspondence between the position of the face area in the RGB image and the position of the face temperature array data in the thermal imaging temperature array data, face temperature array data is determined, and noise reduction processing is performed on non-face temperature array data. Independent noise reduction processing can be performed on non-face temperature array data in the thermal imaging temperature array data, so that a large amount of face temperature details in the face temperature array data are avoided from being erased due to the face temperature array data using the same noise reduction processing method as the non-face temperature array data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a noise reduction processing method and system for thermal imaging, and electronic equipment. Background Art

[0002] All objects in nature emit infrared radiation, and the radiation energy is proportional to the fourth power of their own temperature, and the wavelength of the radiation is inversely proportional to their temperature. Thermal imaging technology (infrared thermal imaging technology) is based on the level of radiation energy detected by the object, which is converted into a thermal image of the target object through system processing and displayed in grayscale or pseudo-color. It can be used to monitor the temperature distribution of the target object.

[0003] In existing thermal imaging technology, it is necessary to perform noise reduction processing on the acquired thermal imaging temperature array data to remove the noise in the image, so as to improve the smoothness of the thermal imaging picture. However, in the process of removing the noise in the image, a large amount of temperature information of the face in the thermal imaging picture will also be erased.

[0004] Therefore, the prior art needs to be improved. Summary of the invention

[0005] In view of this, the present application provides a noise reduction processing method and system for thermal imaging, and an electronic device to solve the problem that the existing noise reduction processing will largely erase the temperature information of the human face in the thermal imaging picture.

[0006] On the one hand, a method for noise reduction of thermal imaging is provided, comprising:

[0007] Obtain RGB images and thermal imaging temperature array data of the same area at the same time;

[0008] Perform face detection on the RGB image and obtain the face area in the RGB image;

[0009] According to the correspondence between the position of the face area in the RGB image and the position of the face temperature array data in the thermal imaging temperature array data, the face temperature array data in the thermal imaging temperature array data is determined by the face area in the RGB image;

[0010] Performing a first noise reduction process on non-face temperature array data in the thermal imaging temperature array data to obtain thermal imaging temperature array data after the noise reduction process;

[0011] The thermal imaging temperature array data after noise reduction is mapped into an image for display.

[0012] In one embodiment, before obtaining the thermal imaging temperature array data after noise reduction processing, the method further includes:

[0013] A second noise reduction process is performed on the face temperature array data, wherein the signal-to-noise ratio of the non-face temperature array data after the first noise reduction process is greater than the signal-to-noise ratio of the face temperature array data after the second noise reduction process.

[0014] In one embodiment, the thermal imaging temperature array data after noise reduction is mapped into a color image.

[0015] In one embodiment, the noise reduction methods used in the first noise reduction processing and the second noise reduction processing are one or more of mean filtering noise reduction processing, Kalman filtering noise reduction processing, bilateral filtering noise reduction processing, and time series filtering noise reduction processing.

[0016] In one embodiment, the formula for mean filtering noise reduction is:

[0017]

[0018] i and j represent the horizontal and vertical coordinates in the thermal imaging temperature array data, respectively, A′(i,j) represents the temperature data with the corresponding coordinates (i,j) after mean filtering and denoising, A(i,j) represents the temperature data with the corresponding coordinates (i,j) in the thermal imaging temperature array data, A(i+m,j+n) represents the temperature data with the corresponding coordinates (i+m,j+n) in the thermal imaging temperature array data, r is the filter radius, γ is a preset adjustment coefficient, wherein the value of γ is greater than or equal to 0 and less than or equal to 1, and the value of γ used in the first denoising process is greater than the value of γ used in the second denoising process.

[0019] In one embodiment, a filter radius used in the first noise reduction process is larger than a filter radius used in the second noise reduction process.

[0020] In one embodiment, the calculation formula of the filter radius in the first noise reduction process is:

[0021] Among them, i and j represent the horizontal and vertical coordinates in the thermal imaging temperature array data, r is the filter radius, R is the preset filter radius, a and b are the horizontal and vertical coordinates corresponding to the maximum temperature value in the face temperature array data, and L is the number of single-column temperature data in the thermal imaging temperature array data.

[0022] In one embodiment, performing face detection on an RGB image includes:

[0023] Perform multi-scale transformation on RGB images and construct image pyramids;

[0024] The image pyramid is processed by a convolutional neural network to identify multiple face windows and probability values ​​corresponding to the face windows;

[0025] Inversely transform the face window with a probability value greater than a preset probability value onto the RGB image to form multiple face frames;

[0026] The non-maximum suppression algorithm is used to eliminate the overlapping and repeated face frames and obtain the face area in the RGB image.

[0027] In one embodiment, determining the face temperature array data in the thermal imaging temperature array data by the face area in the RGB image includes:

[0028] According to the face area in the RGB image, obtain the coordinates of the face area in the RGB image;

[0029] According to the correspondence between the coordinates of the face region in the RGB image and the coordinates of the face temperature array data in the thermal imaging temperature array data, the coordinates of the face region in the RGB image are converted to obtain the coordinates of the face temperature array data in the thermal imaging temperature array data;

[0030] The face temperature array data is determined according to the coordinates of the face temperature array data.

[0031] An electronic device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program can be executed by the processor to implement the steps of the above-mentioned thermal imaging noise reduction processing method.

[0032] Provided is a thermal imaging noise reduction processing system, comprising a data acquisition module, a face detection module, a conversion module, and a noise reduction module, wherein the data acquisition module is connected to the face detection module, the face detection module is connected to the conversion module, and the conversion module is connected to the noise reduction module;

[0033] A data acquisition module is used to acquire RGB images and thermal imaging temperature array data at the same time;

[0034] The face detection module is used to perform face detection on the RGB image and obtain the face area in the RGB image;

[0035] A conversion module, for determining the face temperature array data in the thermal imaging temperature array data through the face area in the RGB image according to the correspondence between the position of the face area in the RGB image and the position of the face temperature array data in the thermal imaging temperature array data;

[0036] The denoising module is used to perform a first denoising process on the non-face temperature array data in the thermal imaging temperature array data.

[0037] The above-mentioned thermal imaging noise reduction processing method of the present application identifies the face area in the RGB image, and determines the face temperature array data according to the correspondence between the position of the face area in the RGB image and the position of the face temperature array data in the thermal imaging temperature array data, and performs noise reduction processing on the non-face temperature array data. It can realize independent noise reduction processing on the non-face temperature array data in the thermal imaging temperature array data, and avoid the face temperature array data using the same noise reduction processing method as the non-face temperature array data, which leads to the elimination of a large number of facial temperature details in the face temperature array data. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0039] Figure 1 It is a schematic diagram of the flow of the existing thermal imaging display method;

[0040] Figure 2 It is a schematic diagram of a noise reduction processing method for thermal imaging according to an embodiment of the present application;

[0041] Figure 3 This is a schematic diagram of an application scenario of a noise reduction processing method for thermal imaging according to an embodiment of the present application;

[0042] Figure 4 This is a schematic diagram of the face detection process in an RGB image according to an embodiment of the present application;

[0043] Figure 5 It is a schematic diagram of a noise reduction processing method for thermal imaging according to an embodiment of the present application;

[0044] Figure 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;

[0045] Figure 7 It is a schematic diagram of the structure of a noise reduction processing system for thermal imaging according to an embodiment of the present application. DETAILED DESCRIPTION

[0046] This embodiment achieves independent noise reduction processing for non-face temperature data by distinguishing face temperature data from non-face temperature data in thermal imaging temperature array data. The technical scheme in the embodiment of the present application is clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiment is only a part of the embodiment of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application. In the absence of conflict, the following embodiments and their technical features can be combined with each other.

[0047] On the one hand, a method for reducing noise in thermal imaging is provided, see Figure 2 , including steps 100 to 400.

[0048] Step 100, obtaining RGB images and thermal imaging temperature array data at the same time;

[0049] Step 200: Perform face detection on the RGB image to obtain the face area in the RGB image;

[0050] Step 300, according to the correspondence between the position of the face region in the RGB image and the position of the face temperature array data in the thermal imaging temperature array data, determine the face temperature array data in the thermal imaging temperature array data through the face region in the RGB image;

[0051] Step 400, performing a first noise reduction process on non-face temperature array data in the thermal imaging temperature array data to obtain thermal imaging temperature array data after the noise reduction process;

[0052] Step 500: Map the thermal imaging temperature array data after noise reduction processing into an image for display.

[0053] The above-mentioned thermal imaging noise reduction processing method of the present application identifies the face area in the RGB image, and determines the face temperature array data according to the correspondence between the position of the face area in the RGB image and the position of the face temperature array data in the thermal imaging temperature array data, and performs noise reduction processing on the non-face temperature array data. It can realize independent noise reduction processing on the non-face temperature array data in the thermal imaging temperature array data, and avoid the face temperature array data using the same noise reduction processing method as the non-face temperature array data, which leads to the elimination of a large number of facial temperature details in the face temperature array data.

[0054] In step 100, the RGB image and the thermal imaging temperature array data are data of the same area acquired simultaneously, wherein the RGB image can be acquired by an RGB camera, and the temperature array data can be acquired by a thermal imaging detector (thermal imaging detector). It should be noted that the temperature array data is a temperature data matrix in which multiple temperature data are arranged, wherein the arrangement of the temperature data corresponds to the temperature distribution of the actual acquisition area.

[0055] The RGB image and thermal imaging temperature array data of the same area refer to the RGB image and thermal imaging temperature array data collected from the same area. For example, see Figure 3 The shooting range of the RGB image 430 is the area of ​​the entrance and exit 450 of the hall, and the thermal imaging detector 440 also collects temperature array data of the entrance and exit area of ​​the hall.

[0056] In one embodiment, the RGB camera and the thermal imaging detector are arranged adjacent to each other and face the same direction, so as to obtain the RGB image and thermal imaging screen temperature array data of the same area at the same angle.

[0057] In step 200, face detection is performed on the RGB image to obtain the face region in the RGB image. Figure 4 , using artificial intelligence face recognition algorithm to detect faces in RGB images, including:

[0058] Step 201, performing multi-scale transformation on the RGB image to construct an image pyramid;

[0059] Step 202: Process the image pyramid using a convolutional neural network to identify and obtain multiple face windows and probability values ​​corresponding to the face windows;

[0060] Step 203: Inversely transform the face windows whose probability values ​​are greater than the preset probability value onto the RGB image to form multiple face frames;

[0061] Step 204: Eliminate overlapping face frames using a non-maximum suppression algorithm to obtain a face region in the RGB image.

[0062] This embodiment adopts an artificial intelligence face recognition algorithm, which can detect faces of different sizes in RGB images in real time and accurately, and obtain the face area in the RGB image.

[0063] In step 201, since the sizes of faces in the RGB image data are different, it is necessary to use an image pyramid to perform multi-scale transformation, so as to detect faces of different sizes in the RGB image data.

[0064] In step 202, the convolutional neural network is composed of a convolutional layer, a pooling layer, and a fully connected layer. For example, the convolutional neural network includes 5 convolutional layers, 3 pooling layers, and 3 fully connected layers. The convolutional layer is used to extract high-dimensional features of RGB images. Among them, the activation function ReLU in the convolutional layer performs a nonlinear mapping on the output result. The pooling layer is also called undersampling or downsampling, which is mainly used to reduce the feature size, compress the number of data and parameters, reduce overfitting, improve the fault tolerance of the model, and make the model fit faster and better in the optimal direction. Specifically, the convolutional neural network can be an AlexNet convolutional neural network.

[0065] In step 203, the preset probability value is used to filter out face windows with lower probability values ​​and retain face windows with larger probability values, which can effectively reduce the amount of computation for subsequent processing. Optionally, the preset probability value is 95% or 98%.

[0066] In this embodiment, the face window that meets the preset probability value is inversely transformed to the RGB image, and multiple frame-shaped areas, namely face frames, are formed on the RGB image, wherein the area covered by the face frame is the corresponding face area on the RGB image. Optionally, the shape of the face frame can be the contour line of the target face.

[0067] The multiple frame-shaped areas in the RGB image are face areas, but multiple overlapping frame-shaped areas may appear on the same face. Step 204 eliminates the cross-over and repeated windows and finds a better face area through a non-maximum suppression algorithm.

[0068] In step 300, the face temperature array data is array data corresponding to the face temperature in the thermal imaging temperature array data. It can be understood that the face temperature array data is the temperature data of one or more regions in the thermal imaging temperature array data, for example, the position of the face temperature array data appears in the middle region of the thermal imaging temperature array data.

[0069] Since the RGB image and the temperature array of the thermal imaging screen collect data of the same area at the same time, that is, the spatial position of the face in the area is determined, the position of the face area in the RGB image and the position of the face temperature array data in the thermal imaging temperature array data have a corresponding relationship or the same positional relationship. For example, the face area is located in the upper left corner of the RGB image, such as the center of the face area is 1 / 4 of the upper side length from the left side of the RGB image, and 2 / 3 of the left side length from the upper side of the RGB image; similarly, the face temperature array data is also located in the upper left corner of the thermal imaging temperature array data, and the center of the face temperature array data is 1 / 4 of the lower side length from the left side of the thermal imaging temperature array data, and 2 / 3 of the left side length from the lower side of the RGB image. It can be seen that the face temperature array data in the thermal imaging temperature array data can be determined by the face area in the RGB image.

[0070] In one embodiment, a coordinate system is used to represent the position of the face area in the RGB image and the position of the face temperature array data in the thermal imaging temperature array data. The coordinates of the RGB image can be established by the number of pixels, for example, the RGB image (10,10) represents the pixel point in the 10th column from left to right and the 10th row from bottom to top; the coordinates of the thermal imaging temperature array data can be established by the number of temperatures, for example, the thermal imaging temperature array data (10,10) represents the temperature data in the 10th column from left to right and the 10th row from bottom to top in the array.

[0071] Optionally, determining the face temperature array data in the thermal imaging temperature array data according to the position of the face area in the RGB image includes:

[0072] Step 301, according to the face area in the RGB image, obtaining the coordinates of the face area in the RGB image;

[0073] Step 302: according to the correspondence between the face region in the RGB image and the face temperature array data coordinates in the thermal imaging temperature array data, the coordinates of the face region in the RGB image are converted to obtain the coordinates of the face temperature array data in the thermal imaging temperature array data;

[0074] Step 303: Determine the face temperature array data in the thermal imaging temperature array data according to the coordinates of the face temperature array data in the thermal imaging temperature array data.

[0075] In step 301, a coordinate system can be established based on two adjacent sides of the RGB image as coordinate axes, and the coordinates of the face area can be obtained. A coordinate system can be established based on the first column and the first row of the thermal imaging temperature array data as coordinate axes. In step 302, as required, when the number of pixels in the RGB image is not equal to the number of temperature data in the thermal imaging temperature array data, the corresponding relationship may be that one pixel corresponds to multiple temperature data or multiple pixels correspond to one temperature data.

[0076] In step 400, the non-face temperature array data is the temperature data remaining after the face temperature array data is removed from the thermal imaging temperature array data. By performing the first noise reduction process on the non-face temperature array data, the image smoothness of the background area in the thermal imaging picture can be improved.

[0077] For one example, see Figure 5 Before obtaining the thermal imaging temperature array data after noise reduction, it also includes:

[0078] Step 600: Perform a second noise reduction process on the face temperature array data, wherein the signal-to-noise ratio of the non-face temperature array data after the first noise reduction process is greater than the signal-to-noise ratio of the face temperature array data after the second noise reduction process.

[0079] In this embodiment, the second noise reduction processing is performed on the face temperature array data to improve the smoothness of the face area in the obtained thermal imaging image, thereby improving the appearance of the face area. It should be noted that the second noise reduction processing on the face temperature array data is relatively conservative, and excessive noise reduction should not be performed to cause a large amount of temperature detail information to be blurred. That is, the first noise reduction processing uses noise reduction parameters that make the image smoother, while the second noise reduction processing uses noise reduction parameters that make the image smoother, and tries to retain more face temperature details. In other words, the first noise reduction processing has a better smoothing effect than the second noise reduction processing, and the signal-to-noise ratio of the non-face temperature array data after the first noise reduction processing is less than the signal-to-noise ratio of the face temperature array data after the second noise reduction processing.

[0080] At present, the display method flow of thermal imaging can be found in Figure 1 , including: step 10, reading thermal imaging temperature array data from a thermal imaging detector (Sensor); step 20, preprocessing the thermal imaging temperature array data to obtain grayscale data; step 30, mapping the grayscale data obtained after preprocessing into a color image; step 40, displaying the converted color image (i.e., thermal imaging image).

[0081] Among them, the preprocessing of the thermal imaging temperature array data is specifically to perform noise reduction on the temperature array data. If the noise reduction processing parameters are too conservative, the smoothing effect of the thermal image is insufficient, resulting in more noise points on the thermal imaging screen as a whole, and poor viewing experience. The advantage is that the face (head) can retain more detailed temperatures, which is convenient for intuitively feeling the temperature of various facial details (such as the forehead); if the noise reduction processing parameters are too aggressive, the thermal image has a better smoothing effect, and the thermal imaging screen has few noise points and a better viewing experience, but the disadvantage is that the temperature details of the face are also blurred, making it difficult to distinguish the temperature of the facial details.

[0082] Since the current noise reduction process cannot distinguish between face temperature data and non-face temperature data in the thermal imaging temperature array data, only a unified noise reduction process can be applied to all the thermal imaging temperature array data.

[0083] This embodiment uses conservative noise reduction parameters for face temperature array data to retain more face detail information; and uses aggressive noise reduction parameters for non-face temperature array data (corresponding to the background area) to make the background smoother, eliminate background noise, and improve the overall look and feel of the thermal imaging picture.

[0084] In step 600, the first noise reduction process and the second noise reduction process are used to reduce noise in the non-face area and the face area respectively, so as to make the image of the non-face area in the thermal imaging picture smoother and retain more face temperature detail information in the face area. In one embodiment, the first noise reduction process and the second noise reduction process respectively include one or more of mean filter noise reduction process, Kalman filter noise reduction process, bilateral filter noise reduction process, and time series filter noise reduction process.

[0085] Among them, mean filter denoising is a mean filter that uses the neighborhood averaging method and is very suitable for removing particle noise in the image obtained by scanning. Kalman filter denoising is to process noisy input and observation signals based on linear state space representation to obtain system state or real signal. Bilateral filter denoising is a nonlinear filtering method, which is a compromise processing that combines the spatial proximity and pixel value similarity of the image, while considering spatial information and grayscale similarity to achieve the purpose of edge preservation and denoising. Time series filter denoising is also called time series denoising. It is a nonlinear threshold processing method. Its principle is that the energy of the useful signal after wavelet transform is concentrated on a few wavelet coefficients, while the white noise is still dispersed on a large number of wavelet coefficients in the wavelet transform domain. Among them, the wavelet coefficient value of the useful signal is greater than the wavelet coefficient value of the noise with dispersed energy and small amplitude, so that the useful signal and noise can be separated.

[0086] In one embodiment, the first noise reduction process and the second noise reduction process are both mean filter noise reduction processes, and the formula for the mean filter noise reduction process is:

[0087]

[0088] i and j represent the horizontal and vertical coordinates in the thermal imaging temperature array data, respectively. A′(i,j) represents the temperature data corresponding to the coordinates (i,j) after mean filtering and noise reduction processing. A(i,j) represents the temperature data corresponding to the coordinates (i,j) in the thermal imaging temperature array data. A(i+m,j+n) represents the temperature data corresponding to the coordinates (i+m,j+n) in the thermal imaging temperature array data. r is the filter radius, and γ is a preset adjustment coefficient. Optionally, γ is greater than or equal to 0 and less than or equal to 1.

[0089] The γ used in the first noise reduction process is greater than the γ used in the second noise reduction process. Optionally, the γ used in the first noise reduction process is greater than 0.5, and the γ used in the second noise reduction process is less than 0.5, the γ used in the first noise reduction process is 0.8 or 1, and the γ used in the second noise reduction process is 0 or 0.1.

[0090] This embodiment sets different γ according to the different areas where the pixel points are located, so as to achieve different noise reduction effects for different areas. Specifically, the γ used in the first noise reduction process is greater than the γ used in the second noise reduction process, which can make the image of the non-face area smoother and retain more facial temperature details in the face area.

[0091] In one embodiment, the filter radius used in the first noise reduction process is greater than the filter radius used in the second noise reduction process. In the mean noise reduction process, the larger the filter radius, the smoother the processed image. Optionally, the calculation formula of the filter radius in the first noise reduction process is:

[0092]

[0093] Among them, i and j represent the horizontal and vertical coordinates in the thermal imaging temperature array data, r is the filter radius, R is the preset filter radius, a and b are the horizontal and vertical coordinates corresponding to the maximum temperature value in the face temperature array data, and L is the number of single-column temperature data in the thermal imaging temperature array data.

[0094] The filter radius in the second noise reduction process is smaller than the minimum value of the filter radius in the first noise reduction process. When a and b are respectively set as the horizontal coordinate and the vertical coordinate corresponding to the central temperature array data (central temperature array data) in the face temperature array data, the calculation formulas for the filter radius in the first noise reduction process and the filter radius in the second noise reduction process are:

[0095]

[0096] In the process of performing the first noise reduction processing on the non-face area in the present embodiment, the filter radius is dynamically adjusted according to the distance from the coordinates of the maximum temperature value in the face temperature array data, wherein the greater the distance from the coordinates of the maximum temperature value in the face temperature array data, the larger the filter radius is, so that the smoothness of the area farther away from the face area in the thermal imaging picture is greater, thereby improving the picture viewing experience.

[0097] In step 500, the thermal imaging temperature array data after noise reduction processing may be mapped into a color image.

[0098] This embodiment can convert the thermal imaging temperature array data into a color image by presetting the corresponding relationship between temperature and visible color. It can be understood that the above method can also map the thermal imaging temperature array data after the first noise reduction process and the second noise reduction process into a color image.

[0099] The above-mentioned thermal imaging noise reduction processing method of the present application identifies the face area in the RGB image, and determines the face temperature array data according to the corresponding relationship between the position of the face area in the RGB image and the position of the face temperature array data in the thermal imaging temperature array data, and performs noise reduction processing on the non-face temperature array data. It is possible to achieve independent noise reduction processing on the non-face temperature array data in the thermal imaging temperature array data. By adopting different parameter noise reduction processing for the face temperature array data and the non-face temperature array data, it is possible to adopt conservative noise reduction parameters for the face temperature array data, thereby retaining more face detail information; and adopt aggressive noise reduction parameters for the non-face temperature array data (corresponding to the background area), so as to make the background smoother, eliminate background noise, and improve the overall appearance of the thermal imaging picture.

[0100] The present application also provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the thermal imaging noise reduction processing method in any of the above embodiments. The electronic device described herein may include mobile terminals such as smart thermometers, mobile phones, tablet computers, navigation devices, wearable devices, smart bracelets, and monitoring equipment. Figure 6 FIG. 1 is a schematic diagram of the internal structure of an electronic device in one embodiment. Figure 6 As shown, the electronic device includes a processor, a memory and a network interface connected via a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory is used to store data, programs, etc., and at least one computer program is stored on the memory, and the computer program can be executed by the processor to implement the wireless network communication method applicable to the electronic device provided in the embodiment of the present application. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by the processor to implement a thermal imaging noise reduction processing method provided in each of the above embodiments. The internal memory provides a cache operating environment for the operating system computer program in the non-volatile storage medium. The network interface can be an Ethernet card or a wireless network card, etc., for communicating with external electronic devices.

[0101] The subsequent description will be made using a smart thermometer as an example, and those skilled in the art will understand that, in addition to being specifically used for fixed-type terminals, the construction according to the embodiments of the present application can also be applied to terminals for mobile purposes.

[0102] Any reference to memory, storage, database or other medium used in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM), which is used as an external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0103] One or more non-volatile readable storage media storing computer-readable instructions are also proposed. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the steps of the thermal imaging noise reduction processing method in any of the above embodiments.

[0104] Provide a thermal imaging noise reduction processing system, please refer to Figure 7 , including a backend server 410, an electronic terminal 420, a camera 430 and a thermal imaging detector 440, the backend server 410 is in communication connection with the electronic terminal 420 and the camera 430, and the electronic terminal 420 is in communication connection with the camera 430;;

[0105] A camera 430 and a thermal imaging detector 440 are used to obtain RGB images and thermal imaging temperature array data at the same time, respectively, and upload the RGB images and thermal imaging temperature array data to the backend server 410;

[0106] The backend server 410 is used to perform face detection on the RGB image to obtain the face region in the RGB image; determine the face temperature array data in the thermal imaging temperature array data through the face region in the RGB image according to the correspondence between the position of the face region in the RGB image and the position of the face temperature array data in the thermal imaging temperature array data; perform a first noise reduction process on the non-face temperature array data in the thermal imaging temperature array data to obtain the thermal imaging temperature array data after the noise reduction process;

[0107] The electronic terminal 420 is used to convert the thermal imaging temperature array data after noise reduction processing into an image for display.

[0108] In some of the embodiments, in the noise reduction processing system for thermal imaging, the background server 410 is further used to perform a second noise reduction processing on the face temperature array data, wherein the signal-to-noise ratio of the non-face temperature array data after the first noise reduction processing is greater than the signal-to-noise ratio of the face temperature array data after the second noise reduction processing.

[0109] For the specific definition of the noise reduction processing system for thermal imaging in the embodiment of the present application, please refer to the aforementioned noise reduction processing method for thermal imaging, which will not be described in detail. For the aforementioned noise reduction processing method for thermal imaging, please refer to the specific definition of the noise reduction processing system for thermal imaging in the embodiment of the present application.

[0110] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A noise reduction method for thermal imaging, It is characterized in that include: Obtain RGB images and thermal imaging temperature array data of the same area at the same time; Performing face detection on the RGB image to obtain a face area in the RGB image; According to the correspondence between the position of the face area in the RGB image and the position of the face temperature array data in the thermal imaging temperature array data, the face temperature array data in the thermal imaging temperature array data is determined by the face area in the RGB image; A first denoising process is performed on non-face temperature array data in the thermal imaging temperature array data, and a second denoising process is performed on the face temperature array data to obtain the thermal imaging temperature array data after the denoising process, wherein the signal-to-noise ratio of the non-face temperature array data after the first denoising process is greater than the signal-to-noise ratio of the face temperature array data after the second denoising process, so that the image of the non-face area is smoother and the face area retains more face temperature details; the denoising methods used in the first denoising process and the second denoising process are both one or more of mean filtering denoising process, Kalman filtering denoising process, bilateral filtering denoising process, and time series filtering denoising process; the formula for the mean filtering denoising process is: Wherein, i and j represent the horizontal coordinate and vertical coordinate in the thermal imaging temperature array data, respectively. ′ (i, j) represents the temperature data with the corresponding coordinates (i, j) after the mean filter denoising process, A(i, j) represents the temperature data with the corresponding coordinates (i, j) in the thermal imaging temperature array data, A(i+m, j+n) represents the temperature data with the corresponding coordinates (i+m, j+n) in the thermal imaging temperature array data, r is the filter radius, γ is a preset adjustment coefficient, wherein the value of γ is greater than or equal to 0 and less than or equal to 1, and the value of γ used in the first denoising process is greater than the value of γ used in the second denoising process; The filter radius used in the first noise reduction process is greater than the filter radius used in the second noise reduction process, and the calculation formula of the filter radius in the first noise reduction process is: Wherein, i and j represent the horizontal coordinate and vertical coordinate in the thermal imaging temperature array data, r is the filter radius, R is the preset filter radius, a and b are the horizontal coordinate and vertical coordinate corresponding to the maximum temperature value in the face temperature array data, and L is the number of single-column temperature data in the thermal imaging temperature array data; The thermal imaging temperature array data after noise reduction is mapped into an image for display.

2. The thermal imaging noise reduction method according to claim 1, It is characterized in that The performing face detection on the RGB image comprises: Performing multi-scale transformation on the RGB image to construct an image pyramid; The image pyramid is processed by a convolutional neural network to identify a plurality of face windows and probability values ​​corresponding to the face windows; Inversely transforming the face window with a probability value greater than a preset probability value onto the RGB image to form a plurality of face frames; The non-maximum suppression algorithm is used to eliminate overlapping and repeated face frames to obtain the face region in the RGB image.

3. The thermal imaging noise reduction processing method according to claim 1, It is characterized in that The determining of the face temperature array data in the thermal imaging temperature array data by using the face area in the RGB image comprises: According to the face area in the RGB image, obtaining the coordinates of the face area in the RGB image; According to the correspondence between the coordinates of the face region in the RGB image and the coordinates of the face temperature array data in the thermal imaging temperature array data, the coordinates of the face region in the RGB image are converted to obtain the coordinates of the face temperature array data in the thermal imaging temperature array data; The human face temperature array data is determined according to the coordinates of the human face temperature array data.

4. An electronic device, It is characterized in that It comprises a memory and a processor, wherein the memory stores a computer program, and the computer program can be executed by the processor to implement the steps of the thermal imaging noise reduction processing method as described in any one of claims 1 to 3.

5. A thermal imaging noise reduction processing system, It is characterized in that It includes a backend server, an electronic terminal, a camera and a thermal imaging detector, wherein the backend server is connected to the electronic terminal and the camera in communication, and the electronic terminal is connected to the camera in communication; The one camera and the one thermal imaging detector are used to obtain the RGB image and the thermal imaging temperature array data at the same time, respectively, and upload the RGB image and the thermal imaging temperature array data to the backend server; The backend server is used to perform a first noise reduction process on non-face temperature array data in the thermal imaging temperature array data, and to perform a second noise reduction process on the face temperature array data, to obtain the thermal imaging temperature array data after the noise reduction process, wherein the signal-to-noise ratio of the non-face temperature array data after the first noise reduction process is greater than the signal-to-noise ratio of the face temperature array data after the second noise reduction process, so as to make the image of the non-face area smoother and retain more face temperature details in the face area; the noise reduction methods used in the first noise reduction process and the second noise reduction process are both one or more of mean filter noise reduction process, Kalman filter noise reduction process, bilateral filter noise reduction process, and time series filter noise reduction process; the formula of the mean filter noise reduction process is: Wherein, i and j represent the horizontal coordinate and vertical coordinate in the thermal imaging temperature array data, respectively. ′ (i, j) represents the temperature data with the corresponding coordinates (i, j) after the mean filter denoising process, A(i, j) represents the temperature data with the corresponding coordinates (i, j) in the thermal imaging temperature array data, A(i+m, j+n) represents the temperature data with the corresponding coordinates (i+m, j+n) in the thermal imaging temperature array data, r is the filter radius, γ is the preset adjustment coefficient, wherein the value of γ is greater than or equal to 0 and less than or equal to 1, and the value of γ used in the first denoising process is greater than the value of γ used in the second denoising process; wherein the filter radius used in the first denoising process is greater than the filter radius used in the second denoising process, and the calculation formula of the filter radius in the first denoising process is: Wherein, i and j represent the horizontal coordinate and vertical coordinate in the thermal imaging temperature array data, r is the filter radius, R is the preset filter radius, a and b are the horizontal coordinate and vertical coordinate corresponding to the maximum temperature value in the face temperature array data, and L is the number of single-column temperature data in the thermal imaging temperature array data; The electronic terminal is used to convert the thermal imaging temperature array data after noise reduction processing into an image for display.

Citation Information

Patent Citations

  • Noise reduction method, terminal and computer readable storage medium

    CN108230270A

  • Body temperature measuring method, device and system

    CN111339951A

  • Multi-scale fast face segmentation method based on deep convolutional cascade network

    CN112132839A