Method and device for correcting pixel non-uniformity in an infrared imaging device

The method addresses pixel non-uniformity in infrared imaging devices by generating a corrected gain table through image capture and spatial filtering, ensuring consistent image quality without factory recalibration.

FR3124013B1Active Publication Date: 2024-08-30LYNRED
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
FR2021006251
Authority / Receiving Office
FR · FR
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-06-14
Publication Date
2024-08-30
Estimated Expiration
2041-06-14

AI Technical Summary

Technical Problem

Existing infrared imaging devices face challenges in correcting pixel non-uniformity that can vary over time, leading to deterioration of image quality without the need for costly and time-consuming factory-style recalibration.

Method used

A method for generating a corrected gain table by capturing images of a uniform scene at different integration times, calculating pixel differences, and applying spatial filters to correct pixel non-uniformity, allowing on-the-fly recalibration without factory recalibration.

Benefits of technology

Effectively corrects pixel non-uniformity in infrared imaging devices, maintaining image quality over time without the need for factory recalibration, thus reducing costs and time consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000021_0000
    Figure 00000021_0000
  • Figure 00000021_0001
    Figure 00000021_0001
  • Figure 00000022_0000
    Figure 00000022_0000
Patent Text Reader

Abstract

Method and device for correcting pixel non-uniformity in an infrared imaging device. This description relates to a method for generating a corrected gain table for an infrared imaging device, the method comprising: - capturing, using the infrared imaging device, a first image of a uniform scene (TCN3) using a first integration time (); - capturing, using the infrared imaging device, a second image of the uniform scene (TCN3) using a second integration time () different from the first integration time; - calculating, by a processing device for the infrared imaging device, pixel differences between the first and second images, each pixel difference indicating a difference in the pixel value of the second image relative to a corresponding pixel value of the first image;and - the generation of the gain table based on pixel differences. Figure for the abbreviation: Fig. 7;
Need to check novelty before this filing date? Find Prior Art

Description

Description Title of the invention: Method and device for correcting a non- pixel uniformity in an infrared imaging device Technical field

[0001] — The present description relates generally to the field of infrared imaging- red and, in particular, a method and device for correcting a non- pixel uniformity in an infrared imaging device. Prior art

[0002] — Different infrared (IR) imaging device technologies exist, which app- generally fall into two distinct classes: hybrid detectors, such as cooled quantum IR devices, and monolithic detectors, which are gener- typically uncooled devices, such as microbolometers.

[0003] — The signals captured by each pixel of an infrared imaging device can have non-uniformity due to process variations during manufacturing of the device. Such pixel non-uniformity can usually be corrected by using a second-order non-uniformity correction (NUC) technique. This involves defining a correction to be applied to each pixel in both di- dimensions of the pixel array. Such techniques generally rely on a table gain indicating a gain correction to be applied to the signal captured by each pixel of the network, and on a compensation table indicating a compensation correction to be applied to the signal captured by each pixel of the network. These tables are usually actually generated in the factory directly after the camera is manufactured. This calibration involves capturing images of multiple uniform blackbody scenes, each having a different controlled temperature.

[0004] — However, in some cases, the level of pixel non-uniformity may vary for at least some groups of pixels during the lifetime of an infrared camera. This may lead to deterioration of image quality over time. There are, however, a technical difficulty in correcting such variations in non-uniformity of pixels without going back to a complete factory-style recalibration. Summary of the invention

[0005] An object of the embodiments of the present description is to satisfy at least partly the needs of the prior art.

