Skip to main content
Log in

Adaptive gamma correction for automatic contrast enhancement of Chest-X-ray images affected by various lung diseases

  • 1232: Human-centric Multimedia Analysis
  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Lung and respiratory ailments are among the leading causes of illness and fatalities. Coronavirus disease (COVID-19), caused by the SARS-CoV-2 virus, has convinced the world that early and affordable detection improves treatment. X-ray imaging systems are inexpensive and widely available. Chest X-ray (CXR) images are inadequate due to the acquiring environment and technician skill. Hence, CXR image contrast enhancement is necessary for a correct diagnosis. Various lung diseases create variable spatial variation in CXR image contrast and brightness; hence, a single contrast enhancement procedure cannot improve it. In the proposed method CXR images are first classified into four categories depending upon their quality defined by their statistical parameters, before applying adaptive gamma correction for contrast enhancement. The performance of the proposed method is compared with existing methods on four datasets for five different types of lung diseases. The performance of the proposed algorithm is evaluated using parameters, such as Root Mean Square Contrast (RMSC) to determine the relation of contrast enhancement between the original and enhanced image, Contrast Improvement Index (CII) to measure the achieved contrast enhancement and Tenengrad which calculates the variation of intensity in the direction of maximum gradient descent. The qualitative and quantitative performance of the proposed method is found better than the existing methods for CXR images for all five lung diseases, which shows the stable performance of the proposed method and improvement in the processed images.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

Data availability

The data that support the findings of this study are openly available in Chest X-Ray Images (Pneumonia) dataset [14], Tuberculosis (TB)_Chest_Radiography_Database [15], COVID-QU-Ex Dataset [16], and NIH Clinical Center chest X-ray [17].

