Submitted:
31 July 2025
Posted:
31 July 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Related Works
2.1. Pixel-Wise Gradient Orientation
2.2. 1-D Otsu’s Method
2.3. 2-D Otsu’s Method
3. Proposed Method
3.1. Construction of 2-D Gradient Orientation Histogram
3.2. Main Step of Segmentation
3.3. Image Test Sets and Quality Evaluation Parameters
4. Experimental Results and Discussions
4.1. Algorithm Performance and Computational Cost
4.2. Consistency of Algorithm Performance with Increasing Threshold
4.3. Comparative Analysis of Method Performance
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Gharehchopogh, F.S.; Ibrikci, T. An improved African vultures optimization algorithm using different fitness functions for multi-level thresholding image segmentation. Multimedia Tools and Applications 2024, 83, 16929–16975.
- Su, H.; Zhao, D.; Elmannai, H.; Heidari, A.A.; Bourouis, S.; Wu, Z.; Cai, Z.; Gui, W.; Chen, M. Multilevel threshold image segmentation for COVID-19 chest radiography: A framework using horizontal and vertical multiverse optimization. Computers in Biology and Medicine 2022, 146, 105618.
- Houssein, E.H.; Abdelkareem, D.A.; Emam, M.M.; Hameed, M.A.; Younan, M. An efficient image segmentation method for skin cancer imaging using improved golden jackal optimization algorithm. Computers in Biology and Medicine 2022, 149, 106075.
- Liu, Q.; Li, N.; Jia, H.; Qi, Q.; Abualigah, L. Modified remora optimization algorithm for global optimization and multilevel thresholding image segmentation. Mathematics 2022, 10, 1014.
- Zarate, O.; Hinojosa, S.; Ortiz-Joachin, D. Improving Prostate Image Segmentation Based on Equilibrium Optimizer and Cross-Entropy. Applied Sciences 2024, 14. [CrossRef]
- Zhang, K.; He, M.; Dong, L.; Ou, C. The Application of Tsallis Entropy Based Self-Adaptive Algorithm for Multi-Threshold Image Segmentation. Entropy 2024, 26, 777.
- Kapur, J.N.; Sahoo, P.K.; Wong, A.K. A new method for gray-level picture thresholding using the entropy of the histogram. Computer vision, graphics, and image processing 1985, 29, 273–285.
- Otsu, N. A Threshold Selection Method from Gray-Level Histograms. IEEE Transactions on Systems, Man, and Cybernetics 1979, 9, 62–66.
- Abutaleb, A.S. Automatic thresholding of gray-level pictures using two-dimensional entropy. Computer vision, graphics, and image processing 1989, 47, 22–32.
- Pal, N.R.; Pal, S.K. Entropic thresholding. Signal processing 1989, 16, 97–108.
- Ning, G. Two-dimensional Otsu multi-threshold image segmentation based on hybrid whale optimization algorithm. Multimedia Tools and Applications 2023, 82, 15007–15026.
- Sahoo, P.K.; Arora, G. A thresholding method based on two-dimensional Renyi’s entropy. Pattern Recognition 2004, 37, 1149–1161.
- Wang, Q.; Chi, Z.; Zhao, R. Image thresholding by maximizing the index of nonfuzziness of the 2-D grayscale histogram. Computer vision and image understanding 2002, 85, 100–116.
- Naik, M.K.; Panda, R.; Wunnava, A.; Jena, B.; Abraham, A. A leader Harris hawks optimization for 2-D Masi entropy-based multilevel image thresholding. Multimedia Tools and Applications 2021, 80, 1–41.
- Yimit, A.; Hagihara, Y.; Miyoshi, T.; Hagihara, Y. 2-D direction histogram based entropic thresholding. Neurocomputing 2013, 120, 287–297.
- Senthilkumaran, N.; Vaithegi, S. Image segmentation by using thresholding techniques for medical images. Computer Science & Engineering: An International Journal 2016, 6, 1–13.
- Jiang, X.; Mojon, D. Adaptive local thresholding by verification-based multithreshold probing with application to vessel detection in retinal images. IEEE Transactions on Pattern Analysis and Machine Intelligence 2003, 25, 131–137.
- Li, Y.; Li, Z.; Guo, Z.; Siddique, A.; Liu, Y.; Yu, K. Infrared Small Target Detection Based on Adaptive Region Growing Algorithm With Iterative Threshold Analysis. IEEE Transactions on Geoscience and Remote Sensing 2024, 62, 1–15.
- Jardim, S.; António, J.; Mora, C. Image thresholding approaches for medical image segmentation-short literature review. Procedia Computer Science 2023, 219, 1485–1492.
- Kandhway, P. A novel adaptive contextual information-based 2D-histogram for image thresholding. Expert Systems with Applications 2024, 238, 122026.
- Vijayalakshmi, D.; Nath, M.K. A strategic approach towards contrast enhancement by two-dimensional histogram equalization based on total variational decomposition. Multimedia Tools and Applications 2023, 82, 19247–19274.
- Yang, W.; Cai, L.; Wu, F. Image segmentation based on gray level and local relative entropy two dimensional histogram. Plos one 2020, 15, e0229651.
- Liang, J.; Liu, D. A local thresholding approach to flood water delineation using Sentinel-1 SAR imagery. ISPRS journal of photogrammetry and remote sensing 2020, 159, 53–62.
- Zhang, M.; Wang, J.; Cao, X.; Xu, X.; Zhou, J.; Chen, H. An integrated global and local thresholding method for segmenting blood vessels in angiography. Heliyon 2024, 10, e38579.
- Niu, Y.; Song, J.; Zou, L.; Yan, Z.; Lin, X. Cloud detection method using ground-based sky images based on clear sky library and superpixel local threshold. Renewable Energy 2024, 226, 120452.
- Tan, L.; Liu, Y.; Zhou, K.; Zhang, R.; Li, J.; Yan, R. Optimization of DG-LRG Water Extraction Algorithm Considering Polarization and Texture Information. Applied Sciences 2025, 15. [CrossRef]
- Cao, X.; Zuo, M.; Chen, G.; Wu, X.; Wang, P.; Liu, Y. Visual Localization Method for Fastener-Nut Disassembly and Assembly Robot Based on Improved Canny and HOG-SED. Applied Sciences 2025, 15. [CrossRef]
- Hong, X.; Chen, G.; Chen, Y.; Cai, R. Research on Abnormal Ship Brightness Temperature Detection Based on Infrared Image Edge-Enhanced Segmentation Network. Applied Sciences 2025, 15. [CrossRef]
- Chung, C.T.; Ying, J.J.C. Seg-Eigen-CAM: Eigen-Value-Based Visual Explanations for Semantic Segmentation Models. Applied Sciences 2025, 15. [CrossRef]
- Wang, W.; Chen, J.; Hong, Z. Multiscale Eight Direction Descriptor-Based Improved SAR–SIFT Method for Along-Track and Cross-Track SAR Images. Applied Sciences 2025, 15. [CrossRef]
- Hosseini-Fard, E.; Roshandel-Kahoo, A.; Soleimani-Monfared, M.; Khayer, K.; Ahmadi-Fard, A.R. Automatic seismic image segmentation by introducing a novel strategy in histogram of oriented gradients. Journal of Petroleum Science and Engineering 2022, 209, 109971.
- Bhattarai, B.; Subedi, R.; Gaire, R.R.; Vazquez, E.; Stoyanov, D. Histogram of oriented gradients meet deep learning: A novel multi-task deep network for 2D surgical image semantic segmentation. Medical Image Analysis 2023, 85, 102747.
- Sun, Z.; Caetano, E.; Pereira, S.; Moutinho, C. Employing histogram of oriented gradient to enhance concrete crack detection performance with classification algorithm and Bayesian optimization. Engineering Failure Analysis 2023, 150, 107351.
- Wang, B.; Si, S.; Zhao, H.; Zhu, H.; Dou, S. False positive reduction in pulmonary nodule classification using 3D texture and edge feature in CT images. Technology and Health Care 2021, 29, 1071–1088.
- Wang, Q.; Gao, X.; Wang, F.; Ji, Z.; Hu, X. Feature point matching method based on consistent edge structures for infrared and visible images. Applied sciences 2020, 10, 2302.
- Zhao, Z.; Wang, F.; You, H. Robust region feature extraction with salient mser and segment distance-weighted gloh for remote sensing image registration. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing 2023, 17, 2475–2488.
- Tao, H.; Lu, X. Smoke vehicle detection based on multi-feature fusion and hidden Markov model. Journal of Real-Time Image Processing 2020, 17, 745–758.
- Liu, Y.; Fan, Y.; Feng, H.; Chen, R.; Bian, M.; Ma, Y.; Yue, J.; Yang, G. Estimating potato above-ground biomass based on vegetation indices and texture features constructed from sensitive bands of UAV hyperspectral imagery. Computers and Electronics in Agriculture 2024, 220, 108918.
- Chai, X.; Song, S.; Gan, Z.; Long, G.; Tian, Y.; He, X. CSENMT: A deep image compressed sensing encryption network via multi-color space and texture feature. Expert Systems with Applications 2024, 241, 122562.
- Lowe, D.G. Distinctive Image Features from Scale-Invariant Keypoints. International Journal of Computer Vision 2004, 60, 91–110.
- Liang, D.; Ding, J.; Zhang, Y. Efficient Multisource Remote Sensing Image Matching Using Dominant Orientation of Gradient. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing 2021, 14, 2194–2205.
- Xu, W.; Zhong, S.; Yan, W.L. A New Orientation Estimation Method Based on Rotation Invariant Gradient for Feature Points. IEEE geoscience and remote sensing letters 2021, 18, 791–795.
- Wan, G.; Ye, Z.; Xu, Y.; Huang, R.; Zhou, Y.; Xie, H.; Tong, X. Multimodal Remote Sensing Image Matching Based on Weighted Structure Saliency Feature. IEEE Transactions on Geoscience and Remote Sensing 2024, 62, 1–16.
- Zhang, J.; Hu, J. Image Segmentation Based on 2D Otsu Method with Histogram Analysis. In Proceedings of the 2008 International Conference on Computer Science and Software Engineering, 2008, Vol. 6, pp. 105–108.
- Cimpoi, M.; Maji, S.; Kokkinos, I.; Mohamed, S.; Vedaldi, A. Describing Textures in the Wild, 2013, [arXiv:cs.CV/1311.3618].
- Horé, A.; Ziou, D. Image Quality Metrics: PSNR vs. SSIM. In Proceedings of the 2010 20th International Conference on Pattern Recognition, 2010, pp. 2366–2369.
- Zhang, L.; Zhang, L.; Mou, X.; Zhang, D. FSIM: A Feature Similarity Index for Image Quality Assessment. IEEE Transactions on Image Processing 2011, 20, 2378–2386.
- Seyyedabbasi, A. A Hybrid Multi-Strategy Optimization Metaheuristic Algorithm for Multi-Level Thresholding Color Image Segmentation. Applied Sciences 2025, 15. [CrossRef]
- Liao, P.S.; Chen, T.S.; Chung, P. A Fast Algorithm for Multilevel Thresholding. J. Inf. Sci. Eng. 2001, 17, 713–727.







