Early Detection of Retinoblastoma Using K-Nearest Neighbors and HSV Color Features
Downloads
Retinoblastoma (RB) is the most common malignant intraocular cancer in children and may lead to blindness or death if not detected early. Most existing detection methods utilize deep learning approaches, which require large datasets and high computational resources. Therefore, this study proposes a simple and efficient early detection method for retinoblastoma using HSV (Hue, Saturation, Value) color features and the K-Nearest Neighbors (KNN) algorithm. The dataset consisted of 105 eye images, including 52 normal eye images and 53 retinoblastoma-positive images. The research stages included region-of-interest extraction in the pupil area, conversion of images from the RGB color space to HSV, feature extraction based on average saturation and average brightness values, and classification using KNN. Model evaluation was performed using the Leave-One-Out Cross-Validation (LOOCV) method with k-value variations ranging from 1 to 10. The test results showed that k = 1 achieved the best performance, with an accuracy of 83.81%, sensitivity of 83.02%, specificity of 84.62%, precision of 84.62%, and an F1-score of 83.81%. These results demonstrated that the combination of HSV color features and KNN classification was able to effectively distinguish between normal eye images and retinoblastoma cases. The proposed method has the potential to serve as a simple and low-cost screening tool for early retinoblastoma detection.
Copyright (c) 2026 Dewi Holilah

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

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlike 4.0 International (CC-BY-SA). that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work.




