Research Article
BibTex RIS Cite

Threshold Based Image Enhancement Method for Low Contrast X-Ray Images Using CLAHE

Year 2022, Volume: 14 Issue: 3, 343 - 350, 31.12.2022
https://doi.org/10.29137/umagd.1203617

Abstract

While a large dataset in deep learning may seem like a positive factor, it may not always produce good results. Image quality is one of the factors that directly affects model performance, which in turn affects the quality of training. In this study, the effect of low contrast X-ray images on the detection of Covid-19 and pneumonia was investigated. Because the details are extremely important in the detection of these diseases. If the images are low contrast, it can cause some details to be missed in the detection of the disease. This problem can be solved using adaptive histogram methods such as CLAHE. The CLAHE method can apply various filters to low contrast images to bring them to the desired levels. The data set contains 8849 human lung X-ray images. The Vgg16 model was used for training. Vgg16 is a state of the art model architecture in deep learning. The image dimensions are 150x150. Classification performed before low-contrast images were filtered achieved 95.22% accuracy. After filtering based on the threshold value, accuracy increased to 97.35%. In the next stage, by searching for the best values for the parameters, accuracy was increased to 97.86%.

References

  • Albawi, S., Mohammed, T. A., & Al-Zawi, S. (2017). Understanding of a convolutional neural network. 2017 International Conference on Engineering and Technology (ICET), 2018-Janua, 1–6. https://doi.org/10.1109/ICEngTechnol.2017.8308186
  • Buda, M., Maki, A., & Mazurowski, M. A. (2018). A systematic study of the class imbalance problem in convolutional neural networks. Neural Networks, 106, 249–259. https://doi.org/10.1016/j.neunet.2018.07.011
  • Chowdhury, M. E. H., Rahman, T., Khandakar, A., Mazhar, R., Kadir, M. A., Mahbub, Z. Bin, Islam, K. R., Khan, M. S., Iqbal, A., Emadi, N. Al, Reaz, M. B. I., & Islam, M. T. (2020). Can AI Help in Screening Viral and COVID-19 Pneumonia? IEEE Access, 8, 132665–132676. https://doi.org/10.1109/ACCESS.2020.3010287
  • Daniel Kermany, Kang Zhang, & Michael Goldbaum. (2018). Labeled Optical Coherence Tomography (OCT) and Chest X-Ray Images for Classification - Mendeley Data. https://data.mendeley.com/datasets/rscbjbr9sj/2
  • Dodge, S., & Karam, L. (2016). Understanding how image quality affects deep neural networks. 2016 Eighth International Conference on Quality of Multimedia Experience (QoMEX), 1–6. https://doi.org/10.1109/QoMEX.2016.7498955
  • LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436–444. https://doi.org/10.1038/nature14539
  • Luque, A., Carrasco, A., Martín, A., & de las Heras, A. (2019). The impact of class imbalance in classification performance metrics based on the binary confusion matrix. Pattern Recognition, 91, 216–231. https://doi.org/10.1016/j.patcog.2019.02.023
  • Maurya, L., Lohchab, V., Kumar Mahapatra, P., & Abonyi, J. (2022). Contrast and brightness balance in image enhancement using Cuckoo Search-optimized image fusion. Journal of King Saud University - Computer and Information Sciences, 34(9), 7247–7258. https://doi.org/10.1016/J.JKSUCI.2021.07.008
  • Munadi, K., Muchtar, K., Maulina, N., & Pradhan, B. (2020). Image Enhancement for Tuberculosis Detection Using Deep Learning. IEEE Access, 8, 217897–217907. https://doi.org/10.1109/ACCESS.2020.3041867
  • Pizer, S. M., Amburn, E. P., Austin, J. D., Cromartie, R., Geselowitz, A., Greer, T., ter Haar Romeny, B., Zimmerman, J. B., & Zuiderveld, K. (1987). Adaptive histogram equalization and its variations. Computer Vision, Graphics, and Image Processing, 39(3), 355–368. https://doi.org/10.1016/S0734-189X(87)80186-X
  • Qiu, J., Harold Li, H., Zhang, T., Ma, F., & Yang, D. (2017). Automatic x-ray image contrast enhancement based on parameter auto-optimization. Journal of Applied Clinical Medical Physics, 18(6), 218–223. https://doi.org/10.1002/ACM2.12172
  • Rahman, T., Khandakar, A., Qiblawey, Y., Tahir, A., Kiranyaz, S., Abul Kashem, S. Bin, Islam, M. T., Al Maadeed, S., Zughaier, S. M., Khan, M. S., & Chowdhury, M. E. H. (2021). Exploring the effect of image enhancement techniques on COVID-19 detection using chest X-ray images. Computers in Biology and Medicine, 132, 104319. https://doi.org/10.1016/j.compbiomed.2021.104319
  • Reza, A. M. (2004). Realization of the Contrast Limited Adaptive Histogram Equalization (CLAHE) for Real-Time Image Enhancement. Journal of VLSI Signal Processing, 38, 35–44.
  • Survarachakan, S., Pelanis, E., Khan, Z. A., Kumar, R. P., Edwin, B., & Lindseth, F. (2021). Effects of Enhancement on Deep Learning Based Hepatic Vessel Segmentation. Electronics, 10(10), 1165. https://doi.org/10.3390/electronics10101165
  • Wang, W., Tian, J., Zhang, C., Luo, Y., Wang, X., & Li, J. (2020). An improved deep learning approach and its applications on colonic polyp images detection. BMC Medical Imaging, 20(1), 83. https://doi.org/10.1186/s12880-020-00482-3
  • Yu Wang, Qian Chen, & Baeomin Zhang. (1999). Image enhancement based on equal area dualistic sub-image histogram equalization method. IEEE Transactions on Consumer Electronics, 45(1), 68–75. https://doi.org/10.1109/30.754419

Threshold Based Image Enhancement Method for Low Contrast X-Ray Images Using CLAHE

Year 2022, Volume: 14 Issue: 3, 343 - 350, 31.12.2022
https://doi.org/10.29137/umagd.1203617

Abstract

While a large dataset in deep learning may seem like a positive factor, it may not always produce good results. Image quality is one of the factors that directly affects model performance, which in turn affects the quality of training. In this study, the effect of low contrast X-ray images on the detection of Covid-19 and pneumonia was investigated. Because the details are extremely important in the detection of these diseases. If the images are low contrast, it can cause some details to be missed in the detection of the disease. This problem can be solved using adaptive histogram methods such as CLAHE. The CLAHE method can apply various filters to low contrast images to bring them to the desired levels. The data set contains 8849 human lung X-ray images. The Vgg16 model was used for training. Vgg16 is a state of the art model architecture in deep learning. The image dimensions are 150x150. Classification performed before low-contrast images were filtered achieved 95.22% accuracy. After filtering based on the threshold value, accuracy increased to 97.35%. In the next stage, by searching for the best values for the parameters, accuracy was increased to 97.86%.

References

  • Albawi, S., Mohammed, T. A., & Al-Zawi, S. (2017). Understanding of a convolutional neural network. 2017 International Conference on Engineering and Technology (ICET), 2018-Janua, 1–6. https://doi.org/10.1109/ICEngTechnol.2017.8308186
  • Buda, M., Maki, A., & Mazurowski, M. A. (2018). A systematic study of the class imbalance problem in convolutional neural networks. Neural Networks, 106, 249–259. https://doi.org/10.1016/j.neunet.2018.07.011
  • Chowdhury, M. E. H., Rahman, T., Khandakar, A., Mazhar, R., Kadir, M. A., Mahbub, Z. Bin, Islam, K. R., Khan, M. S., Iqbal, A., Emadi, N. Al, Reaz, M. B. I., & Islam, M. T. (2020). Can AI Help in Screening Viral and COVID-19 Pneumonia? IEEE Access, 8, 132665–132676. https://doi.org/10.1109/ACCESS.2020.3010287
  • Daniel Kermany, Kang Zhang, & Michael Goldbaum. (2018). Labeled Optical Coherence Tomography (OCT) and Chest X-Ray Images for Classification - Mendeley Data. https://data.mendeley.com/datasets/rscbjbr9sj/2
  • Dodge, S., & Karam, L. (2016). Understanding how image quality affects deep neural networks. 2016 Eighth International Conference on Quality of Multimedia Experience (QoMEX), 1–6. https://doi.org/10.1109/QoMEX.2016.7498955
  • LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436–444. https://doi.org/10.1038/nature14539
  • Luque, A., Carrasco, A., Martín, A., & de las Heras, A. (2019). The impact of class imbalance in classification performance metrics based on the binary confusion matrix. Pattern Recognition, 91, 216–231. https://doi.org/10.1016/j.patcog.2019.02.023
  • Maurya, L., Lohchab, V., Kumar Mahapatra, P., & Abonyi, J. (2022). Contrast and brightness balance in image enhancement using Cuckoo Search-optimized image fusion. Journal of King Saud University - Computer and Information Sciences, 34(9), 7247–7258. https://doi.org/10.1016/J.JKSUCI.2021.07.008
  • Munadi, K., Muchtar, K., Maulina, N., & Pradhan, B. (2020). Image Enhancement for Tuberculosis Detection Using Deep Learning. IEEE Access, 8, 217897–217907. https://doi.org/10.1109/ACCESS.2020.3041867
  • Pizer, S. M., Amburn, E. P., Austin, J. D., Cromartie, R., Geselowitz, A., Greer, T., ter Haar Romeny, B., Zimmerman, J. B., & Zuiderveld, K. (1987). Adaptive histogram equalization and its variations. Computer Vision, Graphics, and Image Processing, 39(3), 355–368. https://doi.org/10.1016/S0734-189X(87)80186-X
  • Qiu, J., Harold Li, H., Zhang, T., Ma, F., & Yang, D. (2017). Automatic x-ray image contrast enhancement based on parameter auto-optimization. Journal of Applied Clinical Medical Physics, 18(6), 218–223. https://doi.org/10.1002/ACM2.12172
  • Rahman, T., Khandakar, A., Qiblawey, Y., Tahir, A., Kiranyaz, S., Abul Kashem, S. Bin, Islam, M. T., Al Maadeed, S., Zughaier, S. M., Khan, M. S., & Chowdhury, M. E. H. (2021). Exploring the effect of image enhancement techniques on COVID-19 detection using chest X-ray images. Computers in Biology and Medicine, 132, 104319. https://doi.org/10.1016/j.compbiomed.2021.104319
  • Reza, A. M. (2004). Realization of the Contrast Limited Adaptive Histogram Equalization (CLAHE) for Real-Time Image Enhancement. Journal of VLSI Signal Processing, 38, 35–44.
  • Survarachakan, S., Pelanis, E., Khan, Z. A., Kumar, R. P., Edwin, B., & Lindseth, F. (2021). Effects of Enhancement on Deep Learning Based Hepatic Vessel Segmentation. Electronics, 10(10), 1165. https://doi.org/10.3390/electronics10101165
  • Wang, W., Tian, J., Zhang, C., Luo, Y., Wang, X., & Li, J. (2020). An improved deep learning approach and its applications on colonic polyp images detection. BMC Medical Imaging, 20(1), 83. https://doi.org/10.1186/s12880-020-00482-3
  • Yu Wang, Qian Chen, & Baeomin Zhang. (1999). Image enhancement based on equal area dualistic sub-image histogram equalization method. IEEE Transactions on Consumer Electronics, 45(1), 68–75. https://doi.org/10.1109/30.754419
There are 16 citations in total.

Details

Primary Language English
Subjects Electrical Engineering
Journal Section Articles
Authors

Buğra Hatipoğlu 0000-0003-2813-5612

Prof. Dr. İrfan Karagöz 0000-0002-6951-6078

Mikail İnal 0000-0003-0642-7913

Publication Date December 31, 2022
Submission Date November 13, 2022
Published in Issue Year 2022 Volume: 14 Issue: 3

Cite

APA Hatipoğlu, B., Karagöz, P. D. İ., & İnal, M. (2022). Threshold Based Image Enhancement Method for Low Contrast X-Ray Images Using CLAHE. International Journal of Engineering Research and Development, 14(3), 343-350. https://doi.org/10.29137/umagd.1203617

All Rights Reserved. Kırıkkale University, Faculty of Engineering.