Next Article in Journal
A New Pseudolinear Filter for Bearings-Only Tracking without Requirement of Bias Compensation
Previous Article in Journal
Predicting Fatigue in Long Duration Mountain Events with a Single Sensor and Deep Learning Model
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Thermal Image Restoration Based on LWIR Sensor Statistics

1
Samsung Electronics, Suwon-si 16677, Gyeonggi-do, Korea
2
School of Electrical and Electronic Engineering, Yonsei University, Seoul 03722, Korea
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(16), 5443; https://doi.org/10.3390/s21165443
Submission received: 8 June 2021 / Revised: 31 July 2021 / Accepted: 2 August 2021 / Published: 12 August 2021
(This article belongs to the Section Sensing and Imaging)

Abstract

:
An imaging system has natural statistics that reflect its intrinsic characteristics. For example, the gradient histogram of a visible light image generally obeys a heavy-tailed distribution, and its restoration considers natural statistics. Thermal imaging cameras detect infrared radiation, and their signal processors are specialized according to the optical and sensor systems. Thermal images, also known as long wavelength infrared (LWIR) images, suffer from distinct degradations of LWIR sensors and residual nonuniformity (RNU). However, despite the existence of various studies on the statistics of thermal images, thermal image processing has seldom attempted to incorporate natural statistics. In this study, natural statistics of thermal imaging sensors are derived, and an optimization method for restoring thermal images is proposed. To verify our hypothesis about the thermal images, high-frequency components of thermal images from various datasets are analyzed with various measures (correlation coefficient, histogram intersection, chi-squared test, Bhattacharyya distance, and Kullback–Leibler divergence), and generalized properties are derived. Furthermore, cost functions accommodating the validated natural statistics are designed and minimized by a pixel-wise optimization method. The proposed algorithm has a specialized structure for thermal images and outperforms the conventional methods. Several image quality assessments are employed for quantitatively demonstrating the performance of the proposed method. Experiments with synthesized images and real-world images are conducted, and the results are quantified by reference image assessments (peak signal-to-noise ratio and structural similarity index measure) and no-reference image assessments (Roughness (Ro) and Effective Roughness (ERo) indices).

1. Introduction

Thermal imaging is being extensively used owing to the ongoing global pandemic of coronavirus disease 2019 (COVID-19). Fever is one of the prominent symptoms of COVID-19, and people infected by the virus are detected efficiently by LWIR thermal cameras (also known as microbolometer cameras). Infrared (IR) thermography converts radiation in the LWIR bands to thermal images (commonly referred to as thermograms), and allows for the detection of temperature variations. Visualization of thermal information benefits the recognition of the surroundings in some cases (e.g., low-light conditions or dark areas) because thermal imaging tends to provide more meaningful information in urban environments with huge thermal variations [1]. Therefore, LWIR imagers have been extensively used in medical, military, and security applications, As well as commercial applications, such as remote sensing [2,3], medical imaging [4], advanced driver-assistance systems [5], and face recognition [6,7,8].
Continuing advances in IR imaging have resulted in inexpensive, portable IR cameras, shutterless operations, and both cooled and uncooled, which can provide high-resolution thermograms [9]. Despite the advances and increasing demand for thermograms, thermal imagers still suffer from certain problems when measuring the thermal distribution within the field of view. Microbolometers are sensitive to the radiation emitted by objects in the scene, and the background radiation reflected by the objects in the scene, and the background radiation reflected by these objects. The relationship between the irradiation collected at the sensor and the temperatures of the imaged materials is nontrivial. For example, the material and surface properties of an object alter its emissivity. Similarly, the reflective properties of an object will vary the amount of background radiation reflected by the object and subsequently collected by the thermal imaging sensor. This variability can lead to errors in the measurement of an object’s temperature.
Additionally, the LWIR imaging sensor suffers from image degradation caused by its intrinsic limitations. First, a typical LWIR camera has a problem of severe noise in the framework without cooling systems. In general, LWIR cameras with cooling systems provide high-quality thermograms; however, applications that use handheld devices require minimized LWIR cameras [9]. Most LWIR imagers employ uncooled systems because of their size, weight, power, and price. A thermal camera without the cooler is usually referred to as a microbolometer. Second, residual non-uniformity (RNU, also known as fixed pattern noise (FPN)) is another degradation of the LWIR imaging sensor without a mechanical shutter. Typical LWIR cameras employ a shutterless imaging system that allows sensors to operate continually without the need for the mechanical shutter for NUC. The shutterless operation prevents external interruption yielding recalibration, and the changing thermal distributions can be treated based on the temperature measurements of the camera [10]. However, shutterless operations refer to the absence of a reference LWIR image typically used to cancel the non-uniformity, and RNU are observed owing to the low performance of the NUC [11].
Various conventional methods have been proposed to reduce the distortions of thermal imaging sensor [12,13,14]. These traditional methods considered adjacent pixels or referred data sequences to reduce the RNU. However, the characteristics or statistics of thermal images have seldom been employed to regulate thermal image processors, even if the statistics of LWIR images have been studied for a decade. Morris et al. [1] found that the power spectrum of a thermal image is predicted by the generalized Laplace distribution and suggested ranges of the parameter of the Laplace distribution. Goodall et al. [15] studied distortions unique to LWIR images, and found statistical models for measuring the degree of presetting non-uniformity in thermal images. Moreno-Villamarín et al. [16] analyzed common image distortions, such as blur, white noise, JPEG compression, and non-uniformity, in fused LWIR and visible light images, and proposed an opinion-aware fused image quality analyzer. Pezoa and Medina [11] proposed a model for RNU (or non-uniformity) present in IR focal plane arrays (FPAs) in the frequency domain (note that the RNU in the thermal imaging sensor is usually observed as a grid-like pattern and is different from those of complementary metal-oxide semiconductor (CMOS) sensors). In particular, the statistical regularities of LWIR [16] or fused visible-LWIR images [15] were derived based on natural scene statistics (NSS) of the visible light images, but the characteristics were not incorporated as prior information to solve optimization problems of thermal imaging.
The thermal image processing algorithm can consider the prior knowledge, which is about the properties of LWIR images. Usually, the image restoration algorithm that considers visible light images attempts to incorporate the characteristics of the images, and the natural image statistics are usually derived from the distribution of gradients. For example, a mixture of the Gaussian approximation [17] and hyper-Laplacian [18] priors is derived from the heavy-tailed distribution of gradients in natural scenes and is incorporated as a regularization strategy. Although the relationship between the statistics and qualities of visible light images has been extensively studied, limited work has been conducted on the restoration of thermal images based on considerations of their own statistical characteristics. Our observation of LWIR images indicates that restoration of an LWIR image requires the inherent characteristics of the image. The spectral band of LWIR is characterized by wavelengths in the range of 8 to 14  μ m and possesses its own statistics in the FPA. The difference between the gradients of visible light and LWIR images is shown in Figure 1 (note that we analyzed five datasets marked as MORRIS [1], KRISTO [19], ADAS [5], OSU1 [20], and OSU2 [21]). LWIR and visible light images have different mean-subtracted contrast normalized (MSCN) coefficients and gradient statistics even if they share a comparable field of view.
The experiments reported herein, present the properties of LWIR images without considering the LWIR imager’s optical or electronical characteristics. Therefore, we have tried to derive an intrinsic property using various datasets. A brief description of datasets follows. Dataset Morris [1] contains about 450 scenes with 350 outdoor and 100 indoor scenes. Each scene consists of a pair of images (visible light and LWIR image). Dataset Kristo [19] contains 180 scenes with 80 outdoor and 100 indoor scenes. Each scene also consists of a pair of images (visible light and LWIR image). Dataset ADAS [5] contains 14,452 annotated thermal images with 10,228 images sampled from short videos and 4224 images from a continuous 144-s video. All videos were taken on the streets and highways in Santa Barbara, California, USA from November to May. Dataset OSU [20] contains about 500 scenes obtained by surveillance cameras and each scene consists of a single LWIR image. Dataset OSU2 [21] contains about 10,000 scenes obtained by surveillance cameras and each scene consists of a pair of visible light and LWIR images. Finally, dataset SRIP contains 20 scenes, and each scene consists of a pair of visible light and LWIR images.
This paper is organized as follows: in Section 2, we derive a property of LWIR images using the aforementioned datasets. In Section 3, we propose an optimization strategy that incorporates our hypothetical property. In Section 4, the results of our optimization method are compared with those of the conventional methods. Finally, Section 5 concludes this study.

