Method for processing an infrared image by merging several colorimetric treatments of the infrared image
By duplicating and processing infrared images with local and global techniques, followed by weighted fusion, the method addresses the challenge of balancing detection and identification, enhancing both in infrared image processing.
Patent Information
- Application Number
- FR2023001664
- Authority / Receiving Office
- FR · FR
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-23
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-02-23
AI Technical Summary
Existing infrared image processing methods struggle to balance the detection of areas of interest, such as hot spots, with the identification of scene details, as they either enhance contrast at the expense of detail or preserve detail at the cost of detectability.
A method involving duplicating an infrared image into two separate images, applying local processing for detail enhancement and global processing for hot spot detection, followed by colorization and merging these images using a weighted fusion technique to create a final image that highlights both areas of interest and scene details.
The method effectively combines local and global processing to enhance both detection and identification capabilities, allowing operators to easily identify areas of interest and details in infrared images.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Description Title of the invention: Method for processing an infrared image by merging several colorimetric treatments of the in- infrared Technical field
[0001] = The present invention relates to the processing of infrared images captured by a thermal camera.
[0002] = In particular, the present invention relates to a treatment method comprising a fusion of at least two treatments of the same infrared image so as to bring out several types of information from the captured scene in image form infrared.
[0003] — Generally speaking, the invention applies to any type of image that can provide different types of information depending on the image processing applied. Previous techniques
[0004] — Existing imaging devices include, for example, a camera comprising a sensor and an optical system, as well as an image processing module allowing respectively to capture an image of a scene and to process said image by ap- plication of a processing function.
[0005] — In particular, the image processing module comprises for example a module optimization of the histogram of captured images. The histogram of an image is a representation of the intensity distribution of the pixels of said image. The module Histogram optimization is also called CAH for Control Au- Histogram automation.
[0006] — The histogram optimization module is intended to be able to analyze and optimize the processing of the image captured by the camera, for example by stretching the histogram globally and / or locally. Generally speaking, stretching a histogram, for example, consists of better spreading the distribution intensity of the pixels of the image, and more generally to give another form of dis- tribution of pixel intensities. In particular, the stretching of the histogram of global way is achieved by taking into account the intensity value of all the pixels of the image while the local histogram stretching is performed in taking into account the value of the pixel intensity on one or more specific areas of the image, for example on areas with a particular spatial frequency. A stretching the image histogram locally is for example carried out by stretching the histogram for each spatial frequency of the image independently of others, the superposition of these stretched histograms allowing to obtain the image treated locally. One advantage of globally stretching a histogram of an infrared image obtained with an infrared sensor, also called a thermal sensor, is that it makes it easier for a computer or operator to detect areas of interest in the infrared image, for example, areas emitting heat. Indeed, global stretching improves the contrast of the image and allows for better detection of areas of interest at the expense of a loss of detail. This advantage is useful for both day and night use in surveillance, defense, and industrial vision applications. One advantage of locally stretching a histogram of an infrared image is that it helps identify details in the scene observed by the infrared camera. However, the amount of detail causes the human eye to lose its ability to recognize and detect areas of interest, including hot spots, The histogram optimization module also allows you to stretch the histogram of an image in a mixed way, namely by applying a weighting between a global stretch and a local stretch. However, choosing a mixed compromise between local stretching and global stretching does not allow obtaining the best performance in each of the two cases, to both detect areas of interest (for example hot spots within the image) and to identify in a fine way details of the scene represented in the image. Imaging devices according to the state of the art comprising thermal cameras also comprise a light processing channel in addition to the histogram optimization module in the image processing module. This processing channel makes it possible to stretch the histogram of the image globally, or to not apply any histogram stretching processing. This processing channel is in particular usually used to transmit tracking information or to recover a stream of unprocessed raw images. In addition, imaging devices according to the prior art may include an image fusion module, allowing imaging devices comprising an infrared sensor and a sensor in the visible wavelengths to combine thermal and visible information on a single image output from the imaging device. Statement of the invention The present invention therefore aims to overcome the aforementioned drawbacks and to provide a method for processing an infrared image forming an image offering the best possible performance in both detection and identification. The present invention relates to a method for processing an infrared image captured by an infrared camera, the method comprising the following steps: - a step of duplicating the infrared image into a first grayscale image and a second grayscale image; - a step of applying local processing to highlight the details on the first image for each spatial frequency by an image processing module; - a step of applying a global processing to the second image by the image processing module highlighting hot spots of interest in the second image; - a step of coloring at least one area of the second image by means of a correspondence table between gray levels and a computer color coding format; - a step of converting the first image from a grayscale format to a color computer encoding format; and - a step of merging the first image with the second image by an image merging module into a final image comprising for each pixel of the final image a weighted merging of the equivalent pixels respectively of the first image and of the area of the second image. Thus, using pre-existing modules, in particular a pre-existing image processing module, the present invention makes it possible to form an infrared image grouping the information from two different processes to the maximum of their capacity and thus to allow an operator or a computer to easily detect an area of interest, for example via colorimetric information contained in the final image, while being able to identify the details of the scene observed, for example via information from the local processing applied. In one embodiment, the method further comprises a step of displaying the final image in real time by a display screen. Advantageously, the step of applying local processing comprises stretching the histogram for each spatial frequency of the first image independently of the other spatial frequencies, and comprises superimposing these stretched histograms so as to obtain the first locally processed image. Advantageously, the step of applying a global processing to the second image comprises stretching the histogram of the second image by taking into account the intensity value of all the pixels of the second image. In a particular embodiment, the method comprises a step of automatic or manual selection of the area of the second image. Advantageously, the step of selecting the area of the second image comprises a step of automatic detection of the area as a function of the temperature and / or the movement and / or shape of said area. In particular implementations, the computer color encoding format is an RGB or YCbCr format. Advantageously, the coloring and / or blending steps are applied to the entire second image or only to one or more areas of the second image. In one embodiment, the steps of applying local processing to the first image and applying global processing to the second image are performed simultaneously. The present invention also relates to a computer program comprising program code instructions for executing the steps of the method as defined above, when said program is executed on a computer. The present invention also relates to a computer-readable recording medium comprising instructions which, when executed by a computer, cause the latter to implement the steps of the method as defined above. The present invention also relates to an imaging device comprising an image processing module configured to implement a method for processing an infrared image captured by an infrared camera, as defined above. Brief description of the drawings Other aims, characteristics and advantages of the invention will appear on reading the following description, given solely by way of non-limiting example, and made with reference to the appended drawings in which: [Fig.1] is a schematic view of an imaging device intended to implement the method according to the invention; and [Fig.2] is a schematic illustration of the different steps of the infrared image processing method according to the invention. Detailed description of at least one embodiment [Fig.1] schematically shows an imaging device 2 intended to implement the method described below. The imaging device 2 comprises an infrared camera comprising an optical system and an infrared sensor 4 as well as an image processing module 6 capable of be similar to a computer program embedded in the camera. The image processing module 6 comprises on the one hand a local optimization module 8 for the histogram of images captured by the infrared sensor 4, and on the other hand a lightweight global stretching module 10 for images captured by the infrared sensor 4. The image processing module 6 also comprises a fusion module 12 of an output image from the local histogram optimization module 8 with an output image from the light global stretching module 10. In particular, the local histogram optimization module 8 allows for local stretching of the histogram of an image. The lightweight global stretching module 10 allows for global stretching of the histogram of an image. The imaging device 2 optionally comprises a display screen 14 of an image. For example, the displayed image is the image obtained at the output of the fusion module 12. [Fig. 2] schematically shows the different steps of a method for processing an infrared image 16 captured by an infrared sensor 4 in one embodiment. The infrared sensor is, for example, the infrared sensor 4 of the imaging device 2 illustrated in [Fig. 1] and the method is, for example, implemented by the imaging device 2 illustrated in [Fig. 1]. To implement the processing method, a step 18 of duplicating the infrared image 16 captured by the infrared sensor 4 is first carried out. The infrared image 16 is, for example, in grayscale. The duplication thus generates a first image 20 and a second image 22, identical to the captured infrared image 16, and in grayscale. In particular, the infrared image 16 represents an indoor or outdoor scene. The duplication step 18 can be carried out more particularly with a duplication module (not shown) included in the imaging device. The duplication step 18 can also be carried out by duplicating the infrared image 16 into a number N of images. This makes it possible to subsequently apply a number N of different image processing operations respectively to said N images. Preferably, N is between 2 and 4 duplicated images. The present invention is therefore not limited to the duplication, processing and merging of two processing operations of an image. A step 24 is then carried out for applying local processing to highlight the details in the first image 20. The details correspond to the high spatial frequencies of an image. This step 24 is for example implemented with the image processing module 6 by the local histogram optimization module 8. In particular, step 24 of applying local processing comprises, for example, stretching the histogram for each spatial frequency of the first independent image. depending on the others, and includes the superposition of these stretched histograms so as to obtain the first locally processed image. In other words, the first image is processed spatial frequency by spatial frequency, the local processing enhances the high spatial frequencies and lowers the low spatial frequencies for different image resolutions. This then makes it possible to study the different spatial components of the image. Thus, the intensity value of the pixels for a given spatial frequency is modified and stretched over the entire spectrum of possible intensities. The histogram stretching is carried out for each spatial frequency of the first image, and all the virtual sub-images are combined into a first processed image, resulting in a first image with many intensity variations, and therefore a greater number of details. A step 26 of applying a global processing to the second image 22 is also carried out. This step 26 is for example implemented with the image processing module 6 and more particularly with the lightweight global stretching module 10. In one embodiment, this step 26 comprises the stretching of the histogram of the second image. In other words, the intensity value of all the pixels of the second image is modified so that the histogram of these values is stretched over all the possible intensity values of the pixels. More precisely, the stretching of the histogram is carried out by applying an intensity gain to each of the pixels so as to completely fill the intensity dynamic of the image, then by carrying out a recalibration of the histogram around the average value of said intensity dynamic of the image. Advantageously, the steps 24 and 26 of applying a local processing and applying a global processing are carried out simultaneously. This is made possible by the fact that the first image 20 and the second image 22 are processed independently, for example respectively by the local histogram optimization module 8 on the one hand and by the light global stretching module 10 on the other hand. Alternatively, N images are duplicated, for example four images, with steps 24 and 26 being applied to two images and different processing steps being applied to the remaining two images to modify them, for example by additional processing bricks. A step 28 of colorizing at least one area of the second processed image 22 is then carried out. This step 28 is carried out by means of a correspondence table between gray levels and a computer color coding format. The computer color coding format is for example RGB or YCbCr format. Thus, each gray level corresponds to a precise color combination defined in the correspondence table. This correspondence makes it possible to better highlighting areas of interest, including hotspots in the infrared image. An advantage is that the colorimetric information obtained highlights for the observer the elements of interest in the scene, for example hotspots, while being superimposable with another type of information, such as intensity variations illustrating the details of the image. The coloring step 28 is applied for example to the entire second processed image 22. Alternatively, before the colorization step 28, a step 30 of automatic or manual selection of one or more zones of said second image 22, processed or unprocessed, is carried out. The colorization step can then be applied only to one or more selected zones, the unselected zones still being converted into a computer color coding format, without however changing their visual rendering. Thus, in a computer color coding format of the RGB type, namely with three red, green and blue components, the unselected zones retain a grayscale appearance while having their RGB components such that the intensity of the red component is equal, for each pixel of an unselected zone, to the intensity of the green component, as well as to the intensity of the blue component, noted R=G=B. The selection is for example manual and is carried out by an operator who selects, for example on a display screen, the areas of interest of the second image 20. Optionally, the step of selecting an area of the second image 22 comprises a step 32 of automatic detection of the area as a function of the temperature and / or the movement and / or the shape of said area. The detection is carried out automatically by a computer and / or an on-board electronic card as a function of temperature criteria, and / or movement and / or shape of the area to be selected. Thus, detecting a hotspot of interest then allows it to be colored to make it more visible. A step 34 of converting the first image 20 from its grayscale format to a computer color coding format is carried out in parallel. This step 34 is similar to the conversion of the unselected areas mentioned above. In preparation for merging the first and second images 20 and 22, the first image 20 is converted into a computer color coding format while retaining the same visual appearance of grayscale. Thus, in a computer color coding format of the RGB type, the intensity of the red component is equal, for each pixel of the first image, to the intensity of the green component, as well as to the intensity of the blue component, denoted R=G=B. We then carry out a step 36 of merging the first modified image 20 after step 34 with the second image 22 modified after step 28 into a final image 38, the first and second images being in the same color computer coding format. If necessary, the merging step 36 makes it possible to merge the N modified images. The merging step 36 is for example carried out by the image merging module 12 of the imaging device 2. The final image 38 more particularly comprises for each pixel of said final image 38 a weighted fusion of the equivalent pixels respectively of the first image 20 and of the second image 22. Equivalent pixels are understood to mean the pixels of the first and second images which correspond to the same pixel in the captured infrared image. According to an example of weighted fusion, by denoting x and y the coordinates of each pixel of the final image 38, “the weighting factor between 0 and 1, R, G, B the intensities of the colors for an RGB color computer coding format, we obtain the RGB intensities for each pixel of the final image 38, such that: Rs y)= a*Rpal0s 9) + (1-0) "Roof 9) | Glx 5)= a*G;0x 5) + (1-0) *G,al% M) (Bx y)=a*B,(< y)+ (1-a)*B,lx 3) The weighting factor can be modified by an operator. When it is equal to 0, only the second modified image 22 is visible on the final image 38. When it is equal to 1, only the first modified image 20 is visible on the final image 38. Optionally, the weighting factor is different depending on the x and y coordinates, for example for coordinates included in selected areas. Step 36 of merging the first modified image 20 with the second modified image 22 into a final image 38 makes it possible to combine the respective interests of local processing and global processing, and therefore to facilitate identification and detection respectively on the same final image 38. Optionally, a step 40 of displaying the final image 38 is carried out by the display screen 14 of the imaging device 2, the display step 40 preferably being carried out in real time so that the display step 40 is carried out at most one second after the infrared image 16 has been duplicated, for example in a time corresponding to three processing frames, or 60 milliseconds for an acquisition frequency of 50 Hz.
Claims
Claims
1. Method for processing an infrared image (16) captured by a infrared camera, characterized in that it comprises the steps following: a step of duplicating (18) the infrared image (16) in a first image (20) in grayscale and a second image (22) in grayscale; a step of applying a local treatment (24) making highlight the details on the first image (20) for each spatial frequency by an image processing module (6); a step of applying a global treatment (26) on the second image (22) by the image processing module (6) highlighting hot spots of interest from the second image (22); a coloring step (28) of at least one area of the second image (22) by means of a correspondence table- correspondence between gray levels and an in- coding format color computing; a conversion step {34) of the first image (20) of a grayscale format to a computer encoding format of color; and a step of merging (36) the first image (20) with the second image (22) by an image fusion module (12), the fusion resulting in a final image (38) comprising for each pixel of the final image (38) a weighted fusion of the equivalent pixels respectively of the first image (20) and from the area of the second image (22).
2. The method of claim 1, further comprising a step display (40) in real time of the final image (38) by a screen display (14).
3. A method according to any one of claims 1 and 2, wherein the step of applying a local treatment (24) comprises stretching the histogram for each spatial frequency of the first image (20) independently of other spatial frequencies, and includes the super- position of these histograms stretched so as to obtain the first image (20) processed locally.
4. A method according to any one of claims 1 to 3, wherein the step of applying a global treatment (26) to the second image (22) includes stretching the histogram of the second image (22) into taking into account the intensity value of all pixels of the second image (22).
5. A method according to any one of claims 1 to 4, comprising an automatic or manual selection step (30) of the area of the second image (22).
6. The method of claim 5, wherein the step of selecting (30) the area of the second image (22) comprises a detection step (32) automatic zone control based on temperature and / or movement and / or shape of said area.
7. A method according to any one of claims 1 to 6, wherein the computer color coding format is an RGB format or YCbCr.
8. A method according to any one of claims 1 to 7, wherein the coloring (28) and / or merging (36) steps are applied to the the whole of the second image (22) or only one or more areas of the second image (22).
9. A method according to any one of claims 1 to 8, wherein the steps of applying a local treatment (24) on the first image (20) and application of a global treatment (26) on the second image (22) are carried out simultaneously.
10. Computer program comprising code instructions program for executing the steps of the method according to one any of claims 1 to 9, when said program is run on a computer.
Citation Information
Patent Citations
Systems and methods for processing infrared images
US8515196B1
Image processing method and apparatus
WO2021102928A1
