Optimizing Driver Drowsiness Detection: Evaluating CLAHE and AHE Enhancement Techniques

Muhammad Naufal, Harun Al Azies, Farrikh Al Zami, Rivaldo Mersis Brilianto

Abstract


Driver drowsiness is a critical factor in road safety, and early detection can be key to preventing accidents. This research focuses on improving the accuracy of drowsiness detection by enhancing the contrast of driver facial images using image processing techniques. Specifically, the study explores the effectiveness of Adaptive Histogram Equalization (AHE) and Contrast Limited Adaptive Histogram Equalization (CLAHE) in this context. The research utilizes the Drowsy Driver Detection (DDD) dataset, which includes facial images categorized into Drowsy and Non-Drowsy classes. AHE and CLAHE techniques are applied to preprocess these images, aiming to improve contrast and subsequently enhance drowsiness detection accuracy. Evaluation metrics such as Mean Squared Error (MSE), Peak Signal-to-Noise Ratio (PSNR), and Signal-to-Noise Ratio (SNR) are employed to assess the quality of the processed images. The findings indicate that CLAHE performs better than AHE in terms of image enhancement. CLAHE achieves significantly lower MSE (93.90) compared to AHE (103.92), along with higher PSNR (28.41 for CLAHE vs. 27.97 for AHE) and SNR (0.49 for CLAHE vs. 0.04 for AHE) values. These results suggest that CLAHE effectively enhances contrast and improves image clarity. The success of CLAHE as a contrast enhancement technique highlights its potential application in real-time driver monitoring systems. In conclusion, this research underscores the importance of image preprocessing techniques like CLAHE in advancing driver safety technologies, emphasizing their potential to enhance the performance of drowsiness detection systems in practical driving scenarios.

Keywords


Drowsiness Detection;Contrast Enhancement;Histogram Equalization

Full Text:

PDF

References


H. Z. Ilmadina, M. Naufal, and D. S. Wibowo, “Drowsiness Detection based on Yawning using Modified Pre-trained Model MobileNetV2 and ResNet50,” MATRIK J. Manaj. Tek. Inform. dan Rekayasa Komput., Vol. 22, No. 3, pp. 419–430, Jun. 2023, doi: 10.30812/matrik.v22i3.2785.

H. Z. Ilmadina, M. Naufal, and D. Apriliani, “Microsleep Detection on Drowsy-Driver using Convolutional Neural Networks (CNN),” Presented at the Proceedings of the Tegal International Conference on Applied Sciences 2022: Applied Science Research Post-Covid-19 Pandemic, Tegal, Indonesia, 2024, p. 030005. doi: 10.1063/5.0199234.

J. Gwak, A. Hirao, and M. Shino, “An Investigation of Early Detection of Driver Drowsiness using Ensemble Machine Learning based on Hybrid Sensing,” Appl. SCI., Vol. 10, No. 8, p. 2890, Apr. 2020, doi: 10.3390/app10082890.

A. Kumar, M. Kumar, and A. Kaur, “Face Detection in Still Images under Occlusion and Non-Uniform Illumination,” Multimed. Tools Appl., Vol. 80, No. 10, pp. 14565–14590, Apr. 2021, doi: 10.1007/s11042-020-10457-9.

M. Marsot et al., “An Adaptive Pig Face Recognition Approach using Convolutional Neural Networks,” Comput. Electron. Agric., Vol. 173, p. 105386, Jun. 2020, doi: 10.1016/j.compag.2020.105386.

M. A. Farooq, P. Corcoran, C. Rotariu, and W. Shariff, “Object Detection in Thermal Spectrum for Advanced Driver-Assistance Systems (ADAS),” IEEE Access, Vol. 9, pp. 156465–156481, 2021, doi: 10.1109/ACCESS.2021.3129150.

B. S. Rao, “Dynamic Histogram Equalization for Contrast Enhancement for Digital Images,” Appl. Soft Comput., Vol. 89, p. 106114, Apr. 2020, doi: 10.1016/j.asoc.2020.106114.

R. Gaber, A. Ali, and K. Ahmed, “Performance Evaluation of Infrared Image Enhancement Techniques,” Feb. 07, 2022, arXiv: arXiv:2202.03427. doi: 10.48550/arXiv.2202.03427.