2. Related Work

2.1. Background

An underlying latent image is usually estimated under the assumption that the degradation is linear, and the degraded image can be restored by convex optimization. The degradation model of a thermal imaging camera is explained by a linear system, and the procedure is mathematically represented by a linear equation:
y = Hx + n ,
where y is an observed LWIR image, H is the system matrix of degradation, x is the clear latent image, and n is the corresponding error. When considering noise, the system matrix is considered to be an identity matrix I . In general, optical problems due to defocus aberration or atmospheric turbulence can be solved by an inverse operation of the system matrix but directly solving Equation (1) usually yields an unacceptable result.
The unacceptable result of the inverse matrix is caused by uncertainties. Therefore, the ill-posed problem is solved by using an iterative method. Many applications, such as medical imaging, surveillance, astronomy, and remote sensing, have adopted the iterative method based on convex optimization to reduce the uncertainty. Typically, a convex optimization problem to restore the degraded image is achieved by minimizing the following cost function as bellow:
F ( x ) = y Hx 2 2 + Γ ( x ) ,
where the two terms indicate the data fidelity and regularization term, respectively. to constrain the feasible solution set, various regularization schemes have been deployed by the regularization term [22]. Therefore, in the case of optimization for the LWIR images, a regularization strategy related to the thermal images should be employed to obtain the steady-state solution.

2.2. Basic Concepts

An appropriately regularized cost function incorporates information regarding the restored images a priori defined as acceptable solutions and computationally stabilizes the solution of the under-constrained inverse problem [23]. As considerable work has been conducted to identify an efficient regularization strategy capable of the gradient distribution of the visible light images, an efficient image prior model, in which the intrinsic properties of LWIR images, needs to be constructed to recover the latent image. Therefore, we propose an optimization method incorporating the property of LWIR images derived from our observations on the datasets [1,5,19,20,21]. Our analysis of the LWIR images also departs from the gradient information. As in Figure 2, we estimate the gradient distribution of individual thermograms and attempt to demonstrate the correlation between the observed gradient distribution and the estimated distribution. All the histograms demonstrating the gradient distribution are visualized based on the kernels [ 1 , 1 ] , [ 1 , 1 ] T yielding the output range [−510, 510] with 8-bit images.
Throughout our experiment for deriving natural statistics, the gradient distribution of individual LWIR images can be approximated by the following equation:
h x ( n ) N 2 | x | N exp ( | n | | x | N ) ,
where h x indicates a histogram demonstrating the gradient distribution of a thermogram x , and N denotes the number of pixels in the thermogram. Note that a random variable Z has a Laplace distribution if its probability density function (PDF) is as follows:
Z 1 2 b exp ( | z ν | b ) : = L a p l a c e ( z | ν , b ) ,
where ν is the mean, and b > 0 is a scaling parameter. By using this abbreviation of the Laplace distribution, our observation can be hypothesized as below:
h x ( n ) N L a p l a c e ( x n | 0 , | x | N ) ,
which is a probability mass function of a zero mean Laplace distribution with a scaling parameter b = | x | N . Additionally, to support our hypothesis formulated by Equation (5), five measures were utilized to show how the estimated distribution is different from the observed distribution, As summarized in Table 1. (For more detailed information about the measures, refer to [24,25].) The empirical scores for each measure are shown in Figure 2, and the average of their scores are presented in Table 2. As seen in Figure 2, the gradient distributions do not always satisfy Equation (5). Images with the severe pattern of RNU or saturation sometimes do not obey our hypothesis. For example, the dataset OSU often shows a saw pattern shape of the gradient distribution. Thermal images with saturated regions also record relatively low scores. Despite these perturbations, most of the thermograms can be considered as following our hypothesis.
The gradient distribution (or marginals) is assumed to be the Laplace distribution that allows image restoration algorithms to deploy total variation (TV) regularization [18]. The assumption of Laplace-distributed gradients in visible light images inspires a number of L 1 -norm or TV-norm-based methods at the beginning [26], but recent work has focused on L p -norm-based ( 0 < p < 1 ) methods capable of achieving heavy-tailed distribution [17,18] or nonconvex cost functions [27]. However, TV-regularization is a meaningful regularization strategy, and suitable for thermograms in accordance with our hypothesis of Equation (5). Therefore, the TV-regularized cost function for restoring LWIR images can be expressed as below:
F ( x ) = y Hx 2 2 + λ x ,
where λ is a regularization parameter, and ∇ denotes the first derivative operator.
Moreover, the Laplace distribution hypothesis of LWIR images enables additional studies. The regularization term in Equation (6) can incorporate additional prior knowledge derived from the statistical properties of the Laplace distribution. The mean and variance of the derivative signal x are important clues that can be inferred from our hypothesis. First, the mean of x is intuitively obtained owing to the symmetricity of the Laplace distribution:
E [ x ] = μ x = 0 .
Second, the variance of x is also obtained by referring to the properties of the Laplacian PDF as indicated below:
V a r [ x ] = 2 ( | x | N ) 2 .
Finally, another representation for the variance of the PDF whose mean is zero can be applied to our derivation based on Equation (7) as follows:
V a r [ x ] = | | x μ x | | 2 2 N = | | x | | 2 2 N ,
where μ x is a vector whose components are μ x , i.e.,  0 . The properties of Equations (7) and (9) originate from the symmetricity, and Equation (8) comes from the exponentiality of the Laplace-distributed gradient distribution.
The cost function that accommodates our hypothesis about the Laplace-distributed gradient histogram can be derived by integrating the properties of symmetry (or zero mean) and exponentiality. The properties obtained by integrating Equations (8) and (9) are as follows:
| x | = N 2 | | x | | 2 ,
which means the relationship between anisotropic TV ( | x | ) and isotropic TV( x 2 ) in thermal imaging. Finally, the regularization term in Equation (6) can be substituted by Equation (10), and the cost function suitable for the LWIR image is proposed as below:
F ( x ) = y Hx 2 2 + λ ˜ x 2 ,
where λ ˜ is a re-scaled regularization parameter. Quantifying the isotropic functional like TV on grid Z 2 (which is not isotropic) is difficult, and anisotropic TV yields larger TV values owing to the metrication artifacts [28]. The LWIR image optimization takes advantage of isotropic TV which has more proper definition of discrete TV based on Equation (10).
In the next section, an advanced hypothesis based on patc-level analysis is derived by developing Equation (5), and a refined cost function incorporating patch-based gradient statistics is proposed. Finally, we propose an optimization method that minimizes the cost function by employing isotropic TV regularization.

3. Proposed Method

In this section, the gradient distributions are further expanded and applied to image optimization problems. The Laplace distribution can also describe not the gradient but the high-frequency contents of thermal images. We observe that the natural statistics of the thermal images are locally satisfied by performing a patch-level analysis. Henceforth, we propose an optimization method that employs observed patch-level natural statistics. The localized properties corresponding to Equations (7)–(9) are also derived and considered a regularization strategy. Note that the proposed optimization method inherits the framework of coordinate-wise optimization from our previous work [22] to accommodate local priors.

3.1. Natural Statistics of Thermal Images

