Enhancement of the Retinal Images and Cropping of its Optical Disks by using C language and OpenCV

Authors

  • Waheed Muhammad Sanya  Department of Computer Science and IT, The State University of Zanzibar (SUZA), Zanzibar, Tanzania
  • Mahmoud Alawi  Karume Institute of Science and Technology (KIST) Zanzibar, Tanzania
  • Robin West  Novacom Group Pty Ltd

DOI:

https://doi.org//10.32628/CSEIT228133

Keywords:

CLAHE Algorithm, OpenCV, adapthisteq().

Abstract

The Retina images suffer from the low gray level of contrast and less illumination in the region where it is nearby the optic disk with high brightness, while the region where it is far from the optic disk, has a lack of brightness thus can affect the extraction and can increment the computational time. This paper applies the enhancement of extraction and detection of retina images by reviewing the existing mechanisms and then performing experimental comparison of the developed solution through the integration of CLAHE (Contrast Limited Adaptive histogram equalization) and C-language techniques. The use of existing image enhancement mechanisms is with built-in function in Matlab, which is defined as adapthisteq (). The existing mechanism can enhance the contrast of the grayscale image by transforming the values using the Contrast limited adaptive histogram equalization. Based on the review, it was observed that there is still a need for a more timely and effective mechanism for enhancing the image quality in terms of its contrast and illumination. Hence, this study has an implemented image and enhanced mechanism with the use of CLAHE and C-language. In this integration, the c language codes involve the built-in function from the toolbox library of OpenCV (Open-Source Computer vision), like reading the Retina image and other functions. Then, the results produced between the existing mechanism and the new developed mechanism are compared. The difference between Matlab results and CLAHE integrated with C-language in the performed experiment shows the results for the verification of the Experimental is the developed solution with integration of CLAHE and C-language producing more enhanced quality of the image compared to the existing mechanism. Therefore, the study recommends integration of the developed mechanism in the devices used for capturing images such as retina.

