Next Article in Journal
Fast Fusion Clustering via Double Random Projection
Previous Article in Journal
Optimal Quaternary Hermitian LCD Codes
Previous Article in Special Issue
Entropy Production in a Fractal System with Diffusive Dynamics
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Novel Entropy for Enhanced Thermal Imaging and Uncertainty Quantification

1
Informatics and Applied Mathematics Department, Yerevan State University, Yerevan 0025, Armenia
2
Department of Electrical and Computer Engineering, The University of Texas at San Antonio, San Antonio, TX 78249, USA
3
Computer Science Department, Graduate Center, College of Staten Island (CSI), City University of New York, New York, NY 10314, USA
*
Author to whom correspondence should be addressed.
Entropy 2024, 26(5), 374; https://doi.org/10.3390/e26050374
Submission received: 20 March 2024 / Revised: 17 April 2024 / Accepted: 22 April 2024 / Published: 28 April 2024
(This article belongs to the Special Issue Thermal Science and Engineering Applications)

Abstract

:
This paper addresses the critical need for precise thermal modeling in electronics, where temperature significantly impacts system reliability. We emphasize the necessity of accurate temperature measurement and uncertainty quantification in thermal imaging, a vital tool across multiple industries. Current mathematical models and uncertainty measures, such as Rényi and Shannon entropies, are inadequate for the detailed informational content required in thermal images. Our work introduces a novel entropy that effectively captures the informational content of thermal images by combining local and global data, surpassing existing metrics. Validated by rigorous experimentation, this method enhances thermal images’ reliability and information preservation. We also present two enhancement frameworks that integrate an optimized genetic algorithm and image fusion techniques, improving image quality by reducing artifacts and enhancing contrast. These advancements offer significant contributions to thermal imaging and uncertainty quantification, with broad applications in various sectors.

1. Introduction

Thermal imaging has become indispensable across numerous domains, providing unmatched insights into temperature distributions and fluctuations. This technology finds diverse applications, from identifying heat leaks in buildings to diagnosing medical conditions, each deriving significant benefits from the detailed thermal information it provides [1,2]. Nonetheless, the inherent uncertainties within thermal data, stemming from sensor noise, environmental influences, and the intricate interactions between heat and matter, pose considerable challenges. These uncertainties can lead to inaccurate thermal image artifacts, impacting analysis and decision making [3].
The temperature’s critical influence on electronics underscores the importance of thermal modeling, which is complicated by these uncertainties. Precise temperature measurements are crucial in thermal imaging applications across various sectors, necessitating accurate estimation of measurement accuracy. Adopting international quality standards (ISO 9001-9004 [4]) and accreditation norms (EN 45001-45003 [4]) highlights the need for thorough uncertainty evaluation in temperature assessments. Despite thermal imaging’s broad applications, a significant gap exists in developing mathematical models for precise uncertainty quantification, impeding standard compliance and decision making. Traditional uncertainty measures, including Rényi and Shannon entropies, do not sufficiently capture the informational content of thermal images. Furthermore, color image quality measures [5] do not capture the informational content (uncertainty) of thermal images.
Addressing and minimizing these uncertainties is critical. This endeavor demands a comprehensive understanding of thermal data characteristics and the development of innovative methodologies for uncertainty quantification in thermal imaging. Equally important is enhancing the quality and clarity of thermal images, which boosts analysis accuracy and reliability and enhances data interpretability, facilitating better-informed decisions. However, due to its unique processing challenges, conventional image enhancement techniques often need to improve with thermal imagery.
The significance of enhancing thermal images cannot be overstated, especially in contexts where minor temperature differences have significant implications [6]. For example, in the medical field, thermal imaging can highlight abnormalities in blood flow, pinpoint inflammation, and assist in diagnosing conditions like breast cancer and peripheral vascular diseases [7,8]. In industrial environments, improved thermal images support the early detection of equipment failures [9], identification of energy inefficiencies [10], and monitoring of manufacturing processes. Clear and detailed thermal images are crucial for intruder detection, hazard identification, and protecting personnel and assets in surveillance and security [11,12].
Developing robust and effective enhancement techniques tailored for thermal imagery is essential to unlocking its full potential across various fields. These techniques are designed to minimize noise, boost contrast, and sharpen spatial resolution, thus improving the visual quality of thermal images and enabling more accurate and reliable quantitative analysis. By addressing the unique challenges of thermal data, such as low signal-to-noise ratios (SNRs) and limited dynamic ranges, these methods help overcome the inherent limitations of thermal imaging technology, broadening its practical applications.
Quality metrics or uncertainty measures are crucial in refining and optimizing thermal images. Image quality assessment (IQA) techniques are indispensable in image compression, enhancement, and restoration applications. Providing objective criteria to evaluate the fidelity and usability of processed images, IQA methods guide the development and improvement of image processing algorithms. These methods fall into two categories: full-reference (FR) metrics, which compare a processed image against a known good reference, and no-reference (NR) metrics, which evaluate quality without a reference image [13,14].
Entropy-based IQA approaches, typically NR metrics, measure either the global image entropy or the entropy of specific local features, such as variations within small blocks. Global metrics offer insights into overall image contrast but may overlook fine details. Conversely, local metrics might need to be aware of the broader image context and ignore certain distortions affecting thermal images.
To address this gap, we introduce a novel entropy-based IQA method tailored for thermal images, which integrates both local and global data. This method is invaluable for enhancing thermal imagery. We also present two innovative frameworks that utilize this metric to refine traditional enhancement techniques: a genetic algorithm (GA)-based parameter optimization and an IQA-driven image fusion approach.
Our primary contributions include the following:
  • A new entropy formulation that, more precisely, measures the informational content (uncertainty) of thermal images, outperforming traditional entropy metrics.
  • Two sophisticated frameworks that incorporate this novel entropy measure with classic image enhancement techniques, adaptively optimizing parameters to elevate thermal image quality significantly.
  • Extensive qualitative and quantitative evaluations of various image enhancement techniques across multiple thermal image datasets.
The methodologies detailed in this paper significantly advance thermal imaging and uncertainty quantification, offering notable enhancements for applications in machinery fault detection, building diagnostics, healthcare, and security. These advancements facilitate more precise scene analysis and reliability under challenging conditions, align with the stringent demands of international quality and accreditation standards, and set a new standard in thermal imaging and uncertainty assessment.
This article is structured as follows: Section 2 presents the background of thermal image enhancement and entropy in IQA, and Section 3 details the proposed methods. Section 4 presents the experimental results on various datasets. Finally, Section 5 concludes the work.

2. Background

2.1. Entropy and Contrast

Entropy and contrast in images are closely related concepts that are crucial in image processing and enhancement. Entropy, in the context of images, refers to the measure of randomness or uncertainty present in the pixel values within the image [15]. Specifically, Shannon entropy is commonly used to quantify this randomness and is calculated based on the probability distribution of pixel intensities [16]. It is defined as
E ( I ) = i = 1 N P ( i ) log 2 ( P ( i ) ) ,
where E ( I ) represents the entropy of the image I, N denotes the total number of possible intensity levels, and  P ( i ) signifies the probability of occurrence of intensity level i within the image. In thermal imaging, where images often exhibit low contrast and visibility, entropy serves as a valuable metric for assessing the level of detail and information content present in the image. By maximizing entropy, one can effectively enhance the contrast of the image, leading to improved visibility of features and patterns within the thermal scene. Rényi entropy offers an alternative formulation to Shannon entropy, providing additional insights into the distribution of information within the image [17]. It is defined as
R α ( I ) = 1 1 α log 2 i = 1 N P ( i ) α ,
where α is a parameter controlling the sensitivity of the entropy measure. Shannon entropy is a special case of Rényi entropy as α 1 .
In addition, other entropy-based metrics are employed in the quality assessment of images, particularly in the context of block-wise image enhancement. Metrics like EME and AME assess the entropy of block-wise image contrasts rather than individual pixel values [18]. These metrics are important in evaluating the quality of enhanced images, providing insights into the effectiveness of enhancement techniques [19]. EME and AME metrics are defined as
EME ( I ) = 1 n k = 1 n 20 ln I max k I min k + c ,
AME ( I ) = 1 n k = 1 n ( α M ( I k ) α × ln M ( I k ) ) , M ( I ) = I max I min I max + I min + c ,
where I image is partitioned into n blocks, M ( I k ) is the modulation of each I k subimage, α = 1 is a parameter, and c is a small positive constant to avoid dividing by 0.
These block-wise entropy metrics offer a more localized assessment of image quality, facilitating the detection of enhancements or deteriorations in specific regions of the image. They complement traditional pixel-based entropy measures by providing insights into the distribution of information within distinct image blocks.
Contrast, on the other hand, refers to the variation in brightness between the lightest and darkest areas of an image. Typically, contrast is measured by the standard deviation of pixel intensities within the image. Images with higher contrast exhibit a broader range of intensity values, resulting in a clearer delineation of objects and details.
In summary, entropy and contrast are pivotal factors in thermal image enhancement. Entropy serves as a measure of information content, while contrast influences the visibility and clarity of features within the image. The common objective in thermal image enhancement techniques is to maximize entropy while preserving or enhancing contrast. However, it is important to note that while high entropy and contrast can indicate improved image quality, they may also signify overenhancement and loss of details in some cases. Additionally, these metrics may not effectively detect noise in images, highlighting the need for comprehensive assessment strategies in image enhancement.

2.2. Image Enhancement

Enhancement of thermal images has emerged as a critical area of research, motivated by the necessity for enhanced visualization and analysis in diverse applications, given their inherent low contrast and visibility. Classical algorithms commonly employ variations of histogram equalization or gamma correction for enhancement [20,21]. Histogram-based methods typically aim to maximize the entropy of the image or blocks within the image, while gamma correction methods involve adjusting the gamma value to modify the brightness and contrast of the image. A summary of these methods is provided in Table 1.

3. Proposed Entropy-Based Image Quality Assessment

Contrast in images can be quantified through various metrics such as entropy and standard deviation. However, it is crucial to note that higher contrast does not always equate to higher image quality, particularly in the context of thermal images that may contain various types of noise. For instance, consider Figure 1, where five artificially generated images containing an equal number of black and white pixels are presented. Surprisingly, despite sharing identical entropy and standard deviation values, these images exhibit varying levels of visual contrast and clarity.
It is evident that classic entropy measures for images solely rely on histograms, lacking the ability to capture local and structural information within images. Consequently, they fall short in accurately assessing the quality of thermal images, especially in the presence of noise where higher entropies are observed. To address this limitation, we introduce a novel quality metric termed block-wise image entropy (BIE). Unlike conventional entropy measures, BIE incorporates local characteristics and structural features, providing a more comprehensive assessment of image quality, and it is defined as
BIE ( I ) = ADP ( I ) × 1 n k = 1 n ( α M ( I k ) α × ln M ( I k ) ) , 1 + 1 n k = 1 n E I k × S D ( I ) 1 + 1 n k = 1 n S D I k ,
where n is the number of blocks the image is divided into, E ( I ) and AME ( I ) are calculated as in Equations (1) and (4), S D ( I ) is the standard deviation of the image, ADP ( I ) is the average deviation percentage, and M ( I ) is the modified modulation, and they are described as
ADP ( I ) = 1 | A ( I ) L / 2 | L / 2 , M ( I ) = I max I min L ,
where A ( I ) is the average pixel value of the image and L = 255 represents the possible maximum pixel value, which can be adjusted depending on the image type.
Figure 2 illustrates examples of a thermal image alongside intentionally distorted versions of the same image, along with their respective histograms (all three images share identical histograms). The values of entropy-based metrics for these images are provided in Table 2. While traditional global metrics such as E and S D yield the same values for all three images, the BIE metric can effectively capture the distortion introduced. However, it is noteworthy that the EME and AME metrics tend to produce higher values in noisy cases, indicating heightened sensitivity to noise compared to the BIE metric, which may pose limitations in accurately assessing image quality.
The monotonic behavior of a quality metric is a vital characteristic, indicating that it should either increase or remain consistent as image quality improves. Illustrated in Figure 3 are enhancement results for several thermal images, showcasing four different levels of enhancement. Corresponding graphs in the figure depict metric values for different enhancement parameters. It is evident that the BIE measure follows a consistent pattern of growth as visibility and contrast in the results improve, thus affirming its status as a quality metric with monotonic characteristics.
Indeed, the BIE metric combines three distinct metrics to assess image quality comprehensively. The numerators contribute to the evaluation of global image contrast. On the other hand, the denominators, which involve the average of block-wise entropy and standard deviation, account for local variations in image characteristics. This combination allows for a balanced consideration of both global and local aspects of image quality in the assessment process. For instance, while ADP calculates the image average to be close to half of the maximum intensity, it alone is insufficient as it is insensitive to noise, similar to classic entropies. Conversely, S D plays a crucial role in detecting the range of contrast, as classic entropies do not consider actual pixel values but only their probabilities of appearance.

4. Results and Discussion

4.1. Datasets

Experiments were conducted by randomly selecting images from various thermal datasets sourced from energy applications like solar panels and wind turbines, as well as scenes involving motion detection. These datasets were chosen to encompass a diverse range of thermal imaging scenarios relevant to our research objectives. Here are the primary datasets utilized in our experiments:
  • The Photovoltaic System Thermal Images (PSTI) dataset [29] consists of 277 thermographic aerial images captured using a Zenmuse XT IR camera with a wavelength range of 7 to 13 micrometers. These images were acquired using a DJI Matrice 100 quadcopter drone. In addition to the images themselves, this dataset provides environmental data including temperature, wind speed, and irradiance.
  • The Thermal Image of Equipment (TIE) dataset [30] combines thermal images (IRT) for condition monitoring of both induction motors and transformers. This comprehensive dataset encompasses artificially generated internal faults specific to each equipment type, ensuring independence from external factors or initial setup component failures. The thermal images were acquired using a Dali-tech T4/T8 infrared thermal image camera at the Electrical Machines Laboratory workbench operating under an ambient temperature of 23 °C.
  • The Wind Turbine Blade (WTB) Inspection thermal dataset [31] consists of 1000 uniformly processed thermal images, meticulously prepared for clarity and consistency. Each image is cropped, centered, and resized to a resolution of 320 × 320 pixels and classified as healthy or faulty, with 500 images in each category. Utilizing a FLIR C5 Compact Thermal Camera with Multi-Spectral Dynamic Imaging (MSX) technology enhances the thermal imaging process, integrating thermal data with standard RGB imagery to provide detailed and insightful images crucial for identifying and analyzing faults in wind turbine blades (WTBs).
  • The Multi-Spectral Object Detection (MSOD) dataset [32] comprises multispectral images tailored for object detection in traffic scenarios. These images incorporate RGB, near-infrared, middle-infrared, and far-infrared spectra, providing comprehensive information for detection tasks. The dataset includes objects that may not be visually discernible in RGB images but can be detected in other spectra, such as far-infrared. This dataset is specifically generated for training a multispectral object detection system.

4.2. Evaluation of Existing Methods

In this section, we assess classic image enhancement methods outlined in Table 1 using the proposed block-wise image entropy (BIE) metric, implemented using Python 3.9 and OpenCV 4.6.0, on the thermal dataset described in the previous subsection. For parametric methods, default configurations are utilized wherever possible. In the case of gamma correction, we dynamically select the gamma value based on the brightness of the image; if the image is bright, we adaptively choose a gamma value >1, otherwise <1, utilizing the mean pixel value of the image. The experiments were conducted on a MacBook Pro 16-inch (2019).
The visual results of select images from each dataset are depicted in Figure 4. Additionally, the qualitative evaluation across all datasets is summarized in Table 3. Notably, the BIE metric shows that the most effective methods across almost all datasets are IAGCWD, HE, and RLBHE, showcasing superior visual enhancement and increased detail preservation compared to other techniques. Conversely, CLAHE demonstrates the poorest performance, often resulting in overenhancement, noise addition, and loss of details. AGCWD also garners a relatively low score, possibly due to minimal differentiation from the source image. In contrast, the E metric indicates that CLAHE performs the best in most cases, with varying rankings for the worst methods across different datasets. Similarly, the AME metric reflects unstable evaluations of methods across datasets, with CLAHE being the worst-performing method for the PSTI dataset and ranking as the best for TIE while showing an average performance for WTB. This discrepancy is primarily attributed to the limitations of the traditional metrics discussed in Section 3.
In conclusion, our BIE metric demonstrates greater stability in evaluating enhancement methods across diverse datasets, providing more consistent and reliable results compared to the E and AME metrics.

4.3. Optimized Thermal Image Enhancement Using Genetic Algorithms and BIE Metric

In addition to their conventional role in assessing image quality, quality metrics play a pivotal role in optimizing classic parametric algorithms such as GC and CLAHE. Genetic algorithms (GAs) emerge as a promising alternative to iterative parameter adjustment methods due to their inherent speed and precision. Leveraging this, we utilize the proposed BIE metric as an objective function in our optimization process. This metric, capturing both local characteristics and structural features, offers a comprehensive evaluation of image quality. By calculating the BIE metric for each enhanced image with varying parameters, our approach parallels the methodology employed in prior studies [33,34], ensuring both efficiency and accuracy in the enhancement process. The full steps for this process are described in Algorithm 1.
We employed classic enhancement algorithms for their parameter optimization using E and BIE metrics as fitness functions. For instance, in Figure 5, we demonstrate the results of optimizing the gamma parameter within the [0, 5] range of the GC algorithm for two images, along with their histograms. It is evident that the optimized result exhibits the best visual contrast. Similarly, Figure 6 illustrates the optimization process for another algorithm, CLAHE, focusing on the parameters clip limit (CL) within the range [1, 60] and grid size (GS) within [4, 40]. In the first image, the default parameters and E-based optimization result in an overenhanced and noisy output, while the BIE selects the optimal parameters (CL = 6 and GS = 4) for enhanced image quality.
Algorithm 1 Optimal thermal image enhancement using a genetic algorithm with a novel cost function.
Inputs: I s = source image
Initialization: population = n, maximum number of iterations = N, t = 0
Function objective( p 1 , , p n )
   I e = Enhance( p 1 , , p n )
  m = CalculateBIE( I e )
  return m
EndFunction
 Generate the initial number of n chromosomes
 Compute the fitness of each chromosome using the objective function
while  t < N   do
  Select a pair of chromosomes based on fitness
  Apply crossover on the selected pair
  Apply mutation operation
  Replace the old population with the newly generated one
   t t + 1
end while
 Return parameters with the best fitness
Output: p 1 , , p n parameters
In addition to our primary methodology, we explored alternative nature-inspired optimization algorithms. We present a comparative analysis of our approach against the bat algorithm (BA) [35]. Inspired by bat echolocation, the BA efficiently explores search spaces by mimicking bats’ frequency tuning and amplitude adjustment. By emitting sound pulses and adapting to solution quality, it effectively navigates complex environments to find optimal solutions. Similarly to GA, the bat algorithm employs these principles to iteratively update candidate solutions and converge towards optimal outcomes. The process of image enhancement using BA is shown in Algorithm 2.
Figure 7 illustrates the maximization of the parameters in the GC and CLAHE algorithms using the proposed BIE metric as the fitness function for both GA and BA. It showcases the enhanced results of thermal images alongside optimization graphs illustrating metric values across parameter variations throughout the process. This analysis was conducted using the PyGAD (version 3.3.0) and BatAlgorithm (version 0.3.1) Python packages, with both optimizations executed over a similar 20 iterations. The parameters are maintained at default values, such as a 50% mutation rate and 20 parents mating in GA, and a population size of 50 with loudness and pulse rate set to 0.5 in BA. The similarity in optimization results and graphs across algorithms suggests that the choice of algorithm may not significantly impact the outcome. For instance, in the case of the first image, GA and BA selected 2.59 and 2.49 as the best gamma parameters, indicating a high degree of similarity. This similarity may become even more pronounced with a higher number of iterations. However, GA stands out for its simplicity and faster execution time, making it preferable for this application.
Algorithm 2 Optimal thermal image enhancement using a bat algorithm with a novel cost function.
Inputs: I s = source image
Initialization: population = n, maximum number of iterations = N, t = 0 , pulse rate = r, loudness = A
Function objective( p 1 , , p n )
   I e = Enhance( p 1 , , p n )
  m = CalculateBIE( I e )
  return m
EndFunction
while  t < N   do
  Generate new solutions by adjusting the frequency
  Updating positions and velocities
  if rand > r then
   Select a random solution among the best solutions
   Generate a local solution around the selected solution
  end if
  Generate a new solution by flying randomly
  if rand < A and objective(new) < objective(best) then
   Accept the new solution
   Increase r and reduce A
  end if
   t t + 1
end while
 Return parameters with the best fitness
Output: p 1 , , p n parameters
In conclusion, GAs prove instrumental in achieving high-quality enhancements by leveraging image quality metrics alongside different algorithms. This approach facilitates the optimization of parameter settings, ensuring superior visual outcomes.

4.4. Measure-Based Image Fusion

The field of image fusion holds significant importance in various domains, particularly in thermal imaging applications. Image fusion involves combining information from multiple images to create a composite image that retains the most useful features from each input. In thermal imaging scenarios, where capturing accurate temperature distributions is crucial, image fusion techniques play a vital role in improving the overall quality and interpretability of thermal images. By integrating data from different thermal sensors or imaging modalities, image fusion enhances the visibility of objects and details in thermal images, leading to more informed decision making in fields such as surveillance, medical diagnostics, and industrial inspections [36,37].
Another practical application of IQA involves using fusion coefficients for the simple combination of thermal images. The resulting composite image is computed as follows:
I f = i = 1 N m i I i i = 1 N m i ,
Here, m i represents the metric value for the I i image. In our experiments, we leverage the proposed BIE metric as a quality measure and employ three image enhancement algorithms for fusion: HE, HS, and IAGCWD. Visual results demonstrating the efficacy of this fusion process are depicted in Figure 8. The final fused image combines details from every image, giving higher coefficients to the best-enhanced methods.

5. Conclusions

In this paper, we introduced groundbreaking methodologies to elevate thermal imagery analysis by optimizing image enhancement techniques. Our work unveiled two pivotal approaches: an innovative entropy formulation designed to enhance uncertainty quantification (UQ) in thermal imaging and a genetic algorithm (GA)-based framework meticulously crafted to improve the quality of thermal images. The experimental validations of these methodologies underscore their effectiveness in augmenting thermal imagery’s reliability and visual clarity. The proposed entropy formulation demonstrated superior performance to conventional entropy metrics, ensuring a more dependable evaluation of thermal images while maintaining their critical characteristics. Moreover, the GA-based framework proved effective in refining thermal images by diminishing artifacts, enhancing contrast, and preserving vital information.
We acknowledge that our proposed enhancement framework has certain limitations. Specifically, the processing time required by our method may be substantial, particularly for images with large dimensions or when numerous optimization steps are involved. This could impede its application in real-time video-processing scenarios where swift data handling is crucial. Future work will aim to optimize the algorithm’s efficiency to better suit real-time applications.
Our contributions significantly advance thermal image analysis by furnishing more rigorous UQ techniques alongside potent enhancement methodologies. These developments hold considerable promise for various applications, from energy efficiency monitoring and medical diagnostics to security surveillance.
Future endeavors could focus on further refining these methodologies and their application in practical settings. Creating annotated thermal image datasets would also facilitate more exhaustive evaluations and validation of thermal image analysis strategies. Through persistent research and innovation, there is tremendous potential to fully harness the capabilities of thermal imaging technology for a myriad of applications, pushing the boundaries of what is currently achievable.

Author Contributions

Conceptualization, S.A.; Methodology, H.A.; Software, H.A.; Formal analysis, A.G.; Resources, H.A.; Writing—original draft, H.A.; Writing—review & editing, A.G. and S.A.; Supervision, A.G. and S.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research is conducted within the ADVANCE Research Grant provided by the Foundation for Armenian Science and Technology funded by Sarkis and Nune Sepetjians.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Rai, M.; Maity, T.; Yadav, R. Thermal imaging system and its real time applications: A survey. J. Eng. Technol. 2017, 6, 290–303. [Google Scholar]
  2. Gallardo-Saavedra, S.; Franco-Mejia, E.; Hernández-Callejo, L.; Duque-Pérez, Ó.; Loaiza-Correa, H.; Alfaro-Mejia, E. Aerial thermographic inspection of photovoltaic plants: Analysis and selection of the equipment. In Proceedings of the ISES Solar World Congress, IEA SHC, Abu Dhabi, United Arab Emirates, 29 October–2 November 2017. [Google Scholar]
  3. Nguyen, T.X.B.; Rosser, K.; Chahl, J. A review of modern thermal imaging sensor technology and applications for autonomous aerial navigation. J. Imaging 2021, 7, 217. [Google Scholar] [CrossRef] [PubMed]
  4. Chrzanowski, K.; Matyszkiel, R.; Fischer, J.; Bareła, J. Uncertainty of temperature measurement with thermal cameras. Opt. Eng. 2001, 40, 1106–1114. [Google Scholar]
  5. Grigoryan, A.M.; Agaian, S.S. Quaternion and Octonion Color Image Processing with MATLAB; SPIE—The International Society for Optical Engineering: Bellingham, WA, USA, 2018. [Google Scholar]
  6. Wilson, A.; Gupta, K.A.; Koduru, B.H.; Kumar, A.; Jha, A.; Cenkeramaddi, L.R. Recent advances in thermal imaging and its applications using machine learning: A review. IEEE Sens. J. 2023, 23, 3395–3407. [Google Scholar] [CrossRef]
  7. Roslidar, R.; Rahman, A.; Muharar, R.; Syahputra, M.R.; Arnia, F.; Syukri, M.; Pradhan, B.; Munadi, K. A review on recent progress in thermal imaging and deep learning approaches for breast cancer detection. IEEE Access 2020, 8, 116176–116194. [Google Scholar] [CrossRef]
  8. Abreu de Souza, M.; Alka Cordeiro, D.C.; Oliveira, J.d.; Oliveira, M.F.A.d.; Bonafini, B.L. 3d multi-modality medical imaging: Combining anatomical and infrared thermal images for 3d reconstruction. Sensors 2023, 23, 1610. [Google Scholar] [CrossRef] [PubMed]
  9. Schuss, C.; Remes, K.; Leppänen, K.; Saarela, J.; Fabritius, T.; Eichberger, B.; Rahkonen, T. Detecting defects in photovoltaic panels with the help of synchronized thermography. IEEE Trans. Instrum. Meas. 2018, 67, 1178–1186. [Google Scholar] [CrossRef]
  10. Dall’O’, G.; Sarto, L.; Panza, A. Infrared screening of residential buildings for energy audit purposes: Results of a field test. Energies 2013, 6, 3859–3878. [Google Scholar] [CrossRef]
  11. Krišto, M. Review of Methods For the Surveillance and Access Control Using The Thermal Imaging System. Rev. Innov. Compet. A J. Econ. Soc. Res. 2016, 2, 71–91. [Google Scholar] [CrossRef]
  12. Jiang, Y.; Liu, Y.; Zhan, W.; Zhu, D. Improved Thermal Infrared Image Super-Resolution Reconstruction Method Base on Multimodal Sensor Fusion. Entropy 2023, 25, 914. [Google Scholar] [CrossRef]
  13. Panetta, K.; Gao, C.; Agaian, S. No reference color image contrast and quality measures. IEEE Trans. Consum. Electron. 2013, 59, 643–651. [Google Scholar] [CrossRef]
  14. Zhai, G.; Min, X. Perceptual image quality assessment: A survey. Sci. China Inf. Sci. 2020, 63, 1–52. [Google Scholar]
  15. Mello Román, J.C.; Vázquez Noguera, J.L.; Legal-Ayala, H.; Pinto-Roa, D.P.; Gomez-Guerrero, S.; García Torres, M. Entropy and contrast enhancement of infrared thermal images using the multiscale top-hat transform. Entropy 2019, 21, 244. [Google Scholar] [CrossRef] [PubMed]
  16. Shannon, C.E. A mathematical theory of communication. Bell Syst. Tech. J. 1948, 27, 379–423. [Google Scholar] [CrossRef]
  17. Bromiley, P.; Thacker, N.; Bouhova-Thacker, E. Shannon entropy, Renyi entropy, and information. Stat. Inf. Ser. 2004, 9, 2–8. [Google Scholar]
  18. Agaian, S.S.; Panetta, K.; Grigoryan, A.M. A new measure of image enhancement. In Proceedings of the IASTED International Conference on Signal Processing & Communication, Malaga, Spain, 19–22 September 2000; pp. 19–22. [Google Scholar]
  19. Agaian, S.S.; Silver, B.; Panetta, K.A. Transform coefficient histogram-based image enhancement algorithms using contrast entropy. IEEE Trans. Image Process. 2007, 16, 741–758. [Google Scholar] [CrossRef]
  20. Lu, L.; Zhou, Y.; Panetta, K.; Agaian, S. Comparative study of histogram equalization algorithms for image enhancement. Mob. Multimed. Image Process. Secur. Appl. 2010, 7708, 337–347. [Google Scholar]
  21. Grigoryan, A.M.; Agaian, S.S. Gradient based histogram equalization in grayscale image enhancement. In Proceedings of the Mobile Multimedia/Image Processing, Security, and Applications, Baltimore, MD, USA, 14–18 April 2019; Volume 10993, pp. 132–142. [Google Scholar]
  22. Huang, S.C.; Cheng, F.C.; Chiu, Y.S. Efficient contrast enhancement using adaptive gamma correction with weighting distribution. IEEE Trans. Image Process. 2012, 22, 1032–1041. [Google Scholar] [CrossRef]
  23. Rahman, S.; Rahman, M.M.; Abdullah-Al-Wadud, M.; Al-Quaderi, G.D.; Shoyaib, M. An adaptive gamma correction for image enhancement. EURASIP J. Image Video Process. 2016, 2016, 35. [Google Scholar] [CrossRef]
  24. Cao, G.; Huang, L.; Tian, H.; Huang, X.; Wang, Y.; Zhi, R. Contrast enhancement of brightness-distorted images by improved adaptive gamma correction. Comput. Electr. Eng. 2018, 66, 569–582. [Google Scholar] [CrossRef]
  25. Chen, S.D.; Ramli, A.R. Minimum mean brightness error bi-histogram equalization in contrast enhancement. IEEE Trans. Consum. Electron. 2003, 49, 1310–1319. [Google Scholar] [CrossRef]
  26. Wang, C.; Ye, Z. Brightness preserving histogram equalization with maximum entropy: A variational perspective. IEEE Trans. Consum. Electron. 2005, 51, 1326–1334. [Google Scholar] [CrossRef]
  27. Zuo, C.; Chen, Q.; Sui, X. Range limited bi-histogram equalization for image contrast enhancement. Optik 2013, 124, 425–431. [Google Scholar] [CrossRef]
  28. Agrawal, S.; Panda, R.; Mishro, P.K.; Abraham, A. A novel joint histogram equalization based image contrast enhancement. J. King Saud Univ.-Comput. Inf. Sci. 2022, 34, 1172–1182. [Google Scholar] [CrossRef]
  29. Alfaro-Mejía, E.; Loaiza-Correa, H.; Franco-Mejía, E.; Restrepo-Girón, A.D.; Nope-Rodríguez, S.E. Dataset for recognition of snail trails and hot spot failures in monocrystalline Si solar panels. Data Brief 2019, 26, 104441. [Google Scholar] [CrossRef]
  30. Najafi, M.; Baleghi, Y.; Gholamian, S.A.; Mirimani, S.M. Fault diagnosis of electrical equipment through thermal imaging and interpretable machine learning applied on a newly-introduced dataset. In Proceedings of the 2020 6th Iranian Conference on Signal Processing and Intelligent Systems (ICSPIS), Mashhad, Iran, 23–24 December 2020; pp. 1–7. [Google Scholar]
  31. Memari, M.; Shekaramiz, M.; Masoum, M.A.; Seibi, A.C. Data Fusion and Ensemble Learning for Advanced Anomaly Detection Using Multi-Spectral RGB and Thermal Imaging of Small Wind Turbine Blades. Energies 2024, 17, 673. [Google Scholar] [CrossRef]
  32. Takumi, K.; Watanabe, K.; Ha, Q.; Tejero-De-Pablos, A.; Ushiku, Y.; Harada, T. Multispectral object detection for autonomous vehicles. In Proceedings of the on Thematic Workshops of ACM Multimedia, Mountain View, CA, USA, 23–27 October 2017; pp. 35–43. [Google Scholar]
  33. Ayunts, H.; Agaian, S. No-Reference Quality Metrics for Image Decolorization. IEEE Trans. Consum. Electron. 2023, 69, 1177–1185. [Google Scholar] [CrossRef]
  34. Katoch, S.; Chauhan, S.S.; Kumar, V. A review on genetic algorithm: Past, present, and future. Multimed. Tools Appl. 2021, 80, 8091–8126. [Google Scholar] [CrossRef] [PubMed]
  35. Yang, X.S.; Hossein Gandomi, A. Bat algorithm: A novel approach for global engineering optimization. Eng. Comput. 2012, 29, 464–483. [Google Scholar] [CrossRef]
  36. Bulanon, D.; Burks, T.; Alchanatis, V. Image fusion of visible and thermal images for fruit detection. Biosyst. Eng. 2009, 103, 12–22. [Google Scholar] [CrossRef]
  37. Kishore, D.R.; Syeda, N.; Suneetha, D.; Kumari, C.S.; Ghantasala, G.P. Multi scale image fusion through Laplacian Pyramid and deep learning on thermal images. Ann. Rom. Soc. Cell Biol. 2021, 25, 3728–3734. [Google Scholar]
Figure 1. Comparison of artificially generated images with identical entropy and standard deviation values.
Figure 1. Comparison of artificially generated images with identical entropy and standard deviation values.
Entropy 26 00374 g001
Figure 2. Thermal image and intentionally distorted versions with identical histogram distributions.
Figure 2. Thermal image and intentionally distorted versions with identical histogram distributions.
Entropy 26 00374 g002
Figure 3. Thermal image enhancement results for different degrees of enhancement with corresponding metric values and various enhancement parameters, demonstrating the monotonic behavior of the BIE measure.
Figure 3. Thermal image enhancement results for different degrees of enhancement with corresponding metric values and various enhancement parameters, demonstrating the monotonic behavior of the BIE measure.
Entropy 26 00374 g003
Figure 4. Visual results of different enhancement methods (from left to right: source image, GC, AGCWD, AGCIE, IAGCWD, HS, HE, CLAHE, MMBEBHE, BPHEME, RLBHE, JHE).
Figure 4. Visual results of different enhancement methods (from left to right: source image, GC, AGCWD, AGCIE, IAGCWD, HS, HE, CLAHE, MMBEBHE, BPHEME, RLBHE, JHE).
Entropy 26 00374 g004
Figure 5. Results of the optimization of GC algorithm (gamma parameter) using E and BIE metrics.
Figure 5. Results of the optimization of GC algorithm (gamma parameter) using E and BIE metrics.
Entropy 26 00374 g005
Figure 6. Results of the optimization of CLAHE algorithm (clip limit (CL) and grid size (GS) parameters) using E and BIE metrics.
Figure 6. Results of the optimization of CLAHE algorithm (clip limit (CL) and grid size (GS) parameters) using E and BIE metrics.
Entropy 26 00374 g006
Figure 7. Results of the optimization of GC and CLAHE algorithms using GA and BA with BIE as a fitness function. Each graph represents the parameter optimization process for each enhanced image. For example, in (ah), the image is the result of the optimization process (a’h’).
Figure 7. Results of the optimization of GC and CLAHE algorithms using GA and BA with BIE as a fitness function. Each graph represents the parameter optimization process for each enhanced image. For example, in (ah), the image is the result of the optimization process (a’h’).
Entropy 26 00374 g007aEntropy 26 00374 g007b
Figure 8. Metric-based fusion of thermal enhancement algorithms.
Figure 8. Metric-based fusion of thermal enhancement algorithms.
Entropy 26 00374 g008
Table 1. Review of thermal image enhancement methods.
Table 1. Review of thermal image enhancement methods.
MethodDescription
GCGamma correction for image enhancement involves adjusting the brightness and contrast of an image by applying a power-law function to the pixel intensities. By manipulating the gamma parameter, typically greater than 1 to darken or less than 1 to brighten, gamma correction effectively enhances the image’s visual appearance, improving its overall quality and contrast.
AGCWD * [22]Adaptive gamma correction with weighting distribution (AGCWD) leverages gamma correction and probability distribution of luminance pixels to enhance the contrast in images efficiently. AGCWD automatically adjusts histograms to improve dimmed images’ brightness and incorporates temporal information from video frames to reduce computational complexity while enhancing video quality. This method has an α = 0.5 parameter.
AGCIE [23]The enhancement works by classifying images based on their statistical information to understand their specific characteristics. Then, an adaptive gamma correction method is applied to adjust parameters tailored to each image class dynamically using the contrast threshold parameter.
IAGCWD [24]Improved adaptive gamma correction enhances contrast in brightness-distorted images using negative images for bright images and gamma correction modulated by truncated cumulative distribution function (CDF) for dimmed ones. The brightness is calculated using the image mean and a threshold parameter. It also effectively addresses deficiencies of the previous adaptive gamma correction (AGC) methods.
HSHistogram stretching is a simple image enhancement technique used to improve the contrast of an image by expanding the range of pixel intensities. It works by mapping the minimum and maximum intensity values in the original image to the desired minimum and maximum values, thereby stretching the histogram and enhancing the overall contrast.
HEHistogram equalization is a technique used to enhance images’ contrast by redistributing pixel intensities. It transforms the image histogram to achieve a more uniform distribution of pixel values, thereby enhancing the overall visual appearance.
CLAHEContrast limited adaptive histogram equalization (CLAHE) is an extension of histogram equalization that limits amplification by constraining the contrast enhancement in localized regions. It divides the image into smaller tiles and individually applies histogram equalization to each tile, preventing overamplification of noise while improving contrast. This method has clip-limit and grid-size parameters.
MMBEBHE [25]Minimum mean brightness error histogram equalization (MMBEBHE) is introduced as an extension of bihistogram equalization (BBHE), focusing on maximizing brightness preservation. Unlike BBHE, which partitions the input image’s histogram based on its mean before equalization, MMBEBHE employs a threshold level to minimize the absolute mean brightness error (AMBE) between input and output means.
BPHEME [26]Brightness preserving histogram equalization with maximum entropy (BPHEME) is another extension of HE. Unlike HE, which focuses solely on maximizing entropy, BPHEME takes a variational approach to identify a target histogram that maximizes entropy while maintaining a fixed mean brightness.
RLBHE [27]Range-limited bihistogram equalization (RLBHE) is an extension of BBHE. RLBHE begins by dividing the input histogram into two independent subhistograms using a threshold that minimizes intraclass variance, effectively separating objects from the background. Subsequently, RLBHE calculates the range of the equalized image to minimize the absolute mean brightness error between the original and equalized images.
JHE [28]The joint histogram equalization (JHE) method enhances image contrast by incorporating neighborhood information through a two-dimensional joint histogram constructed from the original image and its average. Utilizing a two-dimensional cumulative distribution function, it achieves superior contrast enhancement without requiring a target uniform distribution, outperforming traditional histogram equalization techniques. Notably, JHE offers a block size parameter (set to 3 by default) to calculate box blur or average kernel for the joint histogram.
* In some cases, the method abbreviations listed in this table are not official names; they are provided for ease of reference.
Table 2. Entropy-based metric values for images depicted in Figure 2.
Table 2. Entropy-based metric values for images depicted in Figure 2.
ImageE R 2 SD EME *AME *BIE *
I 1 7.2024.86839.899.8920.2890.114
I 2 7.2024.86839.8918.120.3450.045
I 3 7.2024.86839.8928.630.3150.027
* All block-based measures are calculated using b l o c k _ s i z e = 15 parameter value. Bold values indicate the highest metric values in each column.
Table 3. Evaluation of several enhancement methods on thermal datasets using BIE, E, and AME metrics. Each section of the table from top to bottom corresponds to the evaluation results for a specific metric in the order presented.
Table 3. Evaluation of several enhancement methods on thermal datasets using BIE, E, and AME metrics. Each section of the table from top to bottom corresponds to the evaluation results for a specific metric in the order presented.
Dataset/MethodPSTITIEWTBMSOD (NIR)MSOD (MIR)MSOD (FIR)
CG0.1312250.1141270.1744740.1072950.0700080.113759
AGCWD 10.1218930.0568510.1614230.0917120.0482320.085563
AGCIE 10.1321420.3071290.1731780.1348440.2150650.215004
IAGCWD 20.1368300.1673810.1970430.1281730.1413130.155291
HS0.1220640.1447390.1633160.0754830.0423510.078151
HE0.1405600.2962110.2585340.1734920.2560540.225867
CLAHE0.0418230.0830920.0501320.0503190.0622010.037420
MMBEBHE 10.1162360.1383610.1945250.1023520.0616880.107872
BPHEME 10.1059180.0770460.1998750.1113920.1092520.122866
RLBHE 10.1307150.1270870.2111470.1149620.1232200.127129
JHE 30.1410450.2762210.2321450.1596400.2226420.183019
GC7.1070454.1672766.9112696.1970745.1564335.961607
AGCWD7.0558654.0242576.9116526.1594244.9159145.912801
AGCIE7.1160364.0777046.8376986.1451005.1419245.917889
IAGCWD7.4157054.1404066.9170796.1534055.1370775.932568
HS7.0564574.1831806.9247416.2130125.1645015.977861
HE7.9764554.0889966.7985835.9884365.0782285.843730
CLAHE7.9312526.5850757.7538677.2641237.7155047.928340
MMBEBHE7.7180644.1202976.7660516.0676905.0799545.822866
BPHEME7.8707704.0961936.7936336.0276755.1126145.834179
RLBHE7.6563214.0692766.7919515.9893755.0629805.814365
JHE7.9876314.8291977.6686696.8554456.0453237.701134
GC0.2772260.1659620.2060590.2574790.1678800.249846
AGCWD0.2686770.1935790.2012330.2657150.1940740.271587
AGCIE0.2788110.2046820.1970640.2648490.2520050.254256
IAGCWD0.2823400.2237020.2314610.2704700.2326190.260823
HS0.2687910.1948170.2055810.2671100.2508200.288561
HE0.2248240.2000930.2606880.2405980.2451180.262848
CLAHE0.1814850.2595750.2285480.2182060.2624720.156850
MMBEBHE0.2673130.1850090.2402300.2379010.2390840.262351
BPHEME0.2298500.2361510.2475980.2460170.2614230.257686
RLBHE0.2998030.1821220.2520020.2654220.2550650.261913
JHE0.2243100.1991600.2588970.2408350.2437700.264548
1 The implementations are taken from https://github.com/Nguyen-Hoang-Nam/image-enhancement (accessed on 20 March 2024). 2 The implementation is taken from https://github.com/leowang7/iagcwd (accessed on 20 March 2024). 3 The implementation is taken from https://github.com/dengyueyun666/Image-Contrast-Enhancement (accessed on 20 March 2024).
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ayunts, H.; Grigoryan, A.; Agaian, S. Novel Entropy for Enhanced Thermal Imaging and Uncertainty Quantification. Entropy 2024, 26, 374. https://doi.org/10.3390/e26050374

AMA Style

Ayunts H, Grigoryan A, Agaian S. Novel Entropy for Enhanced Thermal Imaging and Uncertainty Quantification. Entropy. 2024; 26(5):374. https://doi.org/10.3390/e26050374

Chicago/Turabian Style

Ayunts, Hrach, Artyom Grigoryan, and Sos Agaian. 2024. "Novel Entropy for Enhanced Thermal Imaging and Uncertainty Quantification" Entropy 26, no. 5: 374. https://doi.org/10.3390/e26050374

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