In the restoration of visible images, the gradient statistics are mainly recognized as prior knowledge as in [17,29,30]. However, in the studies [15,16] of thermal images, researchers tried to explain the characteristics of thermal images by using the MSCN coefficients. Therefore, we also have conducted an experiment to estimate the histogram of features obtained using the MSCN coefficients. Figure 3 demonstrates the histogram estimation process of the MSCN coefficients in thermal images. Additionally, histograms of signals filtered with the first and second derivatives are also visualized with a log scale for a clearer comparison. The MSCN coefficients and the high frequencies filtered by the second derivative show similar distributions to the gradient distribution, and their histograms can also be estimated using the Laplace distribution. Table 3 demonstrates the mean of the scores obtained by the five measures from the 50 images in Figure 2. The scores of the three operators can be considered highly correlated with each other.
Finally, the natural statistics of thermal images can be derived from the results presented in Table 3. Our hypothesis indicates that the high-frequency components of the thermal image have a Laplace distribution. The first and second derivative operators, which can be utilized for the computation of image gradients, can be considered to filter out high frequencies. The MSCN coefficients can also be considered as an adaptive band-pass filter with a high-frequency band. Linear operators or adaptive filters that extract the details of the thermal image could be utilized to verify our hypothesis. For example, the image gradients filtered by the Sobel operator also obey the Laplace distribution.

3.2. Patch-Based Statistics

A further analysis is continued from the previous section in which the hypothesis is derived from the entire LWIR image. We have conducted an experiment based on patches that are randomly sampled from the LWIR images and observed that our hypothesis of Equation (5) is valid for image patches. A number of image patches were analyzed using the same approach as demonstrated in Figure 4; each gradient distribution was obtained by considering the information of individual patches. In addition to the first derivative, the second derivative (i.e., Laplacian operator) also used to derive the high-frequency components to verify our hypothesis. Therefore, Equation (5) can be rewritten by considering our patch-level experiment in Figure 4 as below:
h t P i ( x ) ( n ) l 2 L a p l a c e ( x n | 0 , | t P i ( x ) | l 2 ) ,
where t = 1 , 2 used as a derivative index, P i ( x ) indicates a patch of an LWIR image x with a center pixel i, and l × l indicates the pixel size. As a result, following properties can also be derived from image patches. First, the properties of the symmetric distribution are As follows:
< 1 , t P i ( x ) > = 0 ,
and the property derived from the variance is written as follows:
| t P i ( x ) | = N i 2 t P i ( x ) 2 ,
where N i is the number of pixels in a single patch with a center pixel i. These properties are considered as local priors and incorporated into our optimization method as a regularization strategy.
In our experiments, Equation (12) does not hold in all image patches as shown in Figure 4. Thus, an experiment has been conducted to investigate the validity of Equation (12). As seen in Figure 5, gradient distributions have been analyzed with respect to the patch size, and we have observed that the degree of the validity increases as the patch size increases. The scores of correlation coefficient, histogram intersection, and Bhattacharyya coefficient converge to the value of one, and the scores of the Chi-squared test and Kullback–Leibler divergence converge to zero as the number of pixels in a patch increases (note that the Bhattacharyya coefficient was utilized instead of the Bhattacharyya distance due to the absence of definition ln 0 ). We have tried to deduce the optimal patch size analyzing the interquartile range (IQR) and standard deviation of the measures. With the patch size being varied, 4000 patches were randomly sampled from the datasets, and the IQR and standard deviation were calculated at each size as demonstrated in Figure 6. The blue boxes show the IQR ( = Q 3 Q 1 ); the top line of the box shows the 75th percentile ( Q 3 ), the bottom line shows the 25th percentile ( Q 1 ), and the center line shows the 50th percentile, i.e., the median ( Q 2 ). Based on this patch size analysis, 21 × 21 is determined as the optimal patch size where the IQRs of the Bhattacharyya coefficient and Kullback–Leibler divergence decrease by less than 10% compared with the previous patch size (note that these two measures estimate precisely the similarities of the histograms).
Finally, considering from the hypothesis to the cost function in the previous section, a single patch can possess its own gradient distribution, and the corresponding cost function is derived in the same manner. A “small” cost function constructed by a single patch is represented as follows:
f i ( x ) = P i ( y Hx ) 2 2 + λ ˜ t P i ( x ) 2 ,
where f i denotes a cost function considering the i-th patch, and λ ˜ denotes the regularization parameter. The cost function in Equation (11) will be minimized by the successive minimization of these “small” cost functions in the next section.

3.3. Pixel-Wise Optimization

The hypotheses corresponding to each patch can be effectively employed by the adaptive iterative algorithm because the adaptive process considers the spatially varying local characteristics. to consider local priors, we have extended our previous work [22] to incorporate the hypotheses in the middle of minimizing the cost functions. In other words, we propose an optimization method based on the coordinate descent method, which is closely related to the adaptive process. The proposed method focuses on the coordinate-wise (or pixel-wise) image restoration in which a single pixel is updated by its own subproblem. The cost function of Equation (11) will be addressed to derive the subproblems of minimizing Equation (15), and each pixel is restored by solving the corresponding subproblem.
Typically, iterative algorithms are attractive for image restoration because they allow for the incorporation of prior knowledge and are fairly robust with respect to errors in the approximation of image degradations [31]. The proposed regularized optimization for the LWIR images departs from minimizing the cost function of Equation (11). The steady-state solution of our optimization problem is estimated by an iterative algorithm. Our update strategy is based on the coordinate-wise optimization and is represented as follows:
x ( k + 1 ) = x ( k ) + ε · e k mod N ,
where N is the number of LWIR images, e i denotes the standard basis, whose i-th component is one and the others are zero, mod denotes the modulo operation, and ε is an additive scalar to be added to the ( k mod N ) -th pixel.
The update strategy of Equation (16), in which a single pixel is updated in a single iteration, can be regarded as a projection onto a hyperplane [32]. The projection onto the hyperplane containing adjacent pixels allows the multivariable problem to be converted to a series of single-variable problems. The coordinate-wise optimization for updating each pixel in the LWIR image is derived as follows:
min F ( x ( k + 1 ) ) = min ε F ( x ( k ) + ε · e k mod N ) = min ε f ( k mod N ) ( ε ) ,
where F denotes the multivariable cost function of Equation (11) and f denotes a simplified cost function of Equation (15) based on which the ( k mod N ) -th pixel is restored. This coordinate-wise and iterative algorithm progresses based on a sequence of scalar optimizations, i.e., at each iteration, a subproblem is derived and solved to calculate the additive scalar.
A subproblem of the isotropic TV-regularized cost function can be derived from Equation (15) with t = 2 based on its projection onto a certain hyperplane. The derivation of the isotropic TV-regularized subproblems and the general form of the subproblems can be represented as below:
F ( x ( k ) + ε · e τ ) = y H ( x ( k ) + ε · e τ ) 2 2 + λ ˜ t ( x ( k ) + ε · e τ ) 2 = D 2 · ε 2 2 D 1 · ε + D 0 + λ ˜ R 2 · ε 2 2 R 1 · ε + R 0 = d ( ε ) + λ ˜ · r ( ε ) = f τ ( ε ) ,
where τ is a substitution of ( k mod N ) for the coordinates calculated from the number of pixel updates. The subproblems can be divided into two parts: the quadratic equation from the data fidelity term, d ( ε ) , and the irrational equation from the isotropic TV regularization term, r ( ε ) . The coefficients D m s of the data fidelity function are obtained by considering the neighborhood of the updated pixel as follows:
D 1 = u , v = l l h ( u , v ) y ( u , v ) u , v = l l h ( u , v ) x ( i u , j v ) k , D 2 = u , v = l l h ( u , v ) 2 ,
where ( i , j ) denotes the coordinate of the updated pixel, and the R m s of the regularization function with t = 1 are obtained as follows:
R 0 = m , n = l l ( x ) ( i + m , j + n ) 2 , R 1 = 3 x ( i , j ) x ( i 1 , j ) x ( i + 1 , j ) x ( i , j 1 ) x ( i , j + 1 ) + 1 2 x ( i , j ) + 1 2 x ( i , j ) , R 2 = 1.5 ,
where ( x ) ( i , j ) denotes the ( i , j ) -th component of x ( k ) . In the case of the second derivative, the coefficients of the regularization function are as below:
R 0 = m , n = l l ( 2 x ) ( i + m , j + n ) 2 , R 1 = 3 2 ( x ( i 1 , j ) + x ( i + 1 , j ) + x ( i , j 1 ) + x ( i , j + 1 ) ) ( x ( i 1 , j 1 ) + x ( i 1 , j + 1 ) + x ( i + 1 , j + 1 ) + x ( i + 1 , j 1 ) ) 1 2 ( x ( i 2 , j ) + x ( i + 2 , j ) + x ( i , j + 2 ) + x ( i , j 2 ) ) , R 2 = 1.25 .
As in our previous work [22], the cost function of Equation (15) can be minimized by solving a series of subproblems demonstrated in Equation (18). The subproblem derived from the proposed regularized cost function can also be regarded as a one-dimensional regularized function, and the simplified version of a single variable function can be solved easily. Each pixel possesses its own subproblem, and the subproblems are solved by considering the algebraic characteristics. The version of the isotropic TV-regularized subproblem is described in Figure 7. We have observed that the final solution (blue rectangle) of the subproblem minimization is always located between the critical point of the data fidelity function (black rectangle) and of the regularization function (red rectangle). This characteristic can be verified using the mean value theorem. to minimize the function of Equation (18), several points between the vertices of the data fidelity and the regularization function are investigated; nine points placed at equal intervals in the range of [ D 1 D 2 , R 1 R 2 ] in our implementation. The final solution is substituted with the point of the minimum function value. The sequence of the pixel-wise optimizations can be varied with several sampling strategies, and the sequences are randomly constructed based on permutations as in [22]. Finally, our pixel-wise update strategy is represented as below:
x ( k + 1 ) = x ( k ) + ε · e σ ( k mod N ) ,
where σ ( · ) denotes a random permutation of size N, and ε minimizes the function of Equation (18). The proposed optimization strategy is demonstrated in Algorithm 1.
Algorithm 1 Minimization of Equation (11)
Input: 
Observed LWIR image y ; iteratively estimated LWIR images x ( k ) ; system matrix H ; regularization parameter λ as a constant; image size N; random permutations σ of size N; Threshold Th(=0.07 * MAX Intensity).
Output: Estimated intrinsic LWIR image x ^
  Initialization: x ( 0 ) = y
  LOOP Process
