Skip to main content Skip to main navigation menu Skip to site footer

Analysis of RGB range value on fingernail image for detecting diabetes mellitus risk


Introduction: Fingernail has various colors related to the organ’s body condition, such as the pancreas, indicated by diabetes mellitus. The study aims to determine and compare the RGB range value on the fingernail image to detect diabetes mellitus risk in fasting and non-fasting conditions.

Methods: The study was a true experimental study using fasting and non-fasting respondents. Data were obtained by blood glucose level testing and fingernail image capturing. The result of blood glucose levels was classified into normal, prediabetes, or diabetes, and fingernail images were followed according to their categories. The histogram determined the RGB values of fingernail images, and calculated the maximum value of color intensity based on the height peak appeared. The distribution frequency of each group was used to get a range of RGB fingernail images in each category.

Results: Based on the results, it showed a comparison of RGB range value between fasting and non-fasting condition, including range value differences in red and blue, but any slightly overlapped in green range value. In a future study, we will use ordinal logistic regression to determine the prediction program of diabetes mellitus risk. Furthermore, we will develop a program by adding some features to improve the analysis system of the fingernail image for diabetes mellitus risk detection.

Conclusion: There was a comparison of RGB range value on fingernail image between fasting and non-fasting condition.


  1. Pandit H. International Conference on Intelligent Systems and Signal Processing, ISSP 2017. Adv Intell Syst Comput. 2018;671:221–3.
  2. Ding Z, Sun J, Zhang Y. FCM Image Segmentation Algorithm Based on Color Space and Spatial Information. Int J Comput Commun Eng. 2013;2(1):48–51.
  3. Ganesan P, Rajini V. Segmentation and Denoising of Noisy Sattelite Images based on Modified Fuzzy C Means Clustering and Discrete Wavelet Transform for Information Retrieval. Int J Eng Technol. 2013;5(5).
  4. Ganesan P, Rajini V, Rajkumar RI. Segmentation and edge detection of color images using CIELAB Color Space and Edge detectors. Int Conf "Emerging Trends Robot Commun Technol INTERACT-2010. 2010;393–7.
  5. Ganesan P, Rajini V. Assessment of satellite image segmentation in RGB and HSV color space using image quality measures. 2014 Int Conf Adv Electr Eng ICAEE 2014. 2014;
  6. Phetnuam S, Yingthawornsuk T. Classfication of Categorized KMUTT-BKT’s Landscape Images Using RGB Color Feature. Proc - 14th Int Conf Signal Image Technol Internet Based Syst SITIS 2018. 2018;327–31.
  7. Federation ID. IDF Diabetes Atlas [Internet]. Ninth. Htp://Www. Idf. 2019. Available from:
  8. Wibawa AD, Purnomo MH. Early detection on the condition of Pancreas organ as the cause of diabetes mellitus by real time iris image processing. IEEE Asia-Pacific Conf Circuits Syst Proceedings, APCCAS. 2006;1008–10.
  9. Prayitno A, Wibawa AD, Purnomo MH. Early detection study of Kidney Organ Complication caused by Diabetes Mellitus using iris image color constancy. Proc 2016 Int Conf Inf Commun Technol Syst ICTS 2016. 2017;146–9.
  10. Shanmuga Priya B, Rajesh R. Kirlian images based early detection of diabetics using neural network. ICOT 2013 - 1st Int Conf Orange Technol. 2013;147–50.
  11. Easwaramoorthy S, Sophia F, Prathik A. Biometric authentication using finger nails. 1st Int Conf Emerg Trends Eng Technol Sci ICETETS 2016 - Proc. 2016;
  12. Bluman A. Elementary Statistics: A Step by Step Approach. Eighth. New York: McGraw-Hill Companies; 2012.
  13. Okabe T, Sato Y. Effects of image segmentation for approximating object appearance under near lighting. Lect Notes Comput Sci (including Subser Lect Notes Artif Intell Lect Notes Bioinformatics). 2006;3851 LNCS(June 2014):764–75.
  14. Kurniastuti I, Andini A. Determination of RGB in Fingernail Image As Early Detection of Diabetes Mellitus. Proc - 2019 Int Conf Comput Sci Inf Technol Electr Eng ICOMITEE 2019. 2019;1:206–10.

How to Cite

Kurniastuti, I., Andini, A., & Soraya, S. I. (2022). Analysis of RGB range value on fingernail image for detecting diabetes mellitus risk. Bali Medical Journal, 11(1), 265–271.




Search Panel