Calibration infrared non-uniformity correction method based on multi-scale STL-SRU residual network
The infrared image is corrected inhomogeneity through a multi-scale STL-SRU residual network, which solves the problems of image details and contrast loss in the prior art, and realizes effective processing of high-intensity noise and retaining contrast.
Patent Information
- Application Number
- CN202210278183.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-21
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2042-03-21
AI Technical Summary
The existing infrared non-uniformity correction methods can easily lead to image details and contrast loss when removing non-uniform noise, especially when facing high-intensity noise.
The calibration infrared non-uniformity correction method based on multi-scale STL-SRU residual network is adopted. By acquiring bold images at different temperatures, the target scene image is preprocessed and corrected, and the multi-layer feature extraction and up-down sampling modules are used for depth. Feature representation reduces noise impact and preserves image detail and contrast.
Effectively remove infrared non-uniform noise, reduce the details and contrast loss of the corrected image, improve the adaptability of noise intensity and distribution, and enhance contrast retention.
Smart Images

Figure CN114742721B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of infrared image processing and relates to a calibration infrared non-uniformity correction method based on a multi-scale STL-SRU residual network. Background Art
[0002] At present, infrared non-uniformity correction (NUC) methods are mainly divided into two categories. One is based on the reference radiation source, using a black body with uniform temperature to calculate a fixed correction coefficient, such as one-point correction, two-point correction and multi-point correction. The premise of using the one-point correction algorithm is that the ambient temperature fluctuation of the entire infrared imaging system is small, and the infrared radiation energy of the external target incident on the system should also be close to the ambient temperature. While meeting the environmental conditions, the gain coefficient of each pixel of the detector is small. In general, the one-point correction algorithm only corrects the response bias accordingly. When the infrared imaging system is under the proposed assumptions, the non-uniformity of its response is mainly caused by the fixed additive background noise. However, in the actual measurement process, the infrared imaging system does not only have additive background noise, but also has two types of non-uniformity noise, multiplicative and additive. The cause of these noises can be attributed to the difference between the DC bias and gain of the infrared focal plane detector. Therefore, in practical applications, if only one-point correction is simply used to correct the non-uniformity of the system, it is usually accompanied by large errors. Based on this, in order to correct the defects of the single-point correction method, a two-point correction method was developed on its basis to calibrate the gain and bias at the same time. Under real working conditions, considering that the detector response is nonlinear, the two-point correction cannot meet the larger temperature application range, so multi-point correction is generated. In essence, the multi-point correction method is not much different from the two-point calibration method. Its actual operation is to perform a two-point correction between two adjacent temperature points after selecting multiple different temperature points. By repeatedly performing two-point correction between different two points, reasonable correction is achieved within a larger temperature range. Multi-segment linear simulation of this nonlinear output is also performed.
[0003] However, due to the inherent time drift characteristics of the detector itself, the reference radiation source-based method requires the detector to be interrupted periodically for recalibration. In order to overcome this limitation, researchers have proposed many scene-based NUC methods based on different working principles, which can be divided into multi-frame methods and single-frame methods. Multi-frame methods include those based on constant statistics, image registration, Kalman filtering, time-domain high-pass filtering, artificial neural networks, etc. These methods are heavily dependent on scene motion between frames or parameter selection, otherwise ghost images will appear in the image after stripe removal.
[0004] In recent years, with the continuous increase in the amount of image data and the continuous improvement of hardware performance, deep learning has been successfully applied to image processing problems such as computer vision. Driven by the development of this technology, researchers have proposed some methods to remove stripe non-uniform noise. CNN-based methods include SNRCNN, SNRWDNN and ICSRN. Although these methods are superior to several classic stripe removal methods in both quantitative and qualitative evaluations, they also have their limitations. SNRCNN and ICSR cannot completely remove strong stripe non-uniform noise. SNRWDNN removes vertical edges in the image as stripe noise, resulting in loss of scene details. In order to solve the problem that infrared non-uniformity noise cannot be removed completely, He et al. proposed a single-frame image stripe non-uniformity correction method (DLS-NUC) based on deep learning in the literature “Z. He, Y. Cao, Y. Dong, Single-image-based nonuniformity correction of uncooled long-wave infrared detectors: A deep-learning approach, Appl. Opt. 57 (18) (2018) 155–164.” This method combines multiple noise models and uses a residual network structure to achieve better processing results, but it will reduce the contrast. Guan et al. used a deep neural network to directly learn the multi-scale image features after wavelet decomposition in the literature “J. Guan, R. Lai, Ai Xiong, Wavelet deep neural network for stripe noise removal, IEEE Access 7 (2019) 44544–44554.”, which improves the algorithm’s adaptability to noise intensity and distribution. However, like SNRCNN and ICSR, when encountering high-intensity noise, the peak signal-to-noise ratio of this algorithm is low.
[0005] Therefore, how to reduce the loss of details and contrast of the corrected image while removing non-uniform noise has become an urgent problem to be solved. Summary of the invention
[0006] In order to solve the above problems existing in the prior art, the present invention provides a calibration infrared non-uniformity correction method based on a multi-scale STL-SRU residual network. The technical problem to be solved by the present invention is achieved through the following technical solutions:
[0007] The embodiment of the present invention provides a calibration infrared non-uniformity correction method based on a multi-scale STL-SRU residual network, and the calibration infrared non-uniformity correction method includes:
[0008] Step 1: acquiring a first temperature image and a second temperature image of a black body at a first temperature and a second temperature, wherein the first temperature is lower than the second temperature;
[0009] Step 2: Correct the target scene image using the first temperature image and the second temperature image to obtain a pre-processed corrected image;
[0010] Step 3: Input the preprocessed corrected image into the trained multi-scale STL-SRU residual network to extract deep feature representation, and use the extracted feature representation as the final non-uniformity correction result.
[0011] In one embodiment of the present invention, step 2 comprises:
[0012] Based on the first temperature image and the second temperature image, the target scene image is corrected using a two-point correction method to obtain the preprocessed corrected image.
[0013] In one embodiment of the present invention, step 3 comprises:
[0014] Step 3.1, use the convolution layer to extract features from the preprocessed corrected image to obtain the shallow feature F0;
[0015] Step 3.2: The shallow feature F0 of the first path passes through the first SRU module and the first deep feature extraction module f in turn. DF1 Perform image feature extraction to obtain the first image feature F DF1 The second path of the shallow feature F0 is obtained by the downsampling module to obtain the second image feature F DSF1 ;
[0016] Step 3.3: The second image feature F of the first path DSF1 After the second SRU module and the second deep feature extraction module f DF2 Perform image feature extraction to obtain the third image feature F DF2’ , the second image feature F DSF1 The fourth image feature F is obtained through the downsampling module DSF2 ;
[0017] Step 3.4: The fourth image feature F of the first path DSF2 After passing through the third SRU module and the third deep feature extraction module f DF3 Perform image feature extraction to obtain the fifth image feature F DF3’ , the fourth image feature F of the second path DSF2 The sixth image feature F is obtained through the downsampling module DSF3 ;
[0018] Step 3.5: the sixth image feature F DSF3 The fifth image feature F is extracted through the fourth SRU module DSF3 The shallow features of the seventh image feature F DF4’ ;
[0019] Step 3.6: For the third image feature F DF2’ , the fifth image feature F DF3’ and the seventh image feature F DF4’ The image feature size is restored, and the eighth image feature F is obtained. DF2 、The ninth image feature F DF3 and the tenth image feature F DF4 ;
[0020] Step 3.7: Based on the first image feature F DF1 , the eighth image feature F DF2 , the ninth image feature F DF3 and the tenth image feature F DF4 The shallow and deep characteristics of the composition are used to obtain the final non-uniformity correction result.
[0021] In one embodiment of the present invention, the first deep feature extraction module f DF1 It includes 3 STLB modules, 1 convolutional layer and residual structure.
[0022] In one embodiment of the present invention, the second deep feature extraction module f DF2 and the third deep feature extraction module f DF3 Both include 1 STLB module, 1 third convolutional layer and residual structure.
[0023] In one embodiment of the present invention, each of the STLB modules includes 3 STL layers, a convolutional layer and a residual structure, each of the STL layers includes 2 LayerNorm layers, 1 multi-head self-attention module, 1 multi-layer perceptron and 2 residual structures, and each of the multi-layer perceptrons includes 2 fully connected layers and a GELU activation function.
[0024] In one embodiment of the present invention, the downsampling module includes a downsampling layer and a convolutional layer.
[0025] In one embodiment of the present invention, step 3.6 comprises:
[0026] The third image feature F DF2’ , the fifth image feature F DF3’ and the seventh image feature F DF4’ The image feature size is restored through the upsampling module, and the eighth image feature F is obtained accordingly.DF2 、The ninth image feature F DF3 and the tenth image feature F DF4 , the upsampling module includes an upsampling layer and a convolution layer.
[0027] In one embodiment of the present invention, step 3.7 comprises:
[0028] The first image feature F DF1 , the eighth image feature F DF2 , the ninth image feature F DF3 and the tenth image feature F DF4 The composed shallow and deep features are reconstructed through the convolution layer to obtain the final non-uniformity correction result.
[0029] In one embodiment of the present invention, the training method of the multi-scale STL-SRU residual network includes:
[0030] Acquire a data set, wherein the data set includes a plurality of noisy images;
[0031] Randomly adding Gaussian noise to each of the noise images to obtain a Gaussian noise image;
[0032] The multi-scale STL-SRU residual network is trained using the Gaussian noise image to obtain a trained multi-scale STL-SRU residual network.
[0033] Compared with the prior art, the present invention has the following beneficial effects:
[0034] The infrared non-uniformity correction method of the present invention removes non-uniform noise and, through a deep network, deeply mines the image structure features, image detail features, and spatial hierarchy features of infrared images at different scales, retains all effective image information except non-uniform noise, and achieves the purpose of reducing the loss of details and contrast of the corrected image.
[0035] Other aspects and features of the present invention will become apparent from the following detailed description with reference to the accompanying drawings. It should be understood, however, that the drawings are designed for illustrative purposes only and are not intended to limit the scope of the present invention, as reference should be made to the appended claims. It should also be understood that, unless otherwise indicated, the drawings are not necessarily drawn to scale and are intended merely to conceptually illustrate the structures and processes described herein. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A schematic flow chart of a calibration infrared non-uniformity correction method based on a multi-scale STL-SRU residual network provided in an embodiment of the present invention;
[0037] Figure 2A schematic flow chart of another method for calibrating infrared non-uniformity correction based on a multi-scale STL-SRU residual network provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The present invention is further described in detail below with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.
[0039] Embodiment 1
[0040] See also Figure 1 and Figure 2 , Figure 1 A schematic diagram of a flow chart of a calibration infrared non-uniformity correction method based on a multi-scale STL-SRU residual network provided by an embodiment of the present invention, Figure 2 A flow chart of another method for calibrating infrared non-uniformity correction based on a multi-scale STL-SRU residual network provided in an embodiment of the present invention is provided. The present invention provides a method for calibrating infrared non-uniformity correction based on a multi-scale STL-SRU residual network. The method for calibrating infrared non-uniformity correction includes steps 1 to 3, wherein:
[0041] Step 1: Acquire a first temperature image and a second temperature image of a black body at a first temperature and a second temperature, wherein the first temperature is lower than the second temperature.
[0042] Specifically, an infrared detector is used to aim at a black body at a first temperature and a second temperature, respectively, to obtain a first temperature image and a second temperature image under a uniform background.
[0043] Preferably, the first temperature is in the range of 10-25°C, and the second temperature is in the range of 35-45°C.
[0044] Step 2: Use the first temperature image and the second temperature image to perform correction processing on the target scene image to obtain a preprocessed corrected image, wherein the target scene image is the image to be corrected.
[0045] Specifically, based on the first temperature image and the second temperature image, a two-point correction method is used to perform correction processing on the target scene image to obtain a preprocessed corrected image.
[0046] Step 3: Input the preprocessed corrected image into the trained multi-scale STL-SRU residual network for deep feature representation extraction, and use the extracted feature representation as the final non-uniformity correction result.
[0047] In a specific embodiment, step 3 includes:
[0048] Step 3.1: Use the convolution layer to extract features from the preprocessed corrected image to obtain the shallow feature F0, namely:
[0049] F0=f SF (x)
[0050] Preferably, the convolution layer is a 3×3 convolution layer.
[0051] Step 3.2: The first shallow feature F0 passes through the first SRU module and the first deep feature extraction module f DF1 Perform image feature extraction to obtain the first image feature F DF1 The second path of the shallow feature F0 is obtained by the downsampling module to obtain the second image feature F DSF1 .
[0052] Specifically, the shallow feature F0 is divided into two paths, one of which passes through the first SRU module and the first deep feature extraction module f DF1 , and the other path goes through the downsampling module.
[0053] Among them, after the first SRU module and the first deep feature extraction module f DF1 One path can be expressed as:
[0054] F DF1 =f DF1 (F0) = f SRU (F0)+f STLB (f STLB (f STLB (f SRU (F0))))
[0055] Among them, f SRU (F0) is the shallow feature, f STLB (f STLB (f STLB (f SRU (F0)))) is a deep feature.
[0056] Furthermore, the SRU module is a simple recurrent unit (SRU), which is a light recurrent unit. The calculation formula of a single-layer SRU module is as follows:
[0057] f t =σ(W f x t +v f ⊙c t-1 +b f )
[0058] c t =f t ⊙c t-1 +(1-f t )⊙(Wx t )
[0059] r t=σ(W r x t +v r ⊙c t-1 +b r )
[0060] h t =r t ⊙c t +(1-r t )⊙x t
[0061] Among them, W f and W r is the parameter matrix, W, W f and W r Both are 3×3 convolution kernels, used for the input image variable x t Perform convolution, v f 、v r , b f and b r is the parameter vector to be learned during training. The above parameter vectors are all initialized to zero. As the network training progresses, these parameter vectors will continue to change and are used to extract and calculate the effective features of the original image in the intermediate image feature variables. As the feature extraction capability gradually increases, the change amplitude of the parameter vector gradually decreases. t represents the feature image after activation by the sigmoid activation function, σ represents the sigmoid activation function in deep learning, x t represents the overall input image features of the SRU module, c t-1 represents the intermediate image feature variable obtained from the previous input image training, c t represents the intermediate image feature variable calculated by the second formula, r t It means that the characteristic image after the calculation result in the brackets in the third formula is activated by the sigmoid activation function, h t represents the output image features of the SRU module as a whole. The complete architecture is decomposed into two parts, where the first two formulas represent mild recurrence and the last two formulas represent high-speed networks.
[0062] Furthermore, the first deep feature extraction module f DF1 It includes 3 STLB (STL Block) modules, 1 3×3 convolutional layer and residual structure.
[0063] Each STLB module includes three STL layers, a 3×3 convolutional layer and a residual structure. For each submodule (i.e., STL layer, convolutional layer), the calculation process is as follows:
[0064] F i =fSTL (F i-1 )
[0065] F DF =f Conv (F i )
[0066] Each STL layer includes 2 LayerNorm (normalization layer) layers, 1 multi-head self-attention (MSA) module, 1 multi-layer perceptron (MLP) and 2 residual structures. The calculation process is:
[0067] X=f MSA (f LN (X))+X
[0068] X=f MLP (f LN (X))+X
[0069] Each multilayer perceptron consists of 2 fully connected layers with GELU activation function.
[0070] In the MSA module, the input of size H×W×C is split into local windows of size M×M and reshaped as is the total number of windows, each window Compute the standard self-attention at each window:
[0071] Q = XP Q , K = XP K , V = XP V
[0072]
[0073] Among them, P Q , P K and P V is the projection matrix shared across different windows, B represents learnable relative position encoding.
[0074] Step 3.3: First path second image feature F DSF1 After the second SRU module and the second deep feature extraction module f DF2 Perform image feature extraction to obtain the third image feature F DF2’ , the second image feature F DSF1 The fourth image feature F is obtained through the downsampling module DSF2 .
[0075] Specifically, the second image feature F DSF1 It is divided into two paths, one path passes through the second SRU module and the second deep feature extraction module f DF2, and the other path goes through the downsampling module.
[0076] Preferably, the downsampling module comprises a downsampling layer and a convolutional layer.
[0077] Furthermore, the downsampling module specifically includes a 2-fold downsampling layer and a 3×3 convolution layer. Preferably, the second deep feature extraction module f DF2 It includes 1 STLB module, 1 3×3 third convolutional layer and residual structure. The calculation process is as follows:
[0078] F DF2 '=f DF2 (F DSF1 )=f SRU (F DSF1 )+f STLB (f STLB (f SRU (F DSF1 )))
[0079] Among them, f SRU (F DSF1 ) is a shallow feature, f STLB (f STLB (f SRU (F DSF1 ))) is a deep feature.
[0080] Step 3.4: The fourth image feature F of the first path DSF2 After passing through the third SRU module and the third deep feature extraction module f DF3 Perform image feature extraction to obtain the fifth image feature F DF3’ , the fourth image feature F of the second path DSF2 The sixth image feature F is obtained through the downsampling module DSF3 .
[0081] Specifically, the fourth image feature F DSF2 It is divided into two paths, one of which passes through the third SRU module and the third deep feature extraction module f DF3 , and the other path goes through the downsampling module.
[0082] Preferably, the third deep feature extraction module f DF3 It includes 1 STLB module, 1 3×3 third convolutional layer and residual structure. The calculation process is as follows:
[0083] F DF3 '=f DF2 (F DSF2 )=f SRU (F DSF2 )+f STLB (f SRU (F DSF2 ))
[0084] Among them, f SRU (F DSF2 ) is a shallow feature, f STLB (f SRU (F DSF2 )) is a deep feature.
[0085] Step 3.5: Sixth image feature F DSF3 The fifth image feature F is extracted through the fourth SRU module DSF3 The shallow features of the seventh image feature F DF4’ The calculation process is as follows:
[0086] F DF4 '=f SRU (F DSF3 )
[0087] Step 3.6: For the third image feature F DF2’ , the fifth image feature F DF3’ and the seventh image feature F DF4’ The image feature size is restored, and the eighth image feature F is obtained. DF2 、The ninth image feature F DF3 and the tenth image feature F DF4 .
[0088] Specifically, the third image feature F DF2’ , the fifth image feature F DF3’ and the seventh image feature F DF4’ The image feature size is restored through the upsampling module, and the eighth image feature F is obtained accordingly. DF2 、The ninth image feature F DF3 and the tenth image feature F DF4 , then the shallow and deep features of the input image x are F DF =F DF1 +F DF2 +F DF2 +F DF4 ,The upsampling module includes upsampling layer and convolution layer.
[0089] Preferably, the upsampling module includes a 2x upsampling layer and a 3×3 convolutional layer.
[0090] Step 3.7: Based on the first image feature F DF1 , the eighth image feature F DF2 、The ninth image feature F DF3 and the tenth image feature F DF4 The shallow and deep characteristics of the composition are used to obtain the final non-uniformity correction result.
[0091] Specifically, the first image feature FDF1 , the eighth image feature F DF2 、The ninth image feature F DF3 and the tenth image feature F DF4 The shallow and deep features are reconstructed through the convolution layer to obtain the final non-uniformity correction result. That is:
[0092] I CI =f REC (F DF )
[0093] In this embodiment, a training method for a multi-scale STL-SRU residual network is also provided, and the training method for the multi-scale STL-SRU residual network includes:
[0094] S1. Obtain a data set, which includes multiple noisy images.
[0095] A multi-scale STL-SRU residual network is constructed, where the parameter set that needs to be learned by the multi-scale STL-SRU residual network is θ.
[0096] A non-uniformity noise data-clean infrared image paired dataset is generated using the non-uniformity noise model disclosed in the literature “Z. He, Y. Cao, Y. Dong, Single-image-based nonuniformity correction of uncooled long-wave infrared detectors: A deep-learning approach, Appl. Opt. 57(18)(2018)155–164.”
[0097] S2. Randomly add Gaussian noise to each noise image to obtain a Gaussian noise image.
[0098] S3. Use the Gaussian noise image to train the multi-scale STL-SRU residual network to obtain the trained parameter set Θ, so as to finally obtain the trained multi-scale STL-SRU residual network.
[0099] Specifically, the loss function of the multi-scale STL-SRU residual network is:
[0100]
[0101] Among them, λ1 is 0.4, I CI is the noise image in the dataset, I HI is a clean image in the data set (i.e., a noise-free image), ε is a constant whose value can be 1e-3, and SSIM is the structural similarity.
[0102] Therefore, for any non-uniform noise image, it is input into the trained multi-scale STL-SRU residual network, and the learned parameter set Θ is applied to extract the feature representation as the final non-uniformity correction result.
[0103] The infrared non-uniformity correction method based on the multi-scale STL-SRU residual network of the present invention mainly completes the non-uniform noise correction of infrared images and can be used in any technical field related to infrared imaging, such as infrared security monitoring and human infrared temperature measurement.
[0104] The calibrated infrared non-uniformity correction method based on the multi-scale STL-SRU residual network of the present invention reduces the detail and contrast loss of the corrected image on the basis of removing the non-uniform noise.
[0105] In the description of the invention, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0106] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristic data points described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristic data points described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification.
[0107] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.
Claims
1. A calibration infrared non-uniformity correction method based on multi-scale STL-SRU residual network, It is characterized in that The calibration infrared non-uniformity correction method comprises: Step 1: acquiring a first temperature image and a second temperature image of a black body at a first temperature and a second temperature, wherein the first temperature is lower than the second temperature; Step 2: Correct the target scene image using the first temperature image and the second temperature image to obtain a pre-processed corrected image; Step 3: Input the pre-processed corrected image into the trained multi-scale STL-SRU residual network to extract deep feature representation, and use the extracted feature representation as the final non-uniformity correction result. The step 3 comprises: Step 3.1: Use the convolutional layer to extract features from the preprocessed corrected image to obtain the shallow feature F 0 ; Step 3.2: The shallow feature F of the first path 0 After the first SRU module and the first deep feature extraction module f DF1 Perform image feature extraction to obtain the first image feature F DF1 , the shallow feature F of the second path 0 The second image feature F is obtained through the downsampling module DSF1 ; Step 3.3: The second image feature F of the first path DSF1 After the second SRU module and the second deep feature extraction module f DF2 Perform image feature extraction to obtain the third image feature F DF2’ , the second image feature F DSF1 The fourth image feature F is obtained through the downsampling module DSF2 ; Step 3.4: The fourth image feature F of the first path DSF2 After passing through the third SRU module and the third deep feature extraction module f DF3 Perform image feature extraction to obtain the fifth image feature F DF3’ , the fourth image feature F of the second path DSF2 The sixth image feature F is obtained through the downsampling module DSF3 ; Step 3.5: the sixth image feature F DSF3 The fifth image feature F is extracted through the fourth SRU module DSF3 The shallow features of the seventh image feature F DF4’ ; Step 3.6: For the third image feature F DF2’ , the fifth image feature F DF3’ and the seventh image feature F DF4’ The image feature size is restored, and the eighth image feature F is obtained. DF2 、The ninth image feature F DF3 and the tenth image feature F DF4 ; Step 3.7: Based on the first image feature F DF1 , the eighth image feature F DF2 , the ninth image feature F DF3 and the tenth image feature F DF4 The shallow and deep features of the composition are used to obtain the final non-uniformity correction result. The first deep feature extraction module f DF1 It includes 3 STLB modules, 1 convolutional layer and residual structure. The second deep feature extraction module f DF2 and the third deep feature extraction module f DF3 Both include 1 STLB module, 1 third convolutional layer and residual structure. Each of the STLB modules includes 3 STL layers, a convolutional layer and a residual structure, each of the STL layers includes 2 LayerNorm layers, 1 multi-head self-attention module, 1 multi-layer perceptron and 2 residual structures, and each of the multi-layer perceptrons includes 2 fully connected layers and a GELU activation function.
2. The calibration infrared non-uniformity correction method according to claim 1, It is characterized in that The step 2 comprises: Based on the first temperature image and the second temperature image, the target scene image is corrected using a two-point correction method to obtain the preprocessed corrected image.
3. The calibration infrared non-uniformity correction method according to claim 1, It is characterized in that The downsampling module includes a downsampling layer and a convolution layer.
4. The calibration infrared non-uniformity correction method according to claim 1, It is characterized in that The step 3.6 includes: The third image feature F DF2’ , the fifth image feature F DF3’ and the seventh image feature F DF4’ The image feature size is restored through the upsampling module, and the eighth image feature F is obtained accordingly. DF2 、The ninth image feature F DF3 and the tenth image feature F DF4 , the upsampling module includes an upsampling layer and a convolution layer.
5. The calibration infrared non-uniformity correction method according to claim 1, It is characterized in that The step 3.7 comprises: The first image feature F DF1 , the eighth image feature F DF2 , the ninth image feature F DF3 and the tenth image feature F DF4 The composed shallow and deep features are reconstructed through the convolution layer to obtain the final non-uniformity correction result.
6. The calibration infrared non-uniformity correction method according to claim 1, It is characterized in that The training method of the multi-scale STL-SRU residual network includes: Acquire a data set, wherein the data set includes a plurality of noisy images; Randomly adding Gaussian noise to each of the noise images to obtain a Gaussian noise image; The multi-scale STL-SRU residual network is trained using the Gaussian noise image to obtain a trained multi-scale STL-SRU residual network.