1:
for k = 0 to T do
2:
if k mod N = = 0  then
3:
   σ ( · ) g e n e r a t e P e r m u t a t i o n ( · )
4:
end if
5:
ε p i x e l w i s e O p t ( y , H , x ( k ) , σ ( k mod N ) )
6:
x ( k + 1 ) x ( k ) + ε · e σ ( k mod N )
7:
if  F ( x ( k ) ) F ( x ( k N ) ) < T h   then
8:
  break;
9:
end if
10:
end for
11:
return  x ^ = x ( k )

4. Results and Discussion

Several experiments have been conducted to quantify the effectiveness of our hypothesis and the optimization method. In general, the linear image-observation model of Equation (1) attempts to explain various degradation problems. In this study, the proposed optimization method is applied to denoising ( H = I ) and deconvolution, and thermal images are restored by incorporating natural statistics as the regularization strategies.

4.1. Measurements

The experiments reported herein, have tried to demonstrate restoration results from real-world LWIR images. In addition, some experiments have demonstrated the results of simulations quantifying the performance of LWIR restoration algorithms with the use of synthesized LWIR images. The pristine LWIR images have been contaminated with certain distortion as in [15], and the pristine images and noise for the simulations are represented in Figure 8. The pristine LWIR images are synthesized with RNU, and restored by the conventional and proposed algorithms. The results of these simulations are clearly demonstrated by image quality assessments, such as the peak signal-to-noise ratio (PSNR), and structural similarity index measure (SSIM) [33]. Moreover, we have utilized image quality assessments, the Roughness (Ro) [34] index and the Effective Roughness (ERo) [35] index, for real-world LWIR images that have no reference images to be compared to. In general, the no-reference assessments, Ro and ERo, are frequently used to quantify the performance of thermal image processing algorithms.
To quantify the performance of restoration algorithms for thermal images, the RNU proposed in [36] has been employed to our experiments. The RNU are frequently observed as grid-like patterns and differ from the additive white Gaussian noise (AWGN). The noise model that considers the thermal image can be represented in the frequency domain as below:
| I ˜ ( u , v ) | = B u e x p ( ( u u 0 ) 2 2 σ u 2 ) + B v e x p ( ( v v 0 ) 2 2 σ v 2 ) , I ˜ ( u , v ) U [ π , π ] ,
where u 0 , B u , and σ u (correspondingly, v 0 , B v , and σ v ) are the location, the amplitude, and the scale of the horizontal band (correspondingly, vertical), and U denotes the uniform distribution. In our experiments, the severity of RNU has been controlled by manipulating B u , B v , σ u , and σ v .

4.2. Regularization Strategy for Thermal Images

The proposed natural statistics of the thermal image are clarified using Equations (10) and (14). The regularization strategy for images obeying the Laplace distribution is suggested as the anisotropic TV, and thermal images is verified to obey the Laplace distribution in our experiments. Moreover, the properties of Equations (7) and (8) yield the isotropic TV rather than the anisotropic TV for the various LWIR datasets. In our previous work [22], the cost function regularized by the anisotropic TV was minimized by the general solution for each pixel-wise optimization process, but the proposed method minimizes the isotropic TV-regularized cost function by sweeping the certain range (refer to Figure 7). To explicitly propose a proper regularizer for thermal images, we have conducted an experiment based on the use of the pristine images as the reference images. Furthermore, the pristine images and the condition of noise in Figure 8 have been employed. The synthesized images have been restored under three conditions: RNU of ( B u , B v , σ u , σ v ) = (20, 20, 25, 25).
To demonstrate the natural statistics clearly, we have established several regularized cost functions. Each cost function is characterized by its regularization function. The regularization strategies for the LWIR image can be derived from both sides of Equation (10). The first regularization function, which is often called anisotropic TV, is expressed as below:
Γ a n i s o ( x ) = | x | ,
and the second regularization function, which is often called isotropic TV, is as below:
Γ i s o ( x ) = | | x | | 2 .
The regularization strategies with TV [26,28] are often used for noise reduction. Additionally, two regularization functions, derived from both sides of Equation (10), are added to our list by employing the second derivatives. The second derivative is often called the Laplacian operator, and the regularization function with the L1-norm is marked with “L1Lap”, and as below:
Γ L 1 L a p ( x ) = | 2 x | .
Correspondingly, the regularization function of the Laplacian operator with the L2-norm is marked with “L2Lap”, and is as below:
Γ L 2 L a p ( x ) = | | 2 x | | 2 .
Note that in the case of the thermal image, the regularization functions of Equations (24) and (26) can be substituted with Equations (25) and (27), respectively.
To propose an optimal regularization strategy for thermal images, LWIR images have been restored with the four regularizers. The suggested regularization strategies can be categorized into two groups: regularization using the L 1 -norm (Equations (24) and (26)) and L 2 -norm (Equations (25) and (27)). Table 4 demonstrates the noise immunity of the four regularization strategies. Figure 9 visualizes the results of the four regularization strategies. The second group that incorporating suggested thermal image statistics outperforms the others both qualitatively and quantitatively. The results of the first group still demonstrate remaining noise after restoration. However, the second group reduces RNU effectively. Especially, isotropic TV outperforms the others in both flat and edge regions. Therefore, Equation (25) is proposed as an optimal regularizer for noise reduction in thermal images.

4.3. Final Results and Discussion: Denoising