[0006] According to one aspect, there is provided a method of generating a corrected gain table. of an infrared imaging device, the method comprising: - the capture, using the infrared imaging device, of a first image of a uniform scene using a first integration time; - capturing, using the infrared imaging device, a second image of the uniform scene using a second integration time different from the first integration time; - calculating, by a processing device of the infrared imaging device, pixel differences between the first and second images, each pixel difference indicating a difference in the pixel value of the second image relative to a corresponding pixel value of the first image; and - generation of the corrected gain table based on pixel differences. According to one embodiment, the method further comprises generating a first average of pixel values ​​of the first image and a second average of pixel values ​​of the second image, wherein the corrected gain table is further generated based on a difference between the first and second averages. According to one embodiment, the method further comprises generating an intermediate gain table GAIN Tin based on the first and second images, each value of the additional gain table being calculated based on the equation: [Math 1] NCTENINCTEY where Te is the first image, N cr; NCTE\ <NCTEA GAIN 7,0%, 9) = TENINCTCN moe (€) Fo is the first average, 7724, is the second image, and NCT EN is the second average, the corrected gain table being generated based on the intermediate gain table GAIN 7;pt. According to one embodiment, the method further comprises calculating, by the processing device, a correction table CoGarn on the basis of the intermediate gain table GAIN 7; and on an initial gain table GAIN uiriai of the infrared imaging device, in which the values ​​of the correction table Caain are calculated on the basis of the equation: [Math 2] 5) — CAN pig SSI CAIN ri \35}_ in which the corrected gain table is Caml y) = calculated on the basis of the Coarn correction table. According to one embodiment, the method further comprises detecting, by the processing device, on the basis of the first and second images, or on the basis of an additional image of the uniform scene, one or more pixels of the infrared imaging device having a non-uniformity, wherein only the values ​​of the correction table Ccazn corresponding to said one or more pixels are used to calculate the corrected gain table. According to one embodiment, the method further comprises applying a filter spatial to the correction table Ca a7v before calculating the corrected gain table based on the correction table Ce: an. According to one embodiment, the corrected gain table is calculated on the basis of the following equation: GAIN corlx Y) = GAIN pritia (X 9) *(1+ (p*Caan (xy) ) ), where ? is an attenuation factor strictly greater than 0 and strictly less than 1. According to one embodiment, the first and second integration times are chosen randomly, the method further comprising determining a common factor applied to each value of the correction table using an iterative search based on image dispersion levels resulting from a plurality of different values ​​of the common factor. According to one embodiment, the method further comprises, before capturing the first image: - capturing a third image of the uniform scene using an additional integration time; and - the calculation of the first and second integration times based on the third image. According to one embodiment, the first and second integration times are calculated on the basis of the following equations: [Math 3] [Math 4] NercarVCrer ) *T, Ty = (FSC int 7 ( NCronrNCree )'Ti where T'ine_n is a reference integration time, int2 NCrewsNCrer ints NCTcna is an average pixel value of the third image, NV Crew and NCrcw2 are average pixel values ​​associated with first and second uniform temperatures respectively, and NC rer is a reference average pixel value of the infrared imaging device. According to one embodiment, the method further comprises generating a corrected compensation table OFFSET cop based on the corrected gain table, each pixel of the corrected table OFFSET cor being calculated based on the following equation: [Math 5] OFFSET cog( x Y) = NCrew3- GAIN cor(* Y)Irews(% y). where Trens is a third frame, or the third frame, captured in front of the uniform scene TCN3 using an additional integration time T'ir_n, and NCrcw3 is an average level of the pixel values ​​of the third frame. According to another aspect, there is provided a method of image correction in a infrared imaging device, the method comprising: - generating a corrected gain table of the infrared imaging device in accordance with the above method; - capturing a first new image; and - correction of the first new image using the corrected gain table. According to one embodiment, the method further comprises: - capturing a second new image; - detection, by the processing device, that a contrast in the second new image is less than a threshold; and - correction of the second new image using initial compensation and gain tables. According to another aspect, there is provided an infrared imaging device configured to - capture a first image of a uniform scene using a first integration time; - capturing a second image of the uniform scene using a second integration time different from the first integration time; the infrared imaging device comprising a processing device configured to generate a corrected gain table in: - calculating pixel differences between the first and second images, each pixel difference indicating a difference in the pixel value of the second image relative to a corresponding pixel value of the first image; and - generating the corrected gain table based on pixel differences. Brief description of the drawings These and other features and advantages will be set forth in detail in the following description of particular embodiments given without limitation in relation to the attached figures, among which: [Fig. 1] schematically represents an IR imaging device according to an exemplary embodiment of the present description; [Fig.2] schematically represents an image processing circuit of [Fig.1] in more detail according to an exemplary embodiment; [Fig.3] shows an example of an image captured before calibration by an IR imaging device having pixel non-uniformity; [Fig.4] shows an example of an image captured several weeks after calibration of the IR imaging device having pixel non-uniformity; [Fig. 5] is a flowchart showing steps of a method for initial calibration of an IR imaging device according to an exemplary embodiment of the present description; [Fig.6] is a flowchart showing a second order non-uniformity correction step of [Fig.5] in more detail according to an exemplary embodiment of the present disclosure; [Fig.7] is a flowchart showing steps of a method of recalibrating the IR imaging device according to an exemplary embodiment of the present description; [Fig.8] is a flowchart showing a step of generating / updating a gain table of [Fig.7] in more detail according to an exemplary embodiment of the present disclosure; [Fig.9] is a flowchart showing a step of generating / updating a gain table of [Fig.7] in more detail according to another exemplary embodiment of the present disclosure; and [Fig.10] is a flowchart showing a first order non-uniformity correction step of [Fig.7] in more detail according to an exemplary embodiment of the present disclosure. Description of the embodiments The same elements have been designated by the same references in the different figures. In particular, the structural and / or functional elements common to the different embodiments may have the same references and may have identical structural, dimensional and material properties. Unless otherwise specified, when referring to two elements connected together, this means directly connected without intermediate elements other than conductors, and when referring to two elements connected (in English "coupled") together, this means that these two elements can be connected or be connected by means of one or more other elements. In the following description, when reference is made to absolute position qualifiers, such as the terms “front”, “back”, “top”, “bottom”, “left”, “right”, etc., or relative position qualifiers, such as the terms “above”, “below”, “upper”, “lower”, etc., or to orientation qualifiers, such as the terms “horizontal”, “vertical”, etc., reference is made, unless otherwise specified, to the orientation of the figures or to a microbolometer in a normal position of use. Unless otherwise specified, the expressions “about”, “approximately”, “substantially”, and “of the order of” mean to within 10%, preferably to within 5%. [Fig. 1] schematically represents an IR imaging device 100 comprising a pixel array 102 sensitive to IR light. The IR imaging device 100 constitutes, for example, a part of an IR camera. In certain embodiments, the pixel array 102 is sensitive to long-wave IR light, such as light having a wavelength in the range of 7 to 16 um or longer. In the example of [Fig. 1], the pixel array 102 comprises 144 pixels 104 arranged in 12 rows and 12 columns. In alternative embodiments, the pixel array 102 could comprise any number of rows and columns of pixels. Typically, the pixel array 102 comprises, for example, 640 by 480, or 1024 by 768 pixels. An output block (OUTPUT) 108 is for example connected to each column of the pixel array 102 and provides a raw RAW image comprising the signals or measurements captured by the pixel array. A control circuit (CTRL) 110 provides, for example, control signals to the pixel array 102 and to the output block 108. During a reading step, the pixel lines of the raw RAW image captured by the pixel array 102 are for example read one by one. The RAW raw image is for example supplied to an image processing circuit (IMAGE PROCESSING) 112, which for example applies a 2-point image correction to the pixels of the image to produce a corrected image S. This process is applied to an image I, which may correspond to the RAW raw image, or to an intermediate image generated after further image processing steps applied to the RAW raw image before the 2-point image correction. The 2-point image correction is for example based on gain and compensation tables. For example, each pixel S(x,y) in a row x and a column y of the corrected image is determined on the basis of the following equation: [Math 6] S(xy) = GAIN(xy)1(x, y) + OFFSET ( x, y ), where GAIN(x,y) is the value in the gain table associated with pixel (x,y), I(x,y) is the pixel value of pixel (x,y) in the raw or intermediate image, and OFFSET(x,y) is the value in the compensation table associated with pixel (x,y). [Fig.2] schematically represents the image processing circuit 112 of [Fig.1] in more detail according to an exemplary embodiment. The functions of the image processing circuit 112 are for example implemented in software, and the image processing circuit 112 comprises a processing device (PROCESSING DEVICE) 202 having one or more processors controlled by instructions stored in an instruction memory (INSTR MEMORY) 204. In alternative embodiments, the functions of the image processing circuit 112 could be implemented at least partially by dedicated hardware. In such a case, the processing device 202 comprises for example an ASIC (application specific integrated circuit) specific application) or a FGPA (field programmable gate array), and the instruction memory 204 can be forgotten. The processing device 202 receives the raw input image RAW and generates the corrected image S, which is for example provided to a display (not shown) of the imaging device. The processing device 202 is also connected to a data memory (MEMORY) 206 storing, for example, the compensation table (OFFSET) 208 and the gain table (GAIN) 210 used to implement the 2-point image correction. The memory 206 also stores, for example, initial gain and compensation tables (INITIAL GAIN AND OFFSET TABLES) 212 which are, for example, used to update these gain and compensation tables 208, 210 during a recalibration step described in more detail below. Furthermore, the memory 214 stores, for example, image average values ​​(NC VALUES) 214, and / or an integration time (INT TIME) 216, which are, for example, also used during the recalibration operation. The memory 206 is, for example, a non-volatile memory.In some embodiments, rather than being stored in non-volatile memory 206, gain and compensation tables 208, 210 could be recalculated each time the IR imaging device is powered up, and stored in volatile memory, such as RAM (random access memory). [Fig. 3] shows an example of an image 300 captured before calibration by an IR imaging device having pixel non-uniformity. In particular, [Fig. 3] shows an image consisting of 512 rows (ROWS) and 640 columns (COLUMNS), which includes a group 302 of pixels having non-uniformity. The pixels of this group 302, which is located in the upper left corner of the image 300 in the example of [Fig. 3], are all affected to the same extent by some phenomenon that modifies, for example, the emission of these pixels. For example, the phenomenon may be the result of a polluting material contaminating the sensor, for example by sputtering a thin layer into a window positioned over the image region.Alternatively, the phenomenon may be the result of another event affecting a group of pixels in an area of ​​the image, such as pollution caused by a dopant in the pixels of the array, or a modification or replacement of all or part of the optical system. A factory calibration of the IR imaging device may initially correct the non-uniformity of the pixel group 302. However, in the case where the amplitude and / or spatial extent of the phenomenon varies with time, a deterioration in image quality over time may be observed, as will now be explained in relation with [Fig.4]. [Fig. 4] shows an example of an image 400 captured several weeks after a calibration of the IR imaging device having pixel non-uniformity. In this example, the image disturbance spreads in space over time, increasing the number of affected pixels. Indeed, the measurements from the group 302 of non-uniform pixels that are present in the image 300 are corrected by an initial calibration of the IR imaging device. In particular, the gain and compensation tables include, for example, values ​​that correct the non-uniformity of the group 302 of pixels. However, an additional group 402 of pixels has been affected by the phenomenon after the initial calibration, and thus exhibits non-uniformity.Although a new factory-type calibration could be used to recalculate the gain and compensation tables to account for the new 402 pixel group, in many cases returning the IR imaging device to the factory or similar controlled environment where recalibration can be performed would be time-consuming and expensive. A method of generating or updating a gain table in order to perform recalibration of an IR imaging device on the fly will now be described in detail in relation to Figures 7 to 10. In some cases, this involves a modification of the initial calibration method, for example factory calibration, as will be described first in relation to Figures 5 and 6. [Fig. 5] is a flowchart showing steps of a method for initial calibration of an IR imaging device according to an exemplary embodiment of the present disclosure. For example, the IR imaging device is device 100 of [Fig. 1], and this method is at least partially implemented by image processing circuit 112 of FIGS. | and 2. In a step 501, a second-order NUC (non-uniformity correction) correction is for example performed, based for example on the capture of at least one image of a uniform blackbody scene TCNI at uniform temperature, and the capture of at least one image facing a uniform blackbody scene TCN2 at a uniform temperature different from that of the blackbody scene TCNI1. In a step 502, average levels N'CTen1 and NC7cn2 of the pixel values ​​of each of the captured images of the uniform blackbody scenes TCNI and TCN2 are, for example, stored for the IR imaging device 100, these values ​​corresponding, for example, to NC values ​​214 of the memory 206 of [Fig.2]. For example, the average N'Crewz level is the average pixel value calculated based on the following equation: [Math 7] NCzem = (Eu M Lt te ronde, ») | N Where Irc; is a raw image, or an intermediate image generated after further image processing steps applied to the raw image, of the uniform blackbody scene TCNI, C is the number of columns in the image 7rcv1, R is the number of rows in the image Trens, LpewlX, 5) is a pixel in the x row and y column of the image / rcw1, and N is the number of pixels in the image, equal to R x C, In some embodiments, the average value NC7en1 is calculated based on a single image. In alternative embodiments, in order to obtain an average value with greater accuracy, the calculation is for example based on a series of m images, where m is for example at least 2, and in some cases between 2 and 50.In some cases, rather than calculating the average pixel value based on all pixel values ​​in the image, some pixels are not considered, such as any pixels identified as defective or fake. The average value NV C7owz is also for example the average pixel value, and is for example calculated in a similar way to VC7cy; based on a single captured image or on a series of captured images. Of course, in alternative embodiments, the average values ​​N'Crew1 and NC7en2 could be different types of average, calculated in a different way. [Fig.6] is a flowchart showing the second order NUC correction step of [Fig.5] in more detail according to an exemplary embodiment of the present disclosure. In a step 601, one or more images of each of the uniform blackbody scenes TCNI and TCN2 are captured. For example, each of these images is captured using a same nominal integration time Z'à_y. In some embodiments, this integration time is stored as the value 216 in the memory 206 of [Fig.2]. In a step 602, an initial gain table GAIN ,,,;riat is calculated based on images captured in step 601. For example, each value (x,y) of the initial gain table GAIN piriai is calculated using the following equation: [Math 8] = NCreyrV Crex to Trésor / the i Ÿ tit — PCT (Ten _ where Fri and FTrew2 are the GAIN images print (3) Irexa(20°)-Tremilxv)? ; captured from the uniform blackbody scenes TCNI1 and TCN2, respectively. In a step 603, an initial compensation table OFFSET pririat is calculated based on the images captured in step 601, and the initial gain table GAIN pitiai calculated in step 602. For example, each value (x,y) of the initial compensation table OFFSET ,itiat is calculated using the following equation: [Math 9] OFFSET prinailX ÿ) = NCrea1 - CAIN mimat (XV) Tremi(X y). In a step 604, in some cases, all defects in the initial gain and compensation tables are for example detected and corrected using standard techniques, and these tables are stored in the IR imaging device, for example like the tables 212 stored in the memory 206 of [Fig.2]. [Fig. 7] is a flowchart showing steps of a method for recalibrating the IR imaging device according to an exemplary embodiment of the present disclosure. For example, the IR imaging device is the device 100 of [Fig. 1], and this method is at least partially implemented by the image processing circuit 112 of FIGS. 1 and 2. This method of [Fig.7] is for example implemented on the fly, in other words during normal use of the IR imaging device, and without using a uniform blackbody scene at a controlled temperature. Instead, a uniform scene TCN3 is for example used for this recalibration. The scene TCN3 corresponds for example to the closed shutter of the IR imaging device. According to a variant, for example in the case where the IR imaging device is a device without a shutter, the scene TCN3 is for example a black plate having a relatively uniform temperature placed in front of the IR imaging device, and / or the scene TCN3 is created by defocusing the optics of the IR imaging device. Indeed, the optics of the IR imaging device can for example be controlled so as to capture a defocused image of the image scene, so that the radiation received by each of the pixels of the pixel array is relatively uniform. In a step 701, an image 77e; of the uniform scene TCN3 is captured using an integration time Tim. In a step 702, an image res, of the uniform scene TCN3 is captured using an integration time T';ur different from the integration time T init. As will be explained in more detail below, in some embodiments, the integration times Tr and T;7y2 are calculated in advance, based at least on the average levels NV C7ey1 and NC re and the nominal image integration time T'inr_n. In alternative embodiments, the integration times T'inrt and Ti; are each selected randomly, for example based on random number generation. The use of randomly selected integration times is advantageous in that the range of available integration times can be limited to a range of relatively short integration times, allowing relatively fast image capture steps. In still other alternative embodiments, the integration times T;pri and T'nr2 are fixed values ​​relative to the nominal image integration time Ti_n. For example, Tin = Tin, + €, and Tir = Tin,” €, where € is for example between 10 and 200 js, and for example equal to 100 jus in one example. In a step 703, a new gain table is generated or the initial gain table is updated, based on the images captured in steps 701 and 702. For example, this step involves calculating pixel differences between each pixel 7 Te x, y) of the image / 7##!, and each corresponding pixel Trend, y) of the image 7 Tin2, and generating a new / updated gain table based on these differences. This new / updated gain table is for example stored as the gain table 210 in the memory 206 of [Fig. 2]. In some embodiments, after step 703, a first order NUC step 704 is performed to generate a corrected compensation table OFFSET cor, for example by updating the initial compensation table OFFSET prixioi. This new / updated compensation table is for example stored in the form of the compensation table 208 in the memory 206 of [Fig.2]. In a step 705, a new image captured by the IR imaging device is for example corrected using the new / updated gain table, and in some cases also the new / updated compensation table. For example, each pixel (x,y) of the corrected image S is calculated based on the following equation: S(x, y) = GAIN cor(x, v)I{x, y) + OFFSET cor(x, Y). In some cases, the correction based on the corrected gain table GAIN cor is selectively applied to newly captured images based on the image contrast of those images. Indeed, the gain table correction described here may lead to some pixelation of low-contrast images. For example, contrast detection is performed, and for images with contrast below a threshold, the initial gain and compensation tables GAIN ; pitia: and OFFSET pritiai are used, whereas for images with contrast above the threshold, the corrected gain and compensation tables GAIN cor and OFFSET cor are used. [Fig. 8] is a flowchart showing the step of generating / updating a gain table 703 of [Fig. 7] in more detail according to an exemplary embodiment. In the example of [Fig. 8], it is assumed that the integration times Tina and Tin used to capture the images 7 / 1, and 77 / "2, in steps 701 and 702 are calculated in advance. For example, before steps 701 and 702, an image capture step is performed to capture an image or a series of images of the uniform scene TCN3 using the integration time T'nt_n. The integration times T'inrs and T'inr2 are then calculated, before steps 701 and 702, based on the following equations: [Math 10] [Math 11] NCrcosNCrer | T Tru (cr) Tite Tnn= ( = SE ) “Tits where NCrer is a reference average level of pixel values ​​of the pixel array, equal for example to a compensation level of only the readout circuit of the array when the photodiode is not active (for example, biased to 0 V and having a minimal T'), and N'C7cy3 is an average level of pixel values, which is for example calculated in a similar way to the average level NCzcn1 based on a single captured image or a series of captured images, using the integration time 7 irr_n. Referring to [Fig.8], in a step 801, a gain table GAIN Tin is calculated by indicating a gain between each pixel of the images / T#!L, and 7742, in other words a gain which is associated with the difference of the integration times T'inni and Tin. For example, each pixel (x,y) of the gain table GAIN 7; is calculated on the basis of the following equation: [Math 12] At mil i where NC {is the average level of the J.; "Tiel _N°eTi GAINTim (xy) = PCT Fes (ny)-F5R (av)? yi 'j Tinsi int2 ii pixel values ​​of the image 77@\3, €t NCT A ; is the average level of the pixel values ​​of the image Fi, these average levels being for example calculated in a similar way to the average level NC rev; described previously. The subtraction TTENa(X, y) -TFENa(x, y) corresponds to the calculation of the pixel differences between each pixel Tran, y) of the TT image, and each corresponding pixel His 5) of the 77 / 2 image, In a step 802, the gain table GAIN Ti: is for example converted into a correction table Ccarw intended to correct the initial gain table. This is for example carried out for each pixel (x,y) of the gain tables GAIN 71 and GAIN pririal on the basis of the following equation: [Math 13] 64 1 N — CAIN pripii (055) -GAIN pppel 00) Canine 1) = Sa In a step 803, a spatial filter is for example applied to the correction table Ccarn. For example, this filter is a median filter based on a k by k kernel applied to the image, where k is for example an odd integer equal to 3 or more. For example, k is equal to 3, 5 or 7. As is known to the person skilled in the art, a spatial median filter is applied to a table or matrix by centering the kernel on each value in turn, for example using a raster scan, and replacing each value with the median value among the pixel values ​​contained in the kernel. For example, Particularly good results were obtained using a median filter based on a 3 by 3 kernel. The filtering step can thus be represented by the following equation: [Math 14] Coan(x, ÿ) = MedianFilter(331{Coarn (% 3) )- In a step 804, the filtered correction table Ccarv is for example used to correct the GAIN table ririat. For example, each pixel (x,y) of the corrected GAIN table cor is calculated on the basis of the following equation: [Math 15] GAIN cor(X ÿ) = GAIN print 3) #1 + Coarv (X y) ). In a step 805, all the defects of the corrected gain table GAIN cor(% Y) are for example detected and corrected, in a manner similar to the correction of the initial gain table carried out in step 604 of [Fig.6). Figure 9 is a flowchart showing a step of generating / updating a gain table 703 of Figure 7 in more detail according to another exemplary embodiment of the present disclosure. In particular, in the example of Figure 9, it is assumed that the integration times T,1 and T;nrz used to capture the images Fi, and pe in steps 701 and 702 are randomly generated. Step 901 of [Fig.9] is identical to step 801 of [Fig.8] and will not be described again in detail. In a step 902, the gain table GA / N7;7; is for example converted into a correction table Ccaz intended to correct the initial gain table in a similar way to step 802. However, due to the randomly chosen integration times l'in and Tina, the correction table is inaccurate by a factor °. Thus, what is obtained is a gain table C+ 270 X, Y) / 0 where the factor ° is unknown: [Math 16] Coaxbss) _ GAIN prepa (SX)-GAIN pig (22) 7 = GAIN pinot (3Y) + In a step 903, an iterative search is performed for a value of that minimizes image dispersion or results in relatively low image dispersion. For example, image dispersion is an indication of the variance among the pixel values ​​in a captured image. For example, for each value of , the resulting correction table is calculated, filtered as described in connection with step 803 of FIG. 8, and used to generate a corrected gain table GAIN cor. The corrected gain table CAIN cor is then, for example, used to correct an image of the uniform scene TCN3, and the variance of the pixel values ​​of the corrected image is, for example, calculated as a measure of the resulting image dispersion. This process is, for example, repeated iteratively while changing the value of ” according to known minimization search techniques in order to determine a final value of . Steps 904 and 905 of Figure 9 are for example similar to steps 803 and 804 of Figure 8, except that they are performed on the basis of the correction table Ccazn as set by the factor determined in step 903. Figure 10 is a flowchart illustrating the first order non-uniformity correction step 704 of Figure 7 in more detail according to an exemplary embodiment of the present disclosure. This step 704 is for example used to make any adjustments to the compensation table that may result from the new gain values ​​in the corrected gain table GAIN cor. In a step 1001, an image, or a series of images, is captured in front of the uniform scene TNC3 using the integration time Z'bu_n. According to a variant, if such an image or series of images of the uniform scene TNC3 has already been captured using the integration time Tptcn for the calculation of the integration times T z1 and Ta then a new image capture step can be avoided. In a step 1002, the initial compensation table OFF SET pririat is for example updated. For example, each pixel (x,y) of the corrected table OFFSET cor is calculated on the basis of the following equation: [Math 17] OFFSET cor(% y) = NCren3- GAIN cor(X, Y)Irens(% y), where Trens is the captured image or one of the captured images of the uniform scene TCN3 using the integration time T'inr_n, and N'C7ew3 is an average level of the pixel values ​​of the image / rcy3, which is for example calculated in a similar way to the average level NC7cm, based on the single captured image or the series of captured images. In a step 1003, all the defects of the corrected compensation table OFFSE Tcor( X, y) are for example detected and corrected, in a manner similar to the correction of the initial compensation table carried out in step 604 of [Fig.6]. Various embodiments and variations have been described. Those skilled in the art will understand that certain features of these various embodiments and variations could be combined, and other variations will occur to those skilled in the art. For example, although examples have been described in which a spatial filter is applied to gain table corrections before using them to correct the gain table, in alternative embodiments no such filtering is used. Further, although embodiments have been described in which the initial gain table CAIN,,iriat is updated using the method of Figures 7 and 8 to generate the corrected gain table GAIN cor, in alternative embodiments the gain table may have separate components relating to the optical system and the imaging system, and only the imaging part of the initial gain table GAIN ,itial is corrected. For example, the gain of each pixel (x,y) of the initial gain table GAIN pitiai is composed of the optical and imaging components as follows [Math 18] Imagi Optical GAIN ppp (% ÿ) = TISSUE GAIN (at, y) FGAINCPWEIGHT (x, y). In such a case, the imaging gain component (A7, ee is for example corrected using the method described herein to generate a corrected imaging gain table G, AIN! sunsène, and the overall corrected gain table GAIN cor is then generated for example on the basis of the following equation: GAIN cor(x, y) = GAIN LSE"S{ x, y) FGAINÇPESE (x, y). Further, although embodiments have been described in which a full correction is performed using the gain table generation / update method, in alternative embodiments, the calculated gain corrections are applied with attenuation to preserve a portion of the initial table. For example, the corrected gain table is generated based on the following equation: GAIN corlx, y) = GAIN pritiat Ÿ 5) *(1+ (r*Ccan(* y) ) ), where Ÿ is the attenuation factor, which is for example strictly greater than 0 and strictly less than 1. Indeed, a value of ? of 0 would not imply any modification of the initial gain table GA / N ,pition whereas a value of ? of 1 would imply 100% correction. The preferred value depends for example on the desired attenuation of the non-uniformity and the acceptable amount of pixelation. For example, good results can be obtained with values ​​of ” between 0.4 and 0.6. Although embodiments have been described in which all pixels of the gain table are updated, it would also be possible to update only the values ​​corresponding to pixels having non-uniformity, in other words pixels that are modified by the phenomenon that is to be eliminated. For example, before step 703 of [Fig. 7], a detection step is performed to detect non-uniform pixels in the image of the uniform scene TCN3 that have non-uniformity relative to other pixels after a correction has been applied using the initial gain and compensation tables. For example, a low-pass spatial filter is applied to the image first to smooth out spatial pixel variations, and then a threshold detection is applied to identify pixels that have a value significantly greater than, for example, an average pixel value of the image. In In some embodiments, only pixels that are spatially clustered are considered, for example, groups of at least ten, or at least twenty, non-uniform pixels. Finally, the practical implementation of the embodiments and variants described is within the reach of those skilled in the art from the functional indications given above.

Claims

Claims

1. Method for generating a corrected gain table (GAIN cor) of a infrared imaging device, the method comprising: - the capture, using the infrared imaging device, of a first image of a uniform scene (TCN3) using a first integration time (T'as) 3 - the capture, using the infrared imaging device, of a second image of the uniform scene (TCN3) using a second integration time (T;x2) different from the first integration time; - the calculation, by a processing device (112) of the imaging device infrared, pixel differences between the first and second images, each pixel difference indicating a difference in the pixel value of the second image relative to a pixel value corresponding to the first image; - generation of an intermediate gain table GAZN7;7 based on first and second images; - the generation of a Caazrn correction table based on the table of intermediate gain GAIN 7;n and an initial gain table GAIN itial of the infrared imaging device; and - the generation of the corrected gain table (GAIN cor) based on the correction table.

2. The method of claim 1, further comprising generating of a first average (NOTES) of pixel values ​​of the first image and a second average (, NCTE2) of pixel values ​​of the second image, in which each value (x,y) of the gain table in- intermediate (GAIN 7{=) is further calculated based on the equation: [Math 19] NOT GAIN. ; x, = ; ICNY , TCN3 'Tua(X y) = rare re

3. The method of claim 2, wherein the values ​​of the table of correction C@az are calculated based on the equation: [Math 20] — CAIN pyigaz (25.9}-GAIN pige (28) Coan (at y) = ee

4. The method of claim 3, further comprising detecting by the processing device (112) based on the first and second images, or based on an additional image of the uniform scene (TCN3), of one or more pixels of the infrared imaging device having non-uniformity, in which only the values ​​of the table of correction C@azn Corresponding to said one or more pixels are used to calculate the corrected gain table.

5. The method of claim 3 or 4, further comprising applying of a spatial filter to the Caazrn correction table before calculating the corrected gain table (GAIN Con) based on the correction table Coain.

6. A method according to any one of claims 3 to 5, wherein the corrected gain table is calculated based on the following equation: GAINcor(x, y) = GAIN print (* 5) *(1+ (y*Coan (xy) ) ). where # is an attenuation factor strictly greater than 0 and strictly less than |.

7. A method according to any one of claims 1 to 6, wherein the first and second integration times (T'ini, Tint2) are chosen randomly- torially, the method further comprising determining a factor common (”) applied to each value of the correction table (Can) using an iterative search based on dispersion levels image resulting from a plurality of different values ​​of the factor common (%).

8. A method according to any one of claims 1 to 6, comprising in furthermore, before capturing the first image: - capturing a third image of the uniform scene (TCN3) in using an additional integration time (T'inr_n); and - the calculation of the first and second integration times (T'iner, T'inez) SUr the base of the third image.

9. The method of claim 8, wherein the first and second integration times (T7ntt, Tine2) are calculated based on the equations following: [Math 21] [Math.22] — { NCrenzNCree | * Tea = (CESR | Tim where Tint_n is a reference integration time, N'C7c:v3 is a average pixel value of the third image, NCren, and NCren2 are average pixel values ​​associated respectively with first and second uniform temperatures, and VC per is a value average reference pixel of the infrared imaging device.

10. A method according to any one of claims 1 to 9, comprising in in addition to generating a corrected compensation table OFFSET cor based on the corrected gain table (GAIN cor), each pixel (x,y) of the corrected table OFFSET cor being calculated on the basis of the equation next: [Math 23] OFFSET cor(x, y) = NC7cw3- GAIN cor (x. y) Iren3l(% Y), where Ircw3 is a third image, or the third image, captured in front of the uniform TCN3 scene using an additional integration time- mentary T'nt_n, and N'Crena is an average level of pixel values of the third image.

11. Method of image correction in an infrared imaging device, the method comprising: - the generation of a corrected gain table (GAIN cor) of the device infrared imaging according to the method according to any one of the re- claims 1 to 10: - capturing a first new image; and - correction of the first new image using the gain table corrected.

12. The method of claim 11, further comprising: - capturing a second new image; - the detection, by the processing device (112), that a contrast in the second image is less than a threshold; and - correction of the second new image using tables of initial compensation and gain.

13. An infrared imaging device configured to: - capture a first image of a uniform scene (TCN3) using a first integration time (T;71); - capture a second image of the uniform scene (TCN3) using a second integration time (F;nz) different from the first time integration; the infrared imaging device comprising a processing device (112) configured to generate a gain table corrected (GAIN cor) in: - calculating pixel differences between the first and second images, each pixel difference indicating a difference in the pixel value of the second image relative to a pixel value corresponding to the first image; - generating an intermediate gain table GAIN 7; based on the first and second images; - generating a correction table Ca based on the intermediate gain table GAIN 7;,x and an initial gain table GAIN pritiat of the infrared imaging device; and - generating the corrected gain table (GAIN cor) based on the correction table.