Classification of Glaucoma Using Invariant Moment Methods on K-Nearest Neighbor and Random Forest Models

  • Athalla Rizky Arsyan Telkom University, Bandung, Indonesia
  • Wikky Fawwaz Al Maki * Mail Telkom University, Bandung, Indonesia
  • (*) Corresponding Author
Keywords: Glaucoma; Invariant Moment; KNN; Random Forest; Machine Learning


One of the cardiovascular diseases that can interfere with eye vision is glaucoma. This disease is caused by high pressure on the inside of the eyeball to cause blindness slowly. In general, screening or early diagnosis can help prevent glaucoma, specifically by analyzing several eye components affected by pressure, including the optical disc, optical cup, and blood vessels.  Thus, by blending machine learning algorithms and computer vision technology, glaucoma classification and identification can be accelerated and improved. This study applied the Invariant Moment method to extract the optical cup and blood vessel segmentation's shape, scale, and rotation features. To obtain segmentation results for these two objects, we threshold two image datasets, DrishtiGS-1 and REFUGE, and implemented the approach described in this study to analyze system performance on these datasets. For the classification method used in this study, we proposed KNN and RF models to evaluate the suitability of the methods we used on the REFUGE and DrishtiGS-1 datasets and demonstrated that both models could be used to identify glaucoma through the use of fundus images. When the datasets were merged, we obtained 81.86% and 75.86% of accuracy when using blood vessel and optical cup segmentation results, respectively


Download data is not yet available.


M. M. Sathik, A. Padma, and M. Sivajothi, “Glaucoma Detection Using Little Wood Paley Decomposition On Local Derivative Structure Of Fundus Images,” European Journal of Molecular & Clinical Medicine, vol. 7, no. 10, pp. 2988–2998, 2021.

N. Singh and V. Rao J, “Retinal Vessel Analysis for Detection of Glaucoma,” pp. 2321–9653, Jan. 2021.

S. C. Patel and M. I. Patel, “Analysis of CDR of fundus images for glaucoma detection,” in 2018 2nd International Conference on Trends in Electronics and Informatics (ICOEI), 2018, pp. 1071–1074.

R. Karmawat, N. Gour, and P. Khanna, “Glaucoma Detection using Fuzzy C-means Optic Cup Segmentation and Feature Classification,” in 2019 IEEE Conference on Information and Communication Technology, 2019, pp. 1–5.

A. A. Salam et al., “Benchmark data set for glaucoma detection with annotated cup to disc ratio,” in 2017 International Conference on Signals and Systems (ICSigSys), 2017, pp. 227–233.

K. Dutta, R. Mukherjee, S. Kundu, T. Biswas, and A. Sen, “Automatic evaluation and predictive analysis of optic nerve head for the detection of glaucoma,” in 2018 2nd International Conference on Electronics, Materials Engineering & Nano-Technology (IEMENTech), 2018, pp. 1–7.

A. Joshi et al., “Glaucoma Screening Through Level Set for Optic Disc Segmentation and Textural Features for Classification,” in 2018 International Conference on Intelligent and Advanced System (ICIAS), 2018, pp. 1–6.

J. Sivaswamy, S. Krishnadas, A. Chakravarty, G. Joshi, A. S. Tabish, and others, “A comprehensive retinal image dataset for the assessment of glaucoma from the optic nerve head analysis,” JSM Biomedical Imaging Data Papers, vol. 2, no. 1, p. 1004, 2015.

J. Sivaswamy, S. R. Krishnadas, G. D. Joshi, M. Jain, and A. U. S. Tabish, “Drishti-gs: Retinal image dataset for optic nerve head (onh) segmentation,” in 2014 IEEE 11th international symposium on biomedical imaging (ISBI), 2014, pp. 53–56.

J. I. Orlando et al., “REFUGE Challenge: A unified framework for evaluating automated methods for glaucoma assessment from fundus photographs,” Medical Image Analysis, vol. 59, p. 101570, 2020, doi:

F. Li et al., “Development and clinical deployment of a smartphone-based visual field deep learning system for glaucoma detection,” NPJ digital medicine, vol. 3, no. 1, pp. 1–8, 2020.

A. Y. D. Pinto, “Machine learning for glaucoma assessment using fundus images,” 2019.

R. V. Nahari, A. Jauhari, R. Hidayat, and R. Alfita, “Image Segmentation of Cows using Thresholding and K-Means Method,” International Journal of Advanced Engineering, Management and Science, vol. 3, no. 9, p. 239912, 2017.

K. Manju, R. S. Sabeenian, and A. Surendar, “A review on optic disc and cup segmentation,” Biomedical and Pharmacology Journal, vol. 10, no. 1, pp. 373–379, 2017.

Y. Liu et al., “Segmentation and Automatic Identification of Vasculature in Coronary Angiograms,” Computational and Mathematical Methods in Medicine, vol. 2021, 2021.

Z. W. Htet, V. D. Koldaev, Y. O. Teplova, E. A. Kremer, and P. A. Fedorov, “The evaluation of computational complexity of moment invariants in image processing,” in 2018 IEEE Conference of Russian Young Researchers in Electrical and Electronic Engineering (EIConRus), 2018, pp. 1844–1848.

F. Pedregosa et al., “Scikit-learn: Machine learning in Python,” the Journal of machine Learning research, vol. 12, pp. 2825–2830, 2011.

Y. Tan, “An improved KNN text classification algorithm based on K-medoids and rough set,” in 2018 10th International Conference on Intelligent Human-Machine Systems and Cybernetics (IHMSC), 2018, vol. 1, pp. 109–113.

H. Luo, X. Pan, Q. Wang, S. Ye, and Y. Qian, “Logistic regression and random forest for effective imbalanced classification,” in 2019 IEEE 43rd Annual Computer Software and Applications Conference (COMPSAC), 2019, vol. 1, pp. 916–917.

T. E. Tallo and A. Musdholifah, “The implementation of genetic algorithm in smote (synthetic minority oversampling technique) for handling imbalanced dataset problem,” in 2018 4th international conference on science and technology (ICST), 2018, pp. 1–4.

Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Classification of Glaucoma Using Invariant Moment Methods on K-Nearest Neighbor and Random Forest Models

Dimensions Badge
Article History
Submitted: 2022-01-27
Published: 2022-03-31
Abstract View: 104 times
PDF Download: 87 times
How to Cite
Arsyan, A., & Al Maki, W. F. (2022). Classification of Glaucoma Using Invariant Moment Methods on K-Nearest Neighbor and Random Forest Models. Building of Informatics, Technology and Science (BITS), 3(4), 466-472.