Image Visual Quality: Sharpness Evaluation in the Logarithmic Image Processing Framework
Abstract
:1. Introduction
- The notion of boundary does not exist in discrete spaces. To understand this, let us consider a binary image, in which a given pixel is either white (object) or black (background). In such a case, no pixel in D can belong to the image theoretical boundary, which is supposed to separate white and black pixels (cf. Figure 1).
- 1.
- The notion of gradient supposes the existence of the derivative function of the image at a pixel . Unfortunately, it is not possible to perform such an operation inside a discrete space, given that a pixel x cannot tend toward .
- 2.
- Almost all existing gradients take values that are not limited to the digitization scale and require truncations or rescaling that disrupt the information, making it impossible to compare algorithms based on different gradients.
- 3.
- Moreover, none of the standard gradients takes account of the human visual system.
- -
- Create objectively defocused image sequences.
- -
- Associate contrast maps with these images.
- -
- Choose the LIP (Logarithmic Image Processing) framework for both its consistency with human vision and its ability to define a contrast that naturally takes its values in the grey scale.
- -
- Extract very simple parameters from these contrast maps.
- -
- Check that these parameters reorder the defocused images in the right order.
2. Materials and Methods
2.1. Recall on the LIP Framework
2.2. Initial Image Database
2.3. Method
- -
- The Average Logarithmic Additive Contrast :
- -
- The Maximal Logarithmic Additive Contrast :
2.4. Results
2.5. Comparison with Existing Methods
- -
- For all six algorithms, values range from 33.24 to 2593.19.
- -
- The MLAC method is the only one whose values vary little as a function of exposure time.
- -
- The first quality we expect from a sharpness evaluation method is its ability to re-order the nine focus levels in the right order for the same exposure time. On the previous curves, this means that the curves never intersect. This property is obviously unsatisfied with the first four methods, for which we observe curve crossings. We now need to compare the Laplacian and MLAC algorithms.
- -
- The curves for the blurriest images (numbers 5, 6, 7, and 8) are less well separated for Laplacian than for MLAC.
2.6. Possible Extensions
- -
- Define a sharpness criterion without reference.
- -
- Test other parameters than the mean and standard deviation.
- -
- Introduce local processing.
- -
- Undertake subjective user validation.
- -
- Comparison of two Super-Resolution algorithms.
- -
- Control of an autofocus during the automatic screening of a cell preparation using a microscope.
3. Applications
3.1. Comparison of Two Super-Resolution Algorithms
3.2. Automated Autofocus Control
4. General Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
Appendix A
- Kullback–Leibler divergence
- b.
- Hellinger metric
- c.
- Wasserstein distance
References
- Zhu, M.; Yu, L.; Wang, Z.; Ke, Z.; Zhi, C. A Survey on Objective Evaluation of Image Sharpness. Appl. Sci. 2023, 13, 2652. [Google Scholar] [CrossRef]
- Elder, J.H.; Zucker, S.W. Local scale control for edge detection and blur estimation. IEEE Trans. Pattern Anal. Mach. Intell. 1998, 20, 699–716. [Google Scholar] [CrossRef]
- Kim, D.-O.; Han, H.-S.; Park, R.-H. Gradient information-based image quality metric. IEEE Trans. Consum. Electron. 2010, 56, 930–936. [Google Scholar] [CrossRef]
- Xue, W.; Zhang, L.; Mou, X.; Bovik, A.C. Gradient magnitude similarity deviation: A highly efficient perceptual image quality index. IEEE Trans. Image Process. 2013, 23, 684–695. [Google Scholar] [CrossRef] [PubMed]
- Liu, Z.; Hong, H.; Gan, Z.; Wang, J.; Chen, Y. An improved method for evaluating image sharpness based on edge information. Appl. Sci. 2022, 12, 6712. [Google Scholar] [CrossRef]
- Cong, H.; Fu, L.; Zhang, R.; Zhang, Y.; Wang, H.; He, J.; Gao, J. Image Quality Assessment with Gradient Siamese Network. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 17–21 June 2022; pp. 1201–1210. [Google Scholar]
- Chen, L.; Pan, J.; Yang, J.; Wang, M. CS-Net: Deep Multi-Branch Network Considering Scene Features for Sharpness Assessment of Remote Sensing Images. IEEE Trans. Geosci. Remote Sens. 2024, 62, 5404314. [Google Scholar] [CrossRef]
- Yang, M.; Yin, G.; Wang, H.; Dong, J.; Xie, Z.; Zheng, B. A underwater sequence image dataset for sharpness and color analysis. Sensors 2022, 22, 3550. [Google Scholar] [CrossRef] [PubMed]
- Ryu, J.K.; Kim, K.H.; Otgonbaatar, C.; Kim, D.S.; Shim, H.; Seo, J.W. Improved stent sharpness evaluation with super-resolution deep learning reconstruction in coronary CT angiography. Br. J. Radiol. 2024, 97, 1286–1294. [Google Scholar] [CrossRef] [PubMed]
- Wan, J.; Zhang, X.; Yang, W.; Zhang, C.; Lei, M.; Dong, Z. A calibration method for defocused cameras based on defocus blur estimation. Measurement 2024, 235, 115045. [Google Scholar] [CrossRef]
- Gvozden, G.; Grgic, S.; Grgic, M. Blind image sharpness assessment based on local contrast map statistics. J. Vis. Commun. Image Represent. 2018, 50, 145–158. [Google Scholar] [CrossRef]
- Jourlin, M.; Pinoli, J.-C. A model for Logarithmic Image Processing. J. Microsc. 1988, 149, 21–35. [Google Scholar] [CrossRef]
- Jourlin, M. Logarithmic Image Processing: Theory and Applications; Academic Press: Cambridge, MA, USA, 2016; Volume 195, 260p. [Google Scholar]
- Brailean, J.; Sullivan, B.; Chen, C.; Giger, M. Evaluating the em algorithm using a human visual fidelity criterion. Int. Conf. Acoust. Speech Signal Process. 1991, 6, 2957–2960. [Google Scholar]
- Pertuz, S.; Puig, D.; Garcia, M.A. Analysis of focus measure operators for shape-from-focus. Pattern Recognit. 2013, 46, 1415–1432. [Google Scholar] [CrossRef]
- Kullback, S.; Leibler, R.A. On information and sufficiency. Ann. Math. Stat. 1951, 22, 79–86. [Google Scholar] [CrossRef]
- Pheng, H.S.; Shamsuddin, S.M.; Leng, W.Y.; Alwee, R. Kullback-Leibler divergence for image quantitative evaluation. AIP Conf. Proc. 2016, 1750, 020003. [Google Scholar]
- Gupta, A.; Kochchar, S.K.; Joshi, A. Image Classifier based on Histogram Matching and Outlier Detection using Hellinger distance. J. Appl. Data Sci. 2023, 4, 407–413. [Google Scholar] [CrossRef]
- Dobrushin, R.L. Prescribing a system of random variables by conditional distributions. Theory Probab. Its Appl. 1970, 15, 458–486. [Google Scholar] [CrossRef]
- Carré, M.; Jourlin, M. Brightness Spatial Stabilization in the LIP framework. In Proceedings of the 14th International Congress for Stereology and Image Analysis, Liège, Belgium, 7–10 July 2015. [Google Scholar]
- Parsania, P.S.; Virparia, P.V. A Review: Image Interpolation Techniques for Image Scaling. Int. J. Innov. Res. Comput. Commun. Eng. 2014, 2, 7409–7414. [Google Scholar] [CrossRef]
- Zhang, K.; Liang, J.; Van Gool, L.; Timofte, R. Designing a Practical Degradation Model for Deep Blind Image Super-Resolution. In Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, QC, Canada, 10–17 October 2021; pp. 4791–4800. [Google Scholar]
Image | Average | Std Dev |
Chart 1 | 38.95 | 37.19 |
Chart 2 | 34.66 | 34.06 |
Chart 3 | 28.21 | 29.01 |
Chart 4 | 20.29 | 20.60 |
Chart 5 | 16.02 | 15.24 |
Chart 6 | 13.89 | 12.48 |
Image | Average | Std Dev |
Tools 1 | 40.66 | 32.75 |
Tools 2 | 36.83 | 28.67 |
Tools 3 | 32.35 | 24.01 |
Tools 4 | 25.51 | 17.26 |
Tools 5 | 21.41 | 13.44 |
Tools 6 | 18.99 | 11.49 |
Image | Focus | Exposition | Local_Var | Tenengrad | Brenner | Sobel_Var | Laplacian | MLAC |
---|---|---|---|---|---|---|---|---|
0_20, bmp | 0 | 20 | 98.12 | 33.24 | 48.68 | 531.18 | 660.35 | 73.28 |
0_30, bmp | 0 | 30 | 118.34 | 45.78 | 63.23 | 954.54 | 875.49 | 73.27 |
0_40, bmp | 0 | 40 | 126.78 | 56.83 | 73.90 | 1452.53 | 1043.38 | 72.55 |
0_50, bmp | 0 | 50 | 131.80 | 66.83 | 82.57 | 2016.37 | 1176.15 | 71.96 |
0_60, bmp | 0 | 60 | 130.09 | 75.32 | 89.93 | 2593.19 | 1287.39 | 71.31 |
Local_Var | Focus | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
exposition | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
20 | 74.4 | 70.0 | 72.3 | 73.0 | 75.2 | 76.7 | 77.2 | 77.4 | 77.2 | 77.9 |
30 | 89.8 | 84.6 | 83.1 | 83.9 | 87.8 | 88.4 | 88.6 | 88.0 | 87.6 | 87.3 |
40 | 96.2 | 93.0 | 89.5 | 89.9 | 91.6 | 92.8 | 93.4 | 93.7 | 93.1 | 92.0 |
50 | 100.0 | 99.2 | 93.9 | 94.0 | 94.3 | 95.7 | 96.9 | 96.6 | 96.1 | 95.4 |
60 | 98.7 | 99.0 | 96.4 | 95.7 | 97.3 | 96.1 | 97.4 | 97.6 | 97.8 | 97.1 |
Tenengrad | focus | |||||||||
exposition | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
20 | 44.1 | 36.7 | 28.5 | 25.9 | 25.7 | 23.8 | 21.8 | 20.0 | 18.2 | 16.9 |
30 | 60.8 | 53.1 | 40.4 | 37.1 | 38.8 | 34.9 | 32.2 | 29.5 | 26.8 | 24.9 |
40 | 75.5 | 65.2 | 50.9 | 46.9 | 46.5 | 44.5 | 41.6 | 38.4 | 35.1 | 32.6 |
50 | 88.7 | 82.8 | 59.8 | 55.6 | 52.4 | 49.8 | 50.0 | 46.5 | 42.7 | 39.9 |
60 | 100.0 | 93.6 | 67.8 | 63.1 | 65.5 | 55.5 | 57.6 | 53.7 | 49.3 | 46.2 |
Brenner | focus | |||||||||
exposition | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
20 | 54.1 | 44.6 | 38.0 | 36.1 | 38.5 | 37.1 | 34.9 | 32.6 | 29.2 | 25.9 |
30 | 70.3 | 62.8 | 52.9 | 50.9 | 55.9 | 53.1 | 50.9 | 48.9 | 45.4 | 42.4 |
40 | 82.2 | 75.1 | 64.7 | 62.4 | 64.8 | 65.0 | 63.0 | 60.5 | 57.5 | 55.5 |
50 | 91.8 | 89.8 | 75.1 | 72.6 | 70.9 | 70.5 | 74.4 | 71.1 | 67.7 | 65.1 |
60 | 100.0 | 97.7 | 83.5 | 81.0 | 86.6 | 77.2 | 82.1 | 80.2 | 76.9 | 73.6 |
Sobel_Var | focus | |||||||||
exposition | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
20 | 18.6 | 16.4 | 15.6 | 14.8 | 16.0 | 16.0 | 15.4 | 14.7 | 14.2 | 13.6 |
30 | 33.4 | 30.6 | 29.3 | 28.9 | 34.3 | 33.2 | 32.2 | 31.0 | 29.9 | 29.1 |
40 | 50.9 | 44.7 | 44.4 | 44.2 | 48.8 | 52.8 | 53.1 | 51.8 | 50.5 | 49.2 |
50 | 70.6 | 71.9 | 60.0 | 60.5 | 61.6 | 66.2 | 75.7 | 74.9 | 74.0 | 73.0 |
60 | 90.8 | 93.4 | 76.3 | 77.3 | 94.0 | 81.7 | 100.0 | 99.6 | 98.4 | 97.7 |
Laplacian_Var | focus | |||||||||
exposition | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
20 | 51.3 | 36.0 | 7.4 | 5.3 | 3.9 | 2.6 | 1.8 | 1.4 | 1.0 | 0.8 |
30 | 68.0 | 41.6 | 12.0 | 8.9 | 6.7 | 4.6 | 3.3 | 2.5 | 1.8 | 1.4 |
40 | 81.0 | 43.5 | 15.5 | 12.1 | 9.3 | 6.7 | 5.0 | 3.8 | 2.8 | 2.1 |
50 | 91.4 | 49.4 | 17.8 | 14.4 | 11.4 | 8.4 | 6.6 | 5.2 | 3.8 | 3.0 |
60 | 100.0 | 53.2 | 19.2 | 15.9 | 13.0 | 9.9 | 7.8 | 6.2 | 4.8 | 3.8 |
MLAC | focus | |||||||||
exposition | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
20 | 100.0 | 90.4 | 71.8 | 67.2 | 61.2 | 56.1 | 52.8 | 49.5 | 45.9 | 43.6 |
30 | 100.0 | 86.3 | 69.3 | 64.9 | 59.9 | 55.2 | 51.5 | 48.0 | 44.2 | 41.5 |
40 | 99.0 | 85.6 | 68.0 | 63.5 | 58.8 | 53.8 | 50.2 | 46.6 | 42.8 | 40.1 |
50 | 98.2 | 83.8 | 67.0 | 62.5 | 58.7 | 53.3 | 49.2 | 45.8 | 42.0 | 39.3 |
60 | 97.3 | 82.9 | 66.1 | 61.7 | 56.9 | 52.9 | 48.5 | 45.0 | 41.2 | 38.6 |
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. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Pauwelyn, A.; Carré, M.; Jourlin, M.; Ginhac, D.; Meriaudeau, F. Image Visual Quality: Sharpness Evaluation in the Logarithmic Image Processing Framework. Big Data Cogn. Comput. 2025, 9, 154. https://doi.org/10.3390/bdcc9060154
Pauwelyn A, Carré M, Jourlin M, Ginhac D, Meriaudeau F. Image Visual Quality: Sharpness Evaluation in the Logarithmic Image Processing Framework. Big Data and Cognitive Computing. 2025; 9(6):154. https://doi.org/10.3390/bdcc9060154
Chicago/Turabian StylePauwelyn, Arnaud, Maxime Carré, Michel Jourlin, Dominique Ginhac, and Fabrice Meriaudeau. 2025. "Image Visual Quality: Sharpness Evaluation in the Logarithmic Image Processing Framework" Big Data and Cognitive Computing 9, no. 6: 154. https://doi.org/10.3390/bdcc9060154
APA StylePauwelyn, A., Carré, M., Jourlin, M., Ginhac, D., & Meriaudeau, F. (2025). Image Visual Quality: Sharpness Evaluation in the Logarithmic Image Processing Framework. Big Data and Cognitive Computing, 9(6), 154. https://doi.org/10.3390/bdcc9060154