| Image | Thresholds | Kapur(1-D) | Otsu(1-D) | Otsu(2-D) | Proposed | ||||
|---|---|---|---|---|---|---|---|---|---|
| PSNR | FSIM | PSNR | FSIM | PSNR | FSIM | PSNR | FSIM | ||
| board | 2 | 19.8486 | 0.8417 | 20.5365 | 0.8594 | 20.1805 | 0.8603 | 21.7597 | 0.8654 |
| 3 | 22.0879 | 0.8925 | 23.0899 | 0.9254 | 20.9382 | 0.8703 | 23.0960 | 0.9304 | |
| 4 | 24.1754 | 0.9367 | 25.1001 | 0.9489 | 21.0960 | 0.8721 | 25.1076 | 0.9532 | |
| 5 | 25.9686 | 0.9539 | 26.7874 | 0.9635 | 21.0736 | 0.8719 | 26.7947 | 0.9665 | |
| bag | 2 | 21.0917 | 0.7064 | 21.7316 | 0.7291 | 21.6042 | 0.6936 | 21.7597 | 0.8037 |
| 3 | 23.9386 | 0.8154 | 24.1852 | 0.8388 | 22.1903 | 0.7096 | 24.2273 | 0.8677 | |
| 4 | 25.8303 | 0.8759 | 25.9751 | 0.8839 | 22.3528 | 0.7112 | 26.0317 | 0.9124 | |
| 5 | 27.2505 | 0.9106 | 27.5939 | 0.9154 | 22.3593 | 0.7113 | 27.6188 | 0.9226 | |
| tire | 2 | 20.9682 | 0.6295 | 22.0913 | 0.6762 | 21.0869 | 0.6406 | 22.1534 | 0.7417 |
| 3 | 24.7329 | 0.7427 | 24.7887 | 0.7439 | 24.2287 | 0.7270 | 24.8545 | 0.8013 | |
| 4 | 26.5611 | 0.7991 | 26.6432 | 0.8020 | 26.2494 | 0.7919 | 26.6680 | 0.8362 | |
| 5 | 27.4821 | 0.8282 | 28.2698 | 0.8414 | 26.6968 | 0.8075 | 28.3058 | 0.8686 | |
| Kapur(1-D) | Otsu (1-D) | Otsu (2-D) | Proposed | |
|---|---|---|---|---|
| board | 0.32 | 0.27 | 147103.22 | 2.35 |
| bag | 0.32 | 0.27 | 135890.45 | 1.25 |
| tire | 0.32 | 0.27 | 142732.34 | 1.22 |
| Image | Thresholds | Kapur(1-D) | Otsu(1-D) | Otsu(2-D) | Proposed | ||||
|---|---|---|---|---|---|---|---|---|---|
| PSNR | FSIM | PSNR | FSIM | PSNR | FSIM | PSNR | FSIM | ||
| woven (81 images) |
2 | 0 | 5 | 2 | 8 | 0 | 9 | 81 | 60 |
| 3 | 0 | 16 | 0 | 4 | 0 | 0 | 81 | 61 | |
| 4 | 0 | 13 | 6 | 4 | 0 | 0 | 75 | 64 | |
| 5 | 0 | 13 | 1 | 4 | 0 | 0 | 80 | 64 | |
| lacelike (119 images) |
2 | 0 | 9 | 1 | 6 | 0 | 7 | 119 | 97 |
| 3 | 0 | 9 | 1 | 6 | 0 | 0 | 118 | 104 | |
| 4 | 0 | 12 | 16 | 9 | 0 | 0 | 103 | 98 | |
| 5 | 0 | 8 | 1 | 11 | 0 | 0 | 118 | 100 | |
| pitted (107 images) |
2 | 0 | 13 | 10 | 13 | 0 | 5 | 104 | 83 |
| 3 | 0 | 14 | 5 | 10 | 0 | 0 | 103 | 84 | |
| 4 | 0 | 15 | 6 | 20 | 0 | 0 | 105 | 76 | |
| 5 | 0 | 13 | 12 | 13 | 0 | 0 | 99 | 85 | |
| blotchy (119 images) |
2 | 0 | 7 | 15 | 11 | 2 | 4 | 113 | 105 |
| 3 | 0 | 8 | 13 | 13 | 0 | 1 | 112 | 103 | |
| 4 | 0 | 9 | 8 | 10 | 0 | 1 | 115 | 101 | |
| 5 | 0 | 8 | 14 | 11 | 0 | 0 | 109 | 103 | |
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 (http://creativecommons.org/licenses/by/4.0/).