In the final results, as mentioned above, the proposed method reduces noise using the optimal regularization strategy, i.e., isotropic TV. Several conventional methods have been compared with the proposed method, and both the synthesized images and real-world images have been restored to quantitatively demonstrate the results. We attempted to find algorithms that had been implemented for thermal images, but conventional methods for thermal imaging seldom exist. Typical degradation problems of thermal images are explained as RNU (or FPN). The condition of RNU is different from AWGN and device-dependent, but most of denoising algorithms are implemented for removing AWGN from the visible light images. Therefore, we tried to appropriately quantify our method by comparing with the widely known conventional methods to objectively demonstrate the results.
The list of the conventional algorithms consists of BM3D [37], split Bregman method [38], Ochs et al. [39], and TWSC [40]. BM3D [37] represents the methods based on block matching in which image patches are grouped together based on similarity. The split Bregman method, representing the TV-regularized optimization methods, employs primal and dual variables, and projection onto the feasible set. Ochs et al. represents optimization method incorporating non-smooth and non-convex cost functions. TWSC is a method based on sparse coding. The parameters in their algorithms were suitably set to generate the best possible results. The grid-like patterns of RNU were sometimes recognized as not the noise but a part of high-frequency texture, and the patterns were enhanced by the restoration process. In this case, the results were selected from over-smoothed or pattern-enhanced results based on the scores of the measurements.
To quantify the final results, two experiments have been conducted: first with the synthesized images and reference image assessments, and second with the real-world images and no-reference image assessment. Table 5 demonstrates the results of the first experiment. In the case of RNU, which is inherent degradation of thermal imaging, ITV-based method outperforms the others. Real-world thermal images are restored in the second experiment. Figure 10 shows the restored images in detail. In the case of the severe RNU, the grid-like patterns have been recognized as detailed textures by some conventional methods, BM3D, Ochs et al., TWSC. However, the TV-based methods, including the proposed method, effectively remove severe RNU patterns. In this experiment, we can observe the difference of the results from both anisotropic and isotropic TV. The results of TWSC also shows the effective regularizer. The isotropic TV reduces noise in thermal image more effectively than anisotropic TV in both flat and edge regions. This tendency can be observed in Table 6 demonstrating the quantitative analysis of the noise removal algorithms. The ITV-based methods have recorded lower scores of Ro and ERo, and the proposed method shows lower scores in many datasets (note that Ro and ERo could not be regarded as imperative assessments, but they have been widely used to measure the quality of thermal images).

4.4. Application: Deconvolution

The natural statistics of the thermal images can also be employed for image deconvolution. In this case, the image observation model describes the degradation of linear blurring. For example, defocus aberration or atmospheric turbulence blur can be included in this problem. In this study, the SRIP dataset, which consists of real-world images, is restored based on the observed point spread function (PSF). To demonstrate degradation, line spread functions (LSFs) were obtained at each region within the field of view as demonstrated in Figure 11. Note that the PSF has been constructed based on the LSFs, and our PSF indicates the optical characteristics of our device. As in the denoising results, isotropic TV regularization can be regarded as a proper strategy for thermal image deconvolution. Figure 12 shows the thermal images restored by the two TV regularization strategies. Isotropic TV regularization generates clearer output images, and anisotropic TV regularization generates over-smoothed results.

5. Conclusions

LWIR sensors have their own optical and electrical characteristics, and some statistical properties have been studied for a decade. However, despite these studies, the characteristics of thermal images have seldom been incorporated into thermal image processing. In this study, a statistical property of thermal imaging sensors has been derived, and the generality of the property is verified with various datasets. Moreover, the cost function considering the natural statistics is also proposed. The gradient statistics explains thermogram from various LWIR sensors without considering the individual sensor characteristics. The regularization strategies consider the natural statistics, and the specialized pixel-wise optimization restores thermal images effectively. During the COVID-19 pandemic, we hope that the proposed method will contribute to the generation of high-quality thermal images.

Author Contributions