F. N. M. Noor, A. P. P. A. Majeed, M. A. M. Razmam, I. M. Khairuddin, and W. H. M. Isa, “The Diagnosis of Diabetic Retinopathy: A Transfer Learning Approach,” in 2021 21st International Conference on Control, Automation and Systems (ICCAS), Jeju, Korea, Republic of: IEEE, Oct. 2021, pp. 596–601. doi: 10.23919/ICCAS52745.2021.9649801.

D. Vijayalakshmi and M. K. Nath, “A Novel Contrast Enhancement Technique using Gradient-based Joint Histogram Equalization,” Circuits Syst. Signal Process., Vol. 40, No. 8, pp. 3929–3967, Aug. 2021, doi: 10.1007/s00034-021-01655-3.

T. M. Usman, A. A. Ajibesin, Y. K. Saheed, and A. S. Nsang, “GAPS-U-NET: Gating Attention and Pixel Shuffling U-Net for Optic Disc Segmentation In Retinal Images,” in 2023 2nd International Conference on Multidisciplinary Engineering and Applied Science (ICMEAS), Abuja, Nigeria: IEEE, Nov. 2023, pp. 1–6. doi: 10.1109/ICMEAS58693.2023.10429873.

S. H. Majeed and N. A. M. Isa, “Adaptive Entropy Index Histogram Equalization for Poor Contrast Images,” IEEE Access, Vol. 9, pp. 6402–6437, 2021, doi: 10.1109/ACCESS.2020.3048148.

Z. Al-Ameen, G. Sulong, A. Rehman, A. Al-Dhelaan, T. Saba, and M. Al-Rodhaan, “An Innovative Technique for Contrast Enhancement of Computed Tomography Images using Normalized Gamma-Corrected Contrast-Limited Adaptive Histogram Equalization,” EURASIP J. Adv. Signal Process., Vol. 2015, No. 1, p. 32, Dec. 2015, doi: 10.1186/s13634-015-0214-1.

F. Alzami, M. Naufal, H. A. Azies, S. Winarno, and M. A. Soeleman, “Time Distributed MobileNetV2 with Auto-CLAHE for Eye Region Drowsiness Detection in Low Light Conditions,” Int. J. Adv. Comput. Sci. Appl., Vol. 15, No. 11, 2024, doi: 10.14569/IJACSA.2024.0151146.

A. E. Nugroho, W. D. Lukito, I. Anshori, W. Adiprawita, H. A. Usman, and O. Husain, “CLAHE Performance on Histogram-based Features for Lymphoma Classification using KNN Algorithm,” in 2021 15th International Conference on Telecommunication Systems, Services, and Applications (TSSA), Bali, Indonesia: IEEE, Nov. 2021, pp. 1–5. doi: 10.1109/TSSA52866.2021.9768221.

J. Kalyani and M. Chakraborty, “Contrast Enhancement of MRI Images using Histogram Equalization Techniques,” in 2020 International Conference on Computer, Electrical & Communication Engineering (ICCECE), Kolkata, India: IEEE, Jan. 2020, pp. 1–5. doi: 10.1109/ICCECE48148.2020.9223088.

S. Saiwaeo, S. Arwatchananukul, L. Mungmai, W. Preedalikit, and N. Aunsri, “Human Skin Type Classification using Image Processing and Deep Learning Approaches,” Heliyon, Vol. 9, No. 11, p. e21176, Nov. 2023, doi: 10.1016/j.heliyon.2023.e21176.

D. Ngo, S. Lee, Q.-H. Nguyen, T. M. Ngo, G.-D. Lee, and B. Kang, “Single Image Haze Removal from Image Enhancement Perspective for Real-Time Vision-based Systems,” Sensors, Vol. 20, No. 18, p. 5170, Sep. 2020, doi: 10.3390/s20185170.

G. K. Ijemaru et al., “Image Processing System using MATLAB-based Analytics,” Bull. Electr. Eng. Inform., Vol. 10, No. 5, pp. 2566–2577, Oct. 2021, doi: 10.11591/eei.v10i5.3160.

S. Sharmin, T. Ahammad, Md. A. Talukder, and P. Ghose, “A Hybrid Dependable Deep Feature Extraction and Ensemble-based Machine Learning Approach for Breast Cancer Detection,” IEEE Access, Vol. 11, pp. 87694–87708, 2023, doi: 10.1109/ACCESS.2023.3304628.

B. Desai, M. Paliwal, and K. K. Nagwanshi, “Study on Image Filtering -- Techniques, Algorithm and Applications,” 2022, arXiv. doi: 10.48550/ARXIV.2207.06481.

K. G. Dhal, A. Das, S. Ray, J. Gálvez, and S. Das, “Histogram Equalization Variants as Optimization Problems: A Review,” Arch. Comput. Methods Eng., Vol. 28, No. 3, pp. 1471–1496, May 2021, doi: 10.1007/s11831-020-09425-1.

M. Naufal, H. Al Azies, G. A. Firmansyah, and N. M. K. Kharisma, “Penerapan Teknik Adaptive dan Histogram Equalization dalam Pengolahan Citra,” J. Mhs. Ilmu Komput., Vol. 5, No. 1, pp. 9–18, Mar. 2024, doi: 10.24127/ilmukomputer.v5i1.5345.

S. H. Majeed and N. A. M. Isa, “Iterated Adaptive Entropy-Clip Limit Histogram Equalization for Poor Contrast Images,” IEEE Access, Vol. 8, pp. 144218–144245, 2020, doi: 10.1109/ACCESS.2020.3014453.

S. A. Khan, S. Hussain, and S. Yang, “Contrast Enhancement of Low-Contrast Medical Images using Modified Contrast Limited Adaptive Histogram Equalization,” J. Med. Imaging Health Inform., Vol. 10, No. 8, pp. 1795–1803, Aug. 2020, doi: 10.1166/jmihi.2020.3196.

F. Alzami, S. Winarno, M. Naufal, and H. Al Azies, “Enhancing Driver Drowsiness Detection Through GMM-Optimized CLAHE,” in 2024 International Seminar on Application for Technology of Information and Communication (iSemantic), Semarang, Indonesia: IEEE, Sep. 2024, pp. 212–217. doi: 10.1109/iSemantic63362.2024.10762529.

J. R. Jebadass and P. Balasubramaniam, “Low Contrast Enhancement Technique for Color Images using Interval-Valued Intuitionistic Fuzzy Sets with Contrast Limited Adaptive Histogram Equalization,” Soft Comput., Vol. 26, No. 10, pp. 4949–4960, May 2022, doi: 10.1007/s00500-021-06539-x.

D. S. Uplaonkar, Virupakshappa, and N. Patil, “Modified Otsu Thresholding based Level Set and Local Directional Ternary Pattern Technique for Liver Tumor Segmentation,” Int. J. Syst. Assur. Eng. Manag., Vol. 15, No. 1, pp. 73–83, Jan. 2024, doi: 10.1007/s13198-022-01637-x.

A. Hashmi et al., “Contrast Enhancement in Mammograms using Convolution Neural Networks for Edge Computing Systems,” SCI. Program., Vol. 2022, pp. 1–9, Apr. 2022, doi: 10.1155/2022/1882464.

S. Liu, Y. Huang, H. Yang, Y. Liang, and W. Liu, “End-to-End Image Compression Method based on Perception Metric,” Signal Image Video Process., Vol. 16, No. 7, pp. 1803–1810, Oct. 2022, doi: 10.1007/s11760-022-02137-y.

M. Hu, X. Luo, J. Chen, Y. C. Lee, Y. Zhou, and D. Wu, “Virtual Reality: A Survey of Enabling Technologies and its Applications in IoT,” J. Netw. Comput. Appl., Vol. 178, p. 102970, Mar. 2021, doi: 10.1016/j.jnca.2020.102970.

R. S. Menon, “High-Field Acquisition,” in Brain Mapping, Elsevier, 2015, pp. 97–102. doi: 10.1016/B978-0-12-397025-1.00010-5.




DOI: https://doi.org/10.32520/stmsi.v15i2.5206

Article Metrics

Abstract view : 2 times
PDF - 0 times

Refbacks

  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.