References

  1. A. D. Fleming, S. Philip, K. A. Goatman, J. A. Olson, and P. F. Sharp. Automated Assessment of Diabetic Retinal Image Quality Based on Clarity and Field Definition. ARVO IOVS, 47(3):1120–1125, 2006.
  2. Jobson, D. J., Rahman, Z.-u., & Woodell, G. A. (1997). A multiscale retinex for bridging the gap between color images and the human observation of scenes. IEEE Transactions on Image processing, 6(7), 965-976.
  3. Fattal, R. (2009). Edge-avoiding wavelets and their applications. ACM Transactions on Graphics (TOG), 28(3), 22.
  4. Wang, Q., & Ward, R. K. (2007). Fast image/video contrast enhancement based on weighted thresholded histogram equalization. IEEE transactions on Consumer Electronics, 53(2), 757-764.
  5. Arici, T., Dikbas, S., & Altunbasak, Y. (2009). A histogram modification framework and its application for image contrast enhancement. IEEE Transactions on Image processing, 18(9), 1921-1935
  6. Huang, S.-C., Cheng, F.-C., & Chiu, Y.-S. (2013). Efficient contrast enhancement using adaptive gamma correction with weighting distribution. IEEE Transactions on Image processing, 22(3), 1032-1041.
  7. Kaur J, Mittal D (2018) A generalized method for the segmentation of exudates from pathological retinal fundus images. Biocybern Biomed Eng 38(1):27–53. https://doi.org/10.1016/ j.bbe.2017.10.003
  8. Soorya M, Lssac A, Dutta M (2018) An automated and robust image processing algorithm for glaucoma diagnosis from fundus images using novel blood vessel tracking and bend point detection. Int J Med Inform 110:52–70. https://doi.org/10.1016/j.ijmedinf. 2017.11.015
  9. Cao L, Li H, Zhang Y, Zhang L, Xu L (2020) Hierarchical method for cataract grading based on retinal images using improved Haar wavelet. Inform Fusion 53:196–208. https://doi.org/10.1016/j. inffus.2019.06.022
  10. Bekkers E, Duits R, Berendschot T, Romeny B (2014) A multiorientation analysis approach to retinal vessel tracking. J Math Imaging Vision 49(3):583–610. https://doi.org/10.1007/s10851- 013-0488-6
  11. Bock R, Nyul M, Hornegger J, Michelson G (2010) Glaucoma risk index: automated glaucoma detection from color fundus images. Med Image Anal 14(3):471–481. https://doi.org/10.1016/j.media. 2009.12.006
  12. Giancardo L, Meriaudeau F, Karnowski TP (2011) Exudate-based diabetic macular edema detection in fundus images using publicly available datasets. Med Image Anal 16(1):216–226. https://doi.org/ 10.1016/j.media.2011.07.004
  13. Guo L, Yang J, Peng L, Li J, Liang Q (2015) A computer-aided healthcare system for cataract classification and grading based on fundus image analysis. Comput Ind 69(C):72–80. https://doi.org/ 10.1016/j.compind.2014.09.005
  14. He K, Georgia G, Piotr D, Ross G (2018) Mask R-CNN. IEEE Trans Pattern Anal Mach Intell. https://doi.org/10.1109/TPAMI. 2018.2844175
  15. Mookiah M, Acharya U, Chua C, Lim C, Ng E, Laude A (2013) Computer-aided diagnosis of diabetic retinopathy: a review. Comput Biol Med 43(12):2136–2155. https://doi.org/10.1016/j. compbiomed.2013.10.007
  16. Sheng B, Li P, Mo S (2018) Retinal vessel segmentation using minimum spanning superpixel tree detector. IEEE Trans Cybern 99:1–13. https://doi.org/10.1109/TCYB.2018.2833963
  17. Zhang J, Dashtbozorg B, Bekkers E, Pluim J, Duits R, Romeny B (2016) Robust retinal vessel segmentation via locally adaptive derivative frames in orientation scores. IEEE Trans Med Imaging 35(12):2631–2644. https://doi.org/10. 1109/TMI.2016.2587062
  18. Zhang J, Li H (2014) A retinal vessel boundary tracking method based on Bayesian theory and multi-scale line detection. Comput Med Imaging Graph 38(6):517–525. https://doi.org/10.1016/j. compmedimag.2014.05.010
  19. Mitra A, Roy S, Roy S, Setua S (2018) Enhancement and restoration of non-uniform illuminated fundus image of retina obtained through a thin layer of cataract. Comput Methods Programs Biomed 156:169–178. https://doi.org/10.1016/j. cmpb.2018.01.001
  20. Wang S, Luo G (2018) Naturalness preserved image enhancement using a priori multi-layer lightness statistics. IEEE Trans Image Process 27(2):938–948. https://doi.org/10.1109/TIP. 2017.2771449
  21. Xiong L, Li H, Xu L (2017) An enhancement method for color retinal images based on image formation model. Comput Methods Programs Biomed 143:137–150. https://doi.org/10.1016/j.cmpb. 2017.02.026
  22. Zhou M, Jin K, Wang S, Ye L, Qian D (2018) Color retinal image enhancement based on luminosity and contrast adjustment. IEEE Med Biol Eng Comput Trans Biomed Eng 65(3):521–527. https://doi.org/10.1109/TBME. 2017.2700627
  23. Histogram Equalization Techniques for Image Enhancement, Rajesh Garg, Bhawna Mittal, and Sheetal Garg. H.I.T .,Sonepat,Haryana,India3 S.M.Hindu Sr.Sec .School, Sonepat, Haryana, INDIA

Downloads

Published

2022-02-28

Issue

Section

Research Articles

How to Cite

[1]
Waheed Muhammad Sanya, Mahmoud Alawi, Robin West, " Enhancement of the Retinal Images and Cropping of its Optical Disks by using C language and OpenCV , IInternational Journal of Scientific Research in Computer Science, Engineering and Information Technology(IJSRCSEIT), ISSN : 2456-3307, Volume 8, Issue 1, pp.193-201, January-February-2022. Available at doi : https://doi.org/10.32628/CSEIT228133