References

  1. WHO coronavirus (COVID-19) dashboard: world health organization. https://covid19.who.int/. Accessed 03 Oct 2022

  2. Nafiiyah N, Setyati E (2021) Lung X-Ray Image Enhancement to Identify Pneumonia with CNN. 3rd East Indonesia Conference on Computer and Information Technology (EIConCIT). https://doi.org/10.1109/EIConCIT50028.2021.9431856.

  3. Antony B, NB K (2017) Lung tuberculosis detection using x-ray images. Int J Appl Eng Res 12(24):15196–15201

    Google Scholar 

  4. Minaee S, Kafieh R, Sonka M, Yazdani S, JamalipourSoufi G (2020) Deep-COVID: predicting COVID-19 from chest X-ray images using deep transfer learning. Med Image Anal 65:101794

    Article  Google Scholar 

  5. Wielputz MO (2014) Radiological diagnosis in lung disease: factoring treatment options into the choice of diagnostic modality. Deutsches Arzteblatt Int. https://doi.org/10.3238/arztebl.2014.0181

    Article  Google Scholar 

  6. Cotton A (1915) The limitations of the X-Ray in the diagnosis of certain bone and joint diseases. Am J Orthop Surg 13:217–240

    Google Scholar 

  7. Kim J, Hyoung Kim K (2020) Role of chest radiographs in early lung cancer detection. Transl Lung Cancer Res. https://doi.org/10.21037/tlcr.2020.04.02

  8. Shuyue C, Hou H (2006) Study of automatic enhancement for chest radiograph. J Digit Imaging.https://doi.org/10.1007/s10278-006-0623-7

  9. Zimmerman JB, Pizer SM, Staab EV, Perry JR, McCartney W, Brenton BC (1988) An evaluation of the effectiveness of adaptive histogram equalization for contrast enhancement. IEEE Trans Med Imaging. https://doi.org/10.1109/42.14513

  10. Veluchamy M, Subramani B (2019) Image contrast and color enhancement using adaptive gamma correction and histogram equalization. Optik 183:329–337

    Article  Google Scholar 

  11. Zuiderveld K (1994) Contrast Limited Adaptive Histogram Equalization. Paul S. Heckbert, Graphics Gems Academic Press.https://doi.org/10.1016/B978-0-12-336156-1.50061-6

  12. Hassanpour H, Samadian N (2015) Using morphological transforms to enhance the contrast of medical images. Egypt J Radiol Nucl Med.https://doi.org/10.1016/j.ejrnm.2015.01.004

  13. Somasundaram KG, Kalavathi P (2012) Medical image contrast enhancement based on gamma correction. Int J Knowl Manag e-Learn 3:15–18

    Google Scholar 

  14. Mooney P (2018) Chest X-Ray Images (Pneumonia): kaggle. https://www.kaggle.com/datasets/paultimothymooney/chest-xray-pneumonia. Accessed 10 Nov 2022

  15. Rahman T et al (2020) Tuberculosis (TB) Chest X-ray Database: kaggle. https://www.kaggle.com/datasets/tawsifurrahman/tuberculosis-tb-chest-xray-dataset.  Accessed 10 Nov 2022

  16. Tahir AM, Chowdhury MEH, Yazan Q (2021) COVID-QU-Ex.Kaggle. https://doi.org/10.34740/kaggle/dsv/3122958

  17. Wang X, Peng Y, Lu L, Lu Z, Bagheri M, Summers RM (2017) ChestX-ray8: Hospital-scale Chest X-ray database and benchmarks on weakly-supervised classification and localization of common thorax diseases. IEEE Conference on Computer Vision and Pattern Recognition (CVPR). https://doi.org/10.1109/CVPR.2017.369

  18. Kim Y-T (1997) Contrast enhancement using brightness preserving bi-histogram equalization. IEEE Trans Consum Electron. https://doi.org/10.1109/30.580378

    Article  Google Scholar 

  19. Wang Yu (1999) Qian Chen and Baeomin Zhang: Image enhancement based on equal area dualistic sub-image histogram equalization method. IEEE Trans Consum Electron. https://doi.org/10.1109/30.754419

    Article  Google Scholar 

  20. Zimmerman JB, Pizer SM, Staab EV, Perry JR, McCartney W, Brenton BC (1988) An evaluation of the effectiveness of adaptive histogram equalization for contrast enhancement. IEEE Trans Med Imag 7:304–312

    Article  Google Scholar 

  21. Gonzalez RC (2009) Digital Image Processing. Pearson Education, India

    Google Scholar 

  22. Kimori Y (2011) Mathematical morphology-based approach to the enhancement of morphological features in medical images. J ClinBioinforma. https://doi.org/10.1186/2043-9113-1-33

    Article  Google Scholar 

  23. Kushol R, Raihan MN, Salekin MS, Rahman ABM (2019) Contrast enhancement of medical X-Ray image using morphological operators with optimal structuring element. ArXiv abs 1905.08545. https://doi.org/10.48550/arXiv.1905.08545

  24. Huang S-C, Cheng F-C, Chiu Y-S (2013) Efficient contrast enhancement using adaptive gamma correction with weighting distribution. Image Process IEEE Trans 22(4):1032–1041

    Article  MathSciNet  Google Scholar 

  25. Huag Z, Zhang T, Li Q (2016) Adaptive gamma correction based-on cumulative histogram for enhancing near-infrared images. Infrared Phys Technol 79:205–215

    Article  Google Scholar 

  26. Rahman S, Rahman MM, Abdullah-Al-Wadud M (2016) An adaptive gamma correction for image enhancement. J Image Video Proc. https://doi.org/10.1186/s13640-016-0138-1

    Article  Google Scholar 

  27. Stellato B, Van Parys BPG, Goulart PJ (2017) Multivariate Chebyshev inequality with estimated mean and variance. Am Stat. https://doi.org/10.1080/00031305.2016.1186559

  28. Peli E (1990) Contrast in complex images. J Opt Soc Am A. https://doi.org/10.1364/JOSAA.7.002032

  29. Puniani S, Arora S (2015) Performance Evaluation of Image Enhancement Techniques. Int J Signal Process Image Process Pattern Recogn. https://doi.org/10.14257/ijsip.2015.8.8.27

Download references

Funding

This study was not funded by anyone.

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed to the study’s conception and design. Material preparation, data collection, and analysis were performed by Vivek Kumar Yadav, Jyoti Singhai. The first draft of the manuscript was written by Vivek Kumar Yadav and all authors commented on previous versions of the manuscript. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Vivek Kumar Yadav.

Ethics declarations

Ethical approval

This article does not contain any studies with human participants or animals performed by any of the authors.

Conflict of interest

None of the authors has any conflict of interest to declare.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Yadav, V.K., Singhai, J. Adaptive gamma correction for automatic contrast enhancement of Chest-X-ray images affected by various lung diseases. Multimed Tools Appl (2024). https://doi.org/10.1007/s11042-023-18083-x

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11042-023-18083-x

Keywords

Navigation