Conceptualization, J.H.; methodology, H.L.; software, J.H.; formal analysis, J.H. And H.L.; investigation, J.H.; writing—original draft preparation, J.H.; writing—review and editing, H.L.; visualization, H.L.; supervision, M.G.K.; project administration, M.G.K.; funding acquisition, M.G.K. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Research Foundation of Korea(NRF) grant funded by the Korea government(MSIT) (No. 2019R1A2C2002167).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Morris, N.J.W.; Avidan, S.; Matusik, W.; Pfister, H. Statistics of Infrared Images. In Proceedings of the 2007 IEEE Conference on Computer Vision and Pattern Recognition, Minneapolis, MN, USA, 17–22 June 2007; pp. 1–7. [Google Scholar]
  2. Liu, L.; Xu, L.; Fang, H. Simultaneous Intensity Bias Estimation and Stripe Noise Removal in Infrared Images Using the Global and Local Sparsity Constraints. IEEE Trans. Geosci. Remote Sens. 2020, 58, 1777–1789. [Google Scholar] [CrossRef]
  3. Zeng, Q.; Qin, H.; Yan, X.; Zhou, H. Fourier Spectrum Guidance for Stripe Noise Removal in Thermal Infrared Imagery. IEEE Geosci. Remote Sens. Lett. 2020, 17, 1072–1076. [Google Scholar] [CrossRef]
  4. Resmini, R.; Faria da Silva, L.; Medeiros, P.R.; Araujo, A.S.; Muchaluat-Saade, D.C.; Conci, A. A hybrid methodology for breast screening and cancer diagnosis using thermography. Comput. Biol. Med. 2021, 135, 104553. [Google Scholar] [CrossRef]
  5. Flir Thermal Dataset for Algorithm Training. FLIR ADAS. Available online: https://www.flir.in/oem/adas/adas-dataset-form/ (accessed on 14 July 2021).
  6. Srivastava, A.; Liu, X. Statistical hypothesis pruning for identifying faces from infrared images. Image Vis. Comput. 2003, 21, 651–661. [Google Scholar] [CrossRef]
  7. Biswas, S.K.; Milanfar, P. Linear Support Tensor Machine With LSK Channels: Pedestrian Detection in Thermal Infrared Images. IEEE Trans. Image Process. 2017, 26, 4229–4242. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  8. Rodríguez-Pulecio, C.G.; Benítez-Restrepo, H.D.; Bovik, A.C. Making long-wave infrared face recognition robust against image quality degradations. Quant. InfraRed Thermogr. J. 2019, 16, 218–242. [Google Scholar] [CrossRef]
  9. Das, J.; de Gaspari, D.; Cornet, P.; Deroo, P.; Vermeiren, J.; Merken, P. Implementation and performance of shutterless uncooled micro-bolometer cameras. In Infrared Technology and Applications XLI; Andresen, B.F., Fulop, G.F., Hanson, C.M., Norton, P.R., Eds.; International Society for Optics and Photonics (SPIE): Baltimore, MD, USA, 2015; Volume 9451, pp. 388–394. [Google Scholar] [CrossRef]
  10. Tempelhahn, A.; Budzier, H.; Krause, V.; Gerlach, G. Shutter-less calibration of uncooled infrared cameras. J. Sens. Sens. Syst. 2016, 5, 9–16. [Google Scholar] [CrossRef] [Green Version]
  11. Pezoa, J.E.; Medina, O.J. Spectral Model for Fixed-Pattern-Noise in Infrared Focal-Plane Arrays. In Progress in Pattern Recognition, Image Analysis, Computer Vision, and Applications; San Martin, C., Kim, S.W., Eds.; Springer: Berlin/Heidelberg, Germany, 2011; pp. 55–63. [Google Scholar]
  12. Johnson, K.R. Camera and Method for Thermal Image Noise Reduction Using Post Processing Techniques. U.S. Patent 9,282,259, 8 March 2016. [Google Scholar]
  13. Shepard, S.M. Temporal Noise Reduction, Compression and Analysis of Thermographic Image Data Sequences. U.S. Patent 6,516,084, 4 February 2003. [Google Scholar]
  14. Zuo, C.; Chen, Q.; Gu, G.; Sui, X. Scene-based nonuniformity correction algorithm based on interframe registration. J. Opt. Soc. Am. A 2011, 28, 1164–1176. [Google Scholar] [CrossRef]
  15. Goodall, T.R.; Bovik, A.C.; Paulter, N.G. Tasking on Natural Statistics of Infrared Images. IEEE Trans. Image Process. 2016, 25, 65–79. [Google Scholar] [CrossRef] [Green Version]
  16. Moreno-Villamarín, D.E.; Benítez-Restrepo, H.D.; Bovik, A.C. Predicting the Quality of Fused Long Wave Infrared and Visible Light Images. IEEE Trans. Image Process. 2017, 26, 3479–3491. [Google Scholar] [CrossRef]
  17. Fergus, R.; Singh, B.; Hertzmann, A.; Roweis, S.T.; Freeman, W.T. Removing Camera Shake from a Single Photograph. In ACM SIGGRAPH 2006 Papers; Association for Computing Machinery: New York, NY, USA, 2006; pp. 787–794. [Google Scholar] [CrossRef]
  18. Krishnan, D.; Fergus, R. Fast Image Deconvolution using Hyper-Laplacian Priors. In Advances in Neural Information Processing Systems 22; Bengio, Y., Schuurmans, D., Lafferty, J.D., Williams, C.K.I., Culotta, A., Eds.; Curran Associates, Inc.: Vancouver, BC, Canada, 2009; pp. 1033–1041. [Google Scholar]
  19. Krišto, M.; Ivašić-Kos, M. Thermal Imaging Dataset for Person Detection. In Proceedings of the 2019 42nd International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), Opatija, Croatia, 20–24 May 2019; pp. 1126–1131. [Google Scholar]
  20. Davis, J.W.; Keck, M.A. A Two-Stage Template Approach to Person Detection in Thermal Imagery. In Proceedings of the 2005 Seventh IEEE Workshops on Applications of Computer Vision (WACV/MOTION’05), Breckenridge, CO, USA, 5–7 January 2005; Volume 1, pp. 364–369. [Google Scholar]
  21. Davis, J.W.; Sharma, V. Background-subtraction using contour-based fusion of thermal and visible imagery. Comput. Vis. Image Underst. 2007, 106, 162–182. [Google Scholar] [CrossRef]
  22. Han, J.; Song, K.S.; Kim, J.; Kang, M.G. Permuted Coordinate-Wise Optimizations Applied to Lp-Regularized Image Deconvolution. IEEE Trans. Image Process. 2018, 27, 3556–3570. [Google Scholar] [CrossRef]
  23. Mignotte, M. A non-local regularization strategy for image deconvolution. Pattern Recognit. Lett. 2008, 29, 2206–2212. [Google Scholar] [CrossRef]
  24. Cha, S.H. Comprehensive survey on distance/similarity measures between probability density functions. City 2007, 1, 1. [Google Scholar]
  25. Deza, M.M.; Deza, E. Dictionary of Distances; Elsevier: Amsterdam, The Netherlands, 2006. [Google Scholar]
  26. Rudin, L.I.; Osher, S.; Fatemi, E. Nonlinear total variation based noise removal algorithms. Phys. D Nonlinear Phenom. 1992, 60, 259–268. [Google Scholar] [CrossRef]
  27. Ochs, P.; Chen, Y.; Brox, T.; Pock, T. iPiano: Inertial Proximal Algorithm for Nonconvex Optimization. SIAM J. Imaging Sci. 2014, 7, 1388–1419. [Google Scholar] [CrossRef]
  28. Condat, L. Discrete Total Variation: New Definition and Minimization. SIAM J. Imaging Sci. 2017, 10, 1258–1290. [Google Scholar] [CrossRef] [Green Version]
  29. Zhang, H.; Wipf, D.; Zhang, Y. Multi-Observation Blind Deconvolution with an Adaptive Sparse Prior. IEEE Trans. Pattern Anal. Mach. Intell. 2014, 36, 1628–1643. [Google Scholar] [CrossRef] [PubMed]
  30. Hou, T.; Wang, S.; Qin, H. Image Deconvolution With Multi-Stage Convex Relaxation and Its Perceptual Evaluation. IEEE Trans. Image Process. 2011, 20, 3383–3392. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  31. Katsaggelos, A.K. Iterative Image Restoration Algorithms. Opt. Eng. 1989, 28, 735–748. [Google Scholar] [CrossRef]
  32. Wright, S.J. Coordinate descent algorithms. Math. Program. 2015, 151, 3–34. [Google Scholar] [CrossRef]
  33. Wang, Z.; Bovik, A.C.; Sheikh, H.R.; Simoncelli, E.P. Image quality assessment: From error visibility to structural similarity. IEEE Trans. Image Process. 2004, 13, 600–612. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  34. Hayat, M.M.; Torres, S.N.; Armstrong, E.; Cain, S.C.; Yasuda, B. Statistical algorithm for nonuniformity correction in focal-plane arrays. Appl. Opt. 1999, 38, 772–780. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  35. Martin, C.S.; Torres, S.N.; Pezoa, J.E. An Effective Reference-Free Performance Metric for Non-uniformity Correction Algorithms in Infrared Imaging System. In Proceedings of the LEOS 2007—IEEE Lasers and Electro-Optics Society Annual Meeting Conference Proceedings, Lake Buena Vista, FL, USA, 21–25 October 2007; pp. 576–577. [Google Scholar] [CrossRef]
  36. Medina, O.J.; Pezoa, J.E.; Torres, S.N. A frequency domain model for the spatial fixed-pattern noise in infrared focal plane arrays. In Infrared Sensors, Devices, and Applications; and Single Photon Imaging II; Razeghi, M., LeVan, P.D., Sood, A.K., Wijewarnasuriya, P.S., Eds.; International Society for Optics and Photonics (SPIE): San Diego, CA, USA, 2011; Volume 8155, pp. 172–180. [Google Scholar] [CrossRef]
  37. Dabov, K.; Foi, A.; Katkovnik, V.; Egiazarian, K. Color Image Denoising via Sparse 3D Collaborative Filtering with Grouping Constraint in Luminance-Chrominance Space. In Proceedings of the 2007 IEEE International Conference on Image Processing, San Antonio, TX, USA, 16 September–19 October 2007; Volume 1, pp. I-313–I-316. [Google Scholar] [CrossRef] [Green Version]
  38. Goldstein, T.; Osher, S. The Split Bregman Method for L1-Regularized Problems. SIAM J. Imaging Sci. 2009, 2, 323–343. [Google Scholar] [CrossRef]
  39. Ochs, P.; Dosovitskiy, A.; Brox, T.; Pock, T. An Iterated L1 Algorithm for Non-smooth Non-convex Optimization in Computer Vision. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Portland, OR, USA, 23–28 June 2013. [Google Scholar]
  40. Xu, J.; Zhang, L.; Zhang, D. A Trilateral Weighted Sparse Coding Scheme for Real-World Image Denoising. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018. [Google Scholar]
  41. Helgaso, S. The Radon Transform, 2nd ed.; Springer: Boston, MA, USA, 1999. [Google Scholar] [CrossRef]
Figure 1. Test images of the five LWIR databases. The first row demonstrates different spectral images, thermal image, and visible light image, respectively. The second and third rows demonstrate the histogram and the histogram of the gradient distribution, respectively. Despite of their comparable field of view, the MSCN and the gradient distributions of LWIR and visible light images have been observed differently in most cases. (a) MORRIS [1]; (b) KRISTO [19]; (c) FLIR ADAS [5]; (d) SRIP; (e) OSU [20,21].
Figure 1. Test images of the five LWIR databases. The first row demonstrates different spectral images, thermal image, and visible light image, respectively. The second and third rows demonstrate the histogram and the histogram of the gradient distribution, respectively. Despite of their comparable field of view, the MSCN and the gradient distributions of LWIR and visible light images have been observed differently in most cases. (a) MORRIS [1]; (b) KRISTO [19]; (c) FLIR ADAS [5]; (d) SRIP; (e) OSU [20,21].
Sensors 21 05443 g001
Figure 2. LWIR images, histograms, and the measured similarity. Ten images are sampled from each dataset, and the observed and estimated gradient distributions are demonstrated. The similarities between the observed and estimated distributions are also visualized. In most cases, measurement scores show that the two distributions are closely related. (a) MORRIS [1]; (b) KRISTO [19]; (c) FLIR ADAS [5]; (d) SRIP; (e) OSU [20,21].
Figure 2. LWIR images, histograms, and the measured similarity. Ten images are sampled from each dataset, and the observed and estimated gradient distributions are demonstrated. The similarities between the observed and estimated distributions are also visualized. In most cases, measurement scores show that the two distributions are closely related. (a) MORRIS [1]; (b) KRISTO [19]; (c) FLIR ADAS [5]; (d) SRIP; (e) OSU [20,21].
Sensors 21 05443 g002aSensors 21 05443 g002b
Figure 3. Distribution derived from the high-frequency of LWIR images. The statistics of the high-frequency is derived with three filters, MSCN, the first and the second derivatives. The three filtered signals demonstrate similar distributions. (a) MORRIS [1]; (b) KRISTO [19]; (c) FLIR ADAS [5]; (d) SRIP; (e) OSU [20,21].
Figure 3. Distribution derived from the high-frequency of LWIR images. The statistics of the high-frequency is derived with three filters, MSCN, the first and the second derivatives. The three filtered signals demonstrate similar distributions. (a) MORRIS [1]; (b) KRISTO [19]; (c) FLIR ADAS [5]; (d) SRIP; (e) OSU [20,21].
Sensors 21 05443 g003
Figure 4. Analysis of the patch-based Gradient statistics. The patches (of size 21 × 21) are randomly sampled, and the observed and estimated distribution of high frequencies using ∇ and 2 have been analyzed with the measures of Table 1. All the LWIR images in the datasets have demonstrated similar results; most of the patches satisfy our hypothesis. (a) MORRIS [1]; (b) KRISTO [19]; (c) FLIR ADAS [5]; (d) SRIP; (e) OSU [20,21].
Figure 4. Analysis of the patch-based Gradient statistics. The patches (of size 21 × 21) are randomly sampled, and the observed and estimated distribution of high frequencies using ∇ and 2 have been analyzed with the measures of Table 1. All the LWIR images in the datasets have demonstrated similar results; most of the patches satisfy our hypothesis. (a) MORRIS [1]; (b) KRISTO [19]; (c) FLIR ADAS [5]; (d) SRIP; (e) OSU [20,21].
Sensors 21 05443 g004
Figure 5. The validity of our hypothesis with varying patch sizes. The distribution of high-frequency components can be clearly estimated by the Laplace distribution as the size of the patch increases. Note that the measure scores over 1 were clipped for clear demonstration. (a) MORRIS [1]; (b) KRISTO [19]; (c) FLIR ADAS [5]; (d) SRIP; (e) OSU [20,21].
Figure 5. The validity of our hypothesis with varying patch sizes. The distribution of high-frequency components can be clearly estimated by the Laplace distribution as the size of the patch increases. Note that the measure scores over 1 were clipped for clear demonstration. (a) MORRIS [1]; (b) KRISTO [19]; (c) FLIR ADAS [5]; (d) SRIP; (e) OSU [20,21].
Sensors 21 05443 g005aSensors 21 05443 g005b
Figure 6. Experiment for deciding the optimal patch size. The interquartile range (IQR) and standard deviation were utilized to derive the appropriate condition for the properties of the LWIR image. A total of 4000 patches were randomly sampled from the datasets for each patch size. In this study, size of 21 × 21 has been empirically decided as the optimal patch size. IQRs of five measures with respect to increasing patch size are demonstrated. IQRs of each patch size were calculated based on the randomly sampled 4000 patches. Standard deviation with respect to increasing patch size is also demonstrated.
Figure 6. Experiment for deciding the optimal patch size. The interquartile range (IQR) and standard deviation were utilized to derive the appropriate condition for the properties of the LWIR image. A total of 4000 patches were randomly sampled from the datasets for each patch size. In this study, size of 21 × 21 has been empirically decided as the optimal patch size. IQRs of five measures with respect to increasing patch size are demonstrated. IQRs of each patch size were calculated based on the randomly sampled 4000 patches. Standard deviation with respect to increasing patch size is also demonstrated.
Sensors 21 05443 g006
Figure 7. Example of a one-dimensional subproblem represented in Equation (18). A single variable subproblem (blue line) derived from the TV-regularized cost function of Equation (11) can be decomposed into two parts: the part derived from the data fidelity term (black line), and from the regularization term (red line). The solution of the subproblem lies between the critical points of data fidelity and the regularization functions. Nine points marked by ϵ l , l | 1 , 2 , , 9 are investigated to find the minimum value of f τ ( ε ) . All functions are plotted on the same scale ( λ ˜ = 1 ) for visualization.
Figure 7. Example of a one-dimensional subproblem represented in Equation (18). A single variable subproblem (blue line) derived from the TV-regularized cost function of Equation (11) can be decomposed into two parts: the part derived from the data fidelity term (black line), and from the regularization term (red line). The solution of the subproblem lies between the critical points of data fidelity and the regularization functions. Nine points marked by ϵ l , l | 1 , 2 , , 9 are investigated to find the minimum value of f τ ( ε ) . All functions are plotted on the same scale ( λ ˜ = 1 ) for visualization.
Sensors 21 05443 g007
Figure 8. Images used for simulations (refer Table 4 and Table 5), and visualized noise. (ac) original pristine images; (d) magnified region of image 1 (pristine image); (e) RNU of ( B u , B v , σ u , σ v ) = (20, 20, 25, 25).
Figure 8. Images used for simulations (refer Table 4 and Table 5), and visualized noise. (ac) original pristine images; (d) magnified region of image 1 (pristine image); (e) RNU of ( B u , B v , σ u , σ v ) = (20, 20, 25, 25).
Sensors 21 05443 g008
Figure 9. Results from the experiment of RNU. Regions marked with rectangles are magnified. The cost functions incorporating our hypothesis demonstrate more clear output images. (a) Original image; (b) degraded image; (c) result with Equation (24); (d) result with Equation (25); (e) result with Equation (26); (f) result with Equation (27).
Figure 9. Results from the experiment of RNU. Regions marked with rectangles are magnified. The cost functions incorporating our hypothesis demonstrate more clear output images. (a) Original image; (b) degraded image; (c) result with Equation (24); (d) result with Equation (25); (e) result with Equation (26); (f) result with Equation (27).
Sensors 21 05443 g009
Figure 10. Final results of the conventional and proposed method. (a,h) Original degraded image of MORRIS (top) and KRISTO dataset (bottom); (b,i) BM3D; (c,j) Ochs et al.; (d,k) TWSC; (e,l) split Bregman with ATV; (f,m) split Bregman with ITV; (g,n) proposed method.
Figure 10. Final results of the conventional and proposed method. (a,h) Original degraded image of MORRIS (top) and KRISTO dataset (bottom); (b,i) BM3D; (c,j) Ochs et al.; (d,k) TWSC; (e,l) split Bregman with ATV; (f,m) split Bregman with ITV; (g,n) proposed method.
Sensors 21 05443 g010
Figure 11. Application to LWIR image deconvolution. (a) Points of measured LSFs. The measured LSFs were obtained by varying the distance from the optical axis. Seven LSFs were measured at the points marked with ⊗ by the optical device; (b) visualized LSFs and their PSF. The PSF is reconstructed by the Radon transform [41] based on the LSFs. Averaging of LSFs and A2D conversion considering the pixel size of the LWIR sensor have been utilized to reconstruct the PSF.
Figure 11. Application to LWIR image deconvolution. (a) Points of measured LSFs. The measured LSFs were obtained by varying the distance from the optical axis. Seven LSFs were measured at the points marked with ⊗ by the optical device; (b) visualized LSFs and their PSF. The PSF is reconstructed by the Radon transform [41] based on the LSFs. Averaging of LSFs and A2D conversion considering the pixel size of the LWIR sensor have been utilized to reconstruct the PSF.
Sensors 21 05443 g011
Figure 12. Results of image deconvolution. Regions marked with rectangles are magnified. In the case of image deconvolution, isotropic TV has generated clear output images. (a) Degraded original image; (b) restored based on the regularization term of Equation (24); (c) restored based on the regularization term of Equation (25).
Figure 12. Results of image deconvolution. Regions marked with rectangles are magnified. In the case of image deconvolution, isotropic TV has generated clear output images. (a) Degraded original image; (b) restored based on the regularization term of Equation (24); (c) restored based on the regularization term of Equation (25).
Sensors 21 05443 g012
Table 1. Definition of Measures qualifying the similarity between histograms of the gradient distribution.
Table 1. Definition of Measures qualifying the similarity between histograms of the gradient distribution.
DefinitionRangeRemarks
Correlation coefficient  ( ρ ) ρ h p , h q = E [ ( h p μ h p ) ( h q μ h q ) ] σ h p σ h q [−1,1] ρ h p , h p = 1
Histogram intersection  ( ) h p h q = i min ( h p ( n ) , h q ( n ) ) [0,1] h p h p = 1
Chi-squared test  ( χ 2 ) χ 2 ( h p , h q ) = 1 2 [ h p ( n ) h q ( n ) ] 2 [ h p ( n ) + h q ( n ) ] [0,1] χ 2 ( h p , h p ) = 0
Bhattacharyya distance ( D B ) D B ( h p , h q ) = ln ( i h p ( n ) h q ( n ) ) ) [0,) D B ( h p , h p ) = 0
Kullback–Leibler divergence ( D K L ) D K L ( h p | | h q ) = i h p ( n ) ln ( h p ( n ) h q ( n ) ) [0,) D K L ( h p | | h p ) = 0
Table 2. Average scores of the measures in Figure 2. The scores of the correlation coefficient and histogram intersection are close to unity, and the scores of the Chi-squared test, Bhattacharyya distance, and Kullback–Leibler divergence are close to zero.
Table 2. Average scores of the measures in Figure 2. The scores of the correlation coefficient and histogram intersection are close to unity, and the scores of the Chi-squared test, Bhattacharyya distance, and Kullback–Leibler divergence are close to zero.
MORKRIADASSRIPOSUAverage
ρ 0.98670.97220.98140.98080.95510.9757
0.90550.87640.90740.87580.87680.8897
χ 2 0.02490.02870.01490.03250.02850.0256
D B 0.01510.01640.00810.01950.01570.0148
D K L 0.14980.13120.04620.16050.07800.1132
Table 3. Averaged scores from three filtered images in Figure 2. Similar to the gradients, the scores of the correlation coefficient and histogram intersection are close to unity, and the scores of the Chi-squared test, Bhattacharyya distance, and Kullback–Leibler divergence are close to zero.
Table 3. Averaged scores from three filtered images in Figure 2. Similar to the gradients, the scores of the correlation coefficient and histogram intersection are close to unity, and the scores of the Chi-squared test, Bhattacharyya distance, and Kullback–Leibler divergence are close to zero.
MSCN1st Derivative2nd Derivative
ρ 0.97780.97540.9701
0.85870.89540.8444
χ 2 0.04240.02580.0524
D B 0.02520.01500.0316
D K L 0.12500.12350.1376
Table 4. Thermal image denoising using synthesized images with the four regularization strategies. Performances of each regularizer have been measured by four image assessments: PSNR and SSIM.
Table 4. Thermal image denoising using synthesized images with the four regularization strategies. Performances of each regularizer have been measured by four image assessments: PSNR and SSIM.
PSNR(dB)SSIM
IMG1IMG2IMG3IMG1IMG2IMG3
degraded39.1439.1539.130.93150.92550.9267
Equation (24)39.8640.1540.130.94400.94410.9469
Equation (25)40.5741.5941.740.95650.96460.9706
Equation (26)39.6740.0340.110.94130.94240.9454
Equation (27)40.4041.1341.160.95480.96070.9655
Table 5. Thermal image denoising using synthesized images with the conventional algorithms. Performances of each algorithm have been measured by four image assessments: PSNR, SSIM, Ro, and ERo.
Table 5. Thermal image denoising using synthesized images with the conventional algorithms. Performances of each algorithm have been measured by four image assessments: PSNR, SSIM, Ro, and ERo.
PSNRSSIMRoERo
IMG1IMG2IMG3IMG1IMG2IMG3IMG1IMG2IMG3IMG1IMG2IMG3
Degraded39.1439.1539.130.93150.92550.92670.10190.06100.07890.48660.22750.2348
BM3D39.1439.1539.130.93330.92900.93160.09280.05610.07380.44270.20750.2182
Ochs40.1740.3840.410.94910.94770.95030.07910.04650.06230.38330.17360.1856
TWSC39.5639.439.600.93700.92930.93500.07870.05380.07010.37770.19960.2079
SB(ATV)40.6341.2441.770.95500.96410.96120.06260.03420.04700.29890.09200.1329
SB(ITV)40.8541.2341.270.95880.96070.95330.03840.03720.05240.30630.13840.1565
Equation (25)40.5741.5941.740.95650.96460.97060.04900.03010.04450.24160.11050.1325
Equation (27)40.4041.1341.160.95480.96070.96550.05530.03380.04850.26810.12410.1439
Table 6. Thermal image denoising using real-world images with the conventional algorithms. Performances of each algorithm have been measured by no-reference image assessments.
Table 6. Thermal image denoising using real-world images with the conventional algorithms. Performances of each algorithm have been measured by no-reference image assessments.
RoERo
MORR.KRIS.ADASSRIPOUSMORR.KRIS.ADASSRIPOUS
Degraded0.04180.08610.14550.25390.04561.24110.39050.50430.43510.2670
BM3D0.03140.06400.14320.25220.03760.85300.29070.49610.43240.2148
Ochs0.02200.05680.13130.24750.03320.66080.26620.45610.42660.1923
TWSC0.01940.05050.03990.03080.25670.28860.23760.14540.17710.4243
SB(ATV)0.01000.03530.05460.21680.02600.18770.17090.19460.38510.1473
SB(ITV)0.00970.03140.04210.20970.02570.172215210.15020.37450.1403
Equation (25)0.00930.03380.04950.21820.02510.18300.14130.13140.38690.1314
Equation (27)0.01130.04220.05500.23270.02820.22660.17520.18950.39960.1526
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Han, J.; Lee, H.; Kang, M.G. Thermal Image Restoration Based on LWIR Sensor Statistics. Sensors 2021, 21, 5443. https://doi.org/10.3390/s21165443

AMA Style

Han J, Lee H, Kang MG. Thermal Image Restoration Based on LWIR Sensor Statistics. Sensors. 2021; 21(16):5443. https://doi.org/10.3390/s21165443

Chicago/Turabian Style

Han, Jaeduk, Haegeun Lee, and Moon Gi Kang. 2021. "Thermal Image Restoration Based on LWIR Sensor Statistics" Sensors 21, no. 16: 5443. https://doi.org/10.3390/s21165443

APA Style

Han, J., Lee, H., & Kang, M. G. (2021). Thermal Image Restoration Based on LWIR Sensor Statistics. Sensors, 21(16), 5443. https://doi.org/10.3390/s21165443

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop