Analysis Equalization Images Contrast Enhancement and Performance Measurement

Abstract

These days, image processing is crucial, particularly when it comes to enhancing brightness, contrast, and image quality. The goal of this research is to develop three distinct methods for manipulating images and evaluating them using histogram, entropy, and PSNR—two image-specific metrics. Frame Fusion produces excellent results in image contrast, brightness, and enhancement through the standards of PSNR, histogram, and entropy. In comparison to its competitors, the technology performed better in terms of high pixel uniformity in images, consistency efficiency, processing and execution speed, and contrast quality. The aforementioned findings lead us to the conclusion that exposure frame fusion technology is highly effective at figuring out how to improve the contrast and brightness of computer images. Three image processing techniques were used: exposure frame fusion, dynamic histogram equalization, and histogram equalization. A comparison of the techniques using quantitative and physical criteria revealed that histogram equalization outperformed dynamic contrast techniques in several areas, including image uniformity, contrast quality, efficiency, execution speed, and accuracy of results. It is advised to use exposure frame fusion in addition to histogram equalization since it is the brightest, clearest, and most like the original images.

Share and Cite:

Talab, A. , Younis, N. and Ahmed, M. (2024) Analysis Equalization Images Contrast Enhancement and Performance Measurement. Open Access Library Journal, 11, 1-11. doi: 10.4236/oalib.1111388.

1. Introduction

“Contrast” describes taking pictures with a professional camera vs a cell phone. One of the most crucial words a photographer understands is this one. However, when it comes to displaying a photo, contrast and adjustability are two of the most crucial elements that may be quite helpful. If we have sufficient knowledge about picture contrast, it may quickly change the desired photographs and provide the intended outcome. We’ll talk about visual contrast in this part. The concept and uses of contrast, several methods of enhancing contrast, and other topics that can be quite helpful in our activities are explored [1] .

This study deals with a specific set of techniques used to process images, as well as evaluating the performance of techniques used to increase the level of brightness, know the contrast of images and analyze them.

The degree of color or grayscale distinction between various visual components in analog and digital images is referred to as contrast. Those with greater contrast levels frequently show more color or grayscale variation than those with lower contrast levels [2] . The process of measuring an image’s brightness, also referred to as luminous brightness, the degree of color or grayscale distinction between various visual components in analog and digital images is referred to as contrast. Those with greater contrast levels frequently show more color or grayscale variation than those with lower contrast levels [3] . The images are converted to grayscale and processed for clearer analysis.

The following sections represent this paper: Section 1: Introduction; Section 2: Related Work; Section 3: Methodology; Section 4: Experimental Outcomes; Section 5: Discussion; and Section 6: Conclusion.

2. Related Work

The goal of this study was to enhance images so that they could disclose information that is hidden from the observer because of low or weak contrast when the image is being acquired. They found that increasing contrast can improve the quality of images. Contrast enhancement is widely used in many different industries, such as medical imaging systems and satellite imaging systems since it enhances feature visibility. The survey resulted in the researchers’ conclusion that structural information loss, brightness preservation, entropy preservation, etc. should all be taken into account while enhancing contrast. The method was validated by researchers using a variety of performance criteria, including both qualitative and quantitative approaches. Entropy is the most important performance metric when assessing algorithms. In our study, entropy was used for the same purpose to evaluate the techniques used [4] .

Akila, K., Jayashree, L.S., et al. interested in the field of processing mammograms in contrast enhancement. Direct contrast enhancement and direct contrast enhancement are the two categories into which it can be divided. Indirect contrast enhancement entails altering the image’s histogram. The most popular and straightforward indirect contrast enhancement method is histogram equalization (HE). It is crucial to compare these methods to select an appropriate algorithm for improvement and additional processing. In this work, it has been preprocessed the mammography images using a few methods for indirect contrast enhancement are MMBEBHE, RMSHE, CLAHE, BBHE, and histogram equalization. Effective measure of enhancement (EME) and peak signal-to-noise ratio (PSNR) are used to evaluate the effectiveness of the approaches. In our study, PSNR was used for the same purpose to evaluate the techniques used [5] .

Maragatham, G. and others in this study are to give a thorough analysis and a survey of the current image enhancement techniques along with their descriptions. The majority of the photos have poor contrast because of factors such as bad weather, inadequate lighting, and the capturing device. An object in an image can be distinguished from other objects and the background thanks to contrast. By increasing the dynamic range of the input gray level, contrast enhancement enhances the visual quality of images for human observers. Many improvement methods have been developed, but none of them are thought to be universal, so their use is limited. From this study, we decided to choose the grayscale image, it is essential to give a thorough overview of these contrast enhancement methods used in digital image processing in such a situation [6] . Maragatham, G., and others in this study are to give a thorough analysis and a survey of the current image enhancement techniques along with their descriptions. The majority of the photos have poor contrast because of factors such as bad weather, inadequate lighting, and the capturing device. An object in an image can be distinguished from other objects and the background thanks to contrast. By increasing the dynamic range of the input gray level, contrast enhancement enhances the visual quality of images for human observers. Many improvement methods have been developed, but none of them are thought to be universal, so their use is limited. From this study, we decided to choose the grayscale image. It is essential to give a thorough overview of these contrast enhancement methods used in digital image processing in such a situation [6] .

Image enhancement is crucial, particularly for the analysis and diagnosis of detailed data, as Mustafa, Wan Azani, et al. found. The majority of research on image enhancement concentrates on contrast normalization. In general, contrast controls how easily detail in an image can be identified, how information in an image can be understood, as well as the locations of interesting items. In-depth reviews of the spatial domain (Histogram Equalization, or HE), frequency domain (Discrete Wavelet Transform, or DWT), and homomorphic filtering methods for picture improvement are presented in this study. Systematic explanations were provided for method improvement and modification. This work aimed to compare the performance of the results and examine the benefits and limitations of each method. In addition, this study emphasizes the significance of contrast enhancement for enhancing the system’s performance, particularly concerning accuracy and sensitivity, while concentrating on a variety of application kinds. To improve our understanding of picture enhancement, earlier research was examined and contrasted critically. Proposals for fresh approaches to picture enhancement research were made [7] . In addition, this study emphasizes the significance of contrast enhancement for enhancing the system’s performance, particularly with regard to accuracy and sensitivity, while concentrating on a variety of application types. To improve our understanding of image enhancement, earlier research was examined and contrasted critically. Novel concepts for additional investigation and advancement in image enhancement were put forth [3] .

3. Methodology

In this study, the goal was to enhance images to disclose information that is hidden from the observer because of low and weak contrast at the time of image acquisition. It has been found that increasing contrast can improve the quality of images. It turns out that in analog and digital images, contrast refers to how many different colors or grayscales can be distinguished between various image features. Higher contrast levels often exhibit more color or grayscale [8] contrast when compared to lower contrast levels in physical gradation images. It is concluded that while optimizing variance, it is important to take into account factors like brightness preservation, entropy preservation, and loss of structural information. The method was validated using a variety of performance criteria, including both qualitative and quantitative means. Entropy [9] is the standard by which algorithms are judged, along with metrics like PSNR and histogram that gauge how well pixels flow and coherence in an image [10] .

There are different types of contrast: Tonal disparity, High contrast, and Low contrast. In this research [11] , four images are used to apply three image enhancement and processing techniques that represent the mentioned types of contrast. The first technique is histogram equalization, the second is dynamic histogram equalization [12] , and the third is Exposure Fusion Framework which is a new Image Contrast Enhancement Algorithm. Also, we are measuring performance of techniques by Entropy, PSNR and Histogram.

3.1. Exposure Fusion Framework

The most popular method for producing high dynamic range (HDR) images is exposure fusion, which combines exposure images taken of the same scene. However, conventional exposure fusion algorithms lose detail in the scene’s brightest and darkest areas. Through the use of multi-exposure fusion, Exposure Fusion illustrates how image sequences with different exposures may be immediately formed into a low dynamic range image or tone-mapped to one after the high dynamic range has been recovered [13] .

Three different approaches are frequently used to fuse images in the spatial domain: pixel-based methods, pixel-based methods, and source image-based methods. The fused image’s pixel values are calculated directly from the source image’s pixel values. Three different approaches are frequently used to fuse images in the spatial domain: pixel-based methods, pixel-based methods, and source image-based methods as in Figure 1. The fused image’s pixel values are

Figure 1. Exposure fusion framework [15] .

calculated directly from the source image’s pixel values [14] .

3.2. The Entropy

Entropy is the quantity of thermal energy per unit temperature in a system that cannot be put to use in productive labor. Since work is created from organized molecular motion, entropy is a measure of molecular disorder, or unpredictability, in a system. The concept of entropy provides deep insight into the direction of spontaneous change for a wide range of everyday events. Rudolf Clausius, a German scientist, introduced it in 1850, marking a zenith of 19th-century physics [16] .

H 1 = k p k log 2 ( p k ) (1)

where pk is the probability connected to gray level k, gray levels are represented by K, while entropy is represented by H1.

3.3. PSNR (Peak Signal-to-Noise Ratio)

It is possible to evaluate the quality of the coding as the PSNR criteria analyzes picture quality and shows pixel variations between the original and encrypted image. A PSNR value, consisting of eight bits per pixel, is determined by the pixel itself. The higher quality of the encryption techniques is indicated by the lower value [17] . The formula for calculating PSNR value is MAX, which is the highest value that a pixel can capture. MAX is 255 for the entire value. P represents the original, unencrypted image, C represents the encrypted image, and n, m denotes the image’s width and height [18] .

P S N R = 10 × log 10 [ M A X 2 M S E ] (2)

M S E = 1 n × m i = 1 n j = 1 m [ P ( i , j ) C ( i , j ) ] 2 (3)

3.4. The Histogram

The images and covariance values were extracted using histogram analysis. A visual representation of the numerical data is provided by indicating how many of the figure’s data points fall inside a particular range. The graph displays the pixel density values’ frequency distribution since the original pictures’ pixel density values are dispersed, but the encoded images’ pixel density values should be uniform. The difference between the encrypted and conventional picture histograms prevents data leaking [19] .

4. Experimental Results

Three contrast operations―exposure frame fusion, dynamic histogram equalization, and histogram equalization are applied to four natural images that are representative of original images in grayscale as in Table 1, helps improve contrast and brightness differences between objects and backgrounds, as well as object visibility in the image [20] . To put it another way, the idea is to increase visibility by adjusting and reallocating pixel density. Contrast enhancement is an essential preprocessing step in realistic machine vision systems. Applications for contrast enhancement are numerous, spanning from manufacturing to astronomy to medicine, and they apply in any scenario where images are processed under less-than-ideal lighting. After that, PSNR, Entropy, and Histogram techniques are used to measure the contrast of images and find out the best techniques for contrast to find the best method to use.

Value results were collected for images, and the values were collected based on implementation. Table 1 shows the contrast values of the four images and their size in bits for all three techniques. The Exposure Frame Fusion technique recorded the most contrast and clarity over the original images. Additionally, the size of the images in this technique is smaller than the rest of the techniques used and closest to the size of the original images, but this measurement alone is not sufficient, and standards are used. Others, such as entropy PSNR and histogram, to find the optimal image contrast method.

4.1. Histogram Analysis

Table 2 shows the histograms of the four original images with the contrast images modified by the three techniques: exposure frame fusion, dynamic histogram equalization, and histogram equalization.

The graphs of the exposure frame fusion, dynamic histogram equalization, and histogram equalization-based enhancement images are displayed in Table 2. The pixel density on the graph was successfully distributed uniformly by exposure frame and histogram equalization. In comparison to the others, which scattered the pixel values in the graph and the pixel density values in the photographs’ uniform, the exposure frame images were the most comparable to the original images.

4.2. PSNR Analyses

Table 3 illustrates the pixel change between the normal image and the modified images across all techniques, which is used to assess the contrast quality of

Table 1. Natural shapes and sizes of four original images enhancement.

images by comparing the quality of the normal image with each of the three contrast techniques. Higher quality approaches and exposure frame and histogram equalization techniques result from the output’s indication that the PSNR value in exposure and histogram images is lower than in dynamic images.

4.3. Entropy Analyses

Table 4 displays the entropy measurements for the first image for both the original and the contrast image created with the three suggested contrast methods. The location of each pixel in an image can be used to calculate its consistency and noise level. The entropy value decreases as the image’s consistency increases.

It was concluded from the results that the consistency of images modified

Table 2. Natural shapes of four images histogram.

Table 3. PSNR values.

using Exposure is the best, unlike images modified using other techniques, which have a large entropy value.

5. Discussion

Through PSNR, histogram, and entropy criteria, exposure frame fusion technology delivered outstanding results in image contrast, brightness and enhancement. The technology outperformed the competition in terms of contrast quality, closeness to the original images, processing and execution speed, consistency efficiency, and high pixel uniformity in the images.

Table 4. Entropy for original, dynamic exposure and histogram image.

6. Conclusion

Based on the aforementioned findings, we can conclude that the exposure frame merging technique is superior for identifying the best course of action for enhancing the contrast and brightness of computer system images. Histogram equalization, dynamic histogram equalization, and exposure frame fusion were the three image processing methods applied. Exposure frame performed better than dynamic contrast techniques in many areas, including image uniformity, contrast quality, and efficiency, speed of implementation, and accuracy of results, according to a comparison of the techniques using quantitative and physical criteria. Since this technology is the brightest, clearest, and most similar to the original images, it is advised to use it in addition to histogram equalization. As a result, it excelled in other criteria such as accuracy, efficiency, and reliability.

Conflicts of Interest

The authors declare no conflicts of interest.

References

[1] Pathak, S.S., Dahiwale, P. and Padole, G. (2015) A Combined Effect of Local and Global Method for Contrast Image Enhancement. 2015 IEEE International Conference on Engineering and Technology (ICETECH), Coimbatore, 20 March 2015, 1-5. https://doi.org/10.1109/ICETECH.2015.7275011
[2] Asamoah, D., Ofori, E., Opoku, S. and Danso, J. (2018) Measuring the Performance of Image Contrast Enhancement Technique. International Journal of Computer Applications, 181, 6-13. https://doi.org/10.5120/ijca2018917899
[3] Mustafa, W.A. and Yazid, H. (2017) Image Enhancement Technique on Contrast Variation: A Comprehensive Review. Journal of Telecommunication, Electronic and Computer Engineering, 9, 199-204.
[4] Vijayalakshmi, D., Nath, M.K. and Acharya, O.P. (2020) A Comprehensive Survey on Image Contrast Enhancement Techniques in Spatial Domain. Sensing and Imaging, 21, Article No. 40. https://doi.org/10.1007/s11220-020-00305-3
[5] Akila, K., Jayashree, L. and Vasuki, A. (2015) Mammographic Image Enhancement Using Indirect Contrast Enhancement Techniques—A Comparative Study. Procedia Computer Science, 47, 255-261. https://doi.org/10.1016/j.procs.2015.03.205
[6] Maragatham, G. and Roomi, S.M.M. (2015) A Review of Image Contrast Enhancement Methods and Techniques. Research Journal of Applied Sciences, Engineering and Technology, 9, 309-326. https://doi.org/10.19026/rjaset.9.1409
[7] Singh, G. and Mittal, A. (2014) Various Image Enhancement Techniques—A Critical Review. International Journal of Innovation and Scientific Research, 10, 267-274.
[8] Wan, S., Xia, Y., Qi, L., Yang, Y.H. and Atiquzzaman, M. (2020) Automated Colorization of a Grayscale Image with Seed Points Propagation. IEEE Transactions on Multimedia, 22, 1756-1768. https://doi.org/10.1109/TMM.2020.2976573
[9] George, E.P., Raabe, D. and Ritchie, R.O. (2019) High-Entropy Alloys. Nature Reviews Materials, 4, 515-534. https://doi.org/10.1038/s41578-019-0121-4
[10] Setiadi, D.R.I.M. (2021) PSNR vs SSIM: Imperceptibility Quality Assessment for Image Steganography. Multimedia Tools and Applications, 80, 8423-8444.
https://doi.org/10.1007/s11042-020-10035-z
[11] Reinhard, E., Stark, M., Shirley, P. and Ferwerda, J. (2023) Photographic Tone Reproduction for Digital Images. Seminal Graphics Papers: Pushing The Boundaries, 2, 661-670. https://doi.org/10.1145/3596711.3596781
[12] Dhal, K.G., Das, A., Ray, S., Gálvez, J. and Das, S. (2021) Histogram Equalization Variants as Optimization Problems: A Review. Archives of Computational Methods in Engineering, 28, 1471-1496. https://doi.org/10.1007/s11831-020-09425-1
[13] Kumar, A., Jha, R.K. and Nishchal, N.K. (2021) An Improved Gamma Correction Model for Image Dehazing in a Multi-Exposure Fusion Framework. Journal of Visual Commu-Nication and Image Representation, 78, Article ID: 103122.
https://doi.org/10.1016/j.jvcir.2021.103122
[14] Qu, L., Liu, S., Wang, M. and Song, Z. (2022) Transmef: A Transformer-Based Mul-Ti-Exposure Image Fusion Framework Using Self-Supervised Multi-Task Learning. Proceedings of the AAAI Conference on Artificial Intelligence, 36, 2126-2134. https://doi.org/10.1609/aaai.v36i2.20109
[15] Singh, H., Kumar, V. and Bhooshan, S. (2014) A Novel Approach for Detail-Enhanced Exposure Fusion Using Guided Filter. The Scientific World Journal, 2014, Article ID: 659217.
[16] Almheiri, A., Hartman, T., Maldacena, J., Shaghoulian, E. and Tajdini, A. (2021) The Entropy of Hawking Radiation. Reviews of Modern Physics, 93, Article ID: 035002. https://doi.org/10.1103/RevModPhys.93.035002
[17] Alhayani, M. and Al-Khiza’Ay, M. (2022) Analyze Symmetric and Asymmetric Encryption Techniques by Securing Facial Recognition System. In: Ben Ahmed, M., Abdelhakim, B.A., Ane, B.K. and Rosiyadi, D., Eds., NISS 2022: Emerging Trends in Intelligent Systems & Network Security, Springer, Cham, 97-105.
https://doi.org/10.1007/978-3-031-15191-0_10
[18] Baig, M.A., Moinuddin, A.A. and Khan, E. (2019) PSNR of Highest Distortion Region: An Effective Image Quality Assessment Method. 2019 International Conference on Electrical, Electronics and Computer Engineering (UPCON), Aligarh, 8-10 November 2019, 1-4. https://doi.org/10.1109/UPCON47278.2019.8980171
[19] Bottenus, N., Byram, B.C. and Hyun, D. (2020) Histogram Matching for Visual Ultrasound Image Comparison. IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control, 68, 1487-1495. https://doi.org/10.1109/TUFFC.2020.3035965
[20] Zhao, J.X., Cao, Y., Fan, D.P., Cheng, M.M., Li, X.Y. and Zhang, L. (2019) Contrast Prior and Fluid Pyramid Integration for RGBD Salient Object Detection. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, 15-20 June 2019, 3922-3931. https://doi.org/10.1109/CVPR.2019.00405

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.