Perbandingan Algoritma K-Means dan Fuzzy C-Means pada Segmentasi Citra Biji Jengkol Deteksi Kematangan
Abstract
This study aims to compare the performance of K-Means and Fuzzy C-Means (FCM) algorithms in image segmentation of jengkol seeds (Archidendron pauciflorum) for automatic ripeness detection. The dataset comprises 300 images categorized into three ripeness classes: ripe (100 images), half-ripe (100 images), and unripe (100 images). Images were acquired using a 12 MP smartphone camera at a standardized resolution of 640×480 pixels under controlled lighting at a distance of 20 cm from the object. The research pipeline includes image preprocessing (RGB-to-HSV and LAB/CIELAB color space conversion, median filter noise reduction, and contrast enhancement), K-Means and FCM segmentation, color and texture feature extraction using the Gray Level Co-occurrence Matrix (GLCM), and performance evaluation based on accuracy, Peak Signal-to-Noise Ratio (PSNR), and computational time. Results indicate that FCM achieves 90–93% accuracy and 30–32 dB PSNR, outperforming K-Means (85–88% accuracy, 27–29 dB PSNR). Nevertheless, K-Means excels in computational efficiency (0.45 s vs. 1.20 s). FCM is recommended for high-accuracy applications, whereas K-Means is preferred when computational efficiency is prioritized.
Downloads
References
Amrozi, Y., Yuliati, D., Susilo, A., Novianto, N., & Ramadhan, R. (2022). Klasifikasi Jenis Buah Pisang Berdasarkan Citra Warna dengan Metode SVM. Jurnal Sisfokom (Sistem Informasi Dan Komputer), 11(3), 394–399. https://doi.org/10.32736/sisfokom.v11i3.1502
Andika, T. H. (2019). Pengenalan Pola Berbasis Segmentasi Citra Menggunakan Algoritma Fuzzy C-Means dan K-Means. Aisyah Journal Of Informatics and Electrical Engineering (A.J.I.E.E), 1(1), 1–10. https://doi.org/https://doi.org/10.30604/jti.v1i1.3
Astuti, I. F., Nuryanto, F. D., Widagdo, P. P., & Cahyadi, D. (2019). Oil palm fruit ripeness detection using K-Nearest neighbour. Journal of Physics: Conference Series, 1277(1). https://doi.org/10.1088/1742-6596/1277/1/012028
Aznawi, N. M., Setiadi, M. I., Aina, Z., Manullang, S., & Rahmadiyah, S. N. (2025). Implementasi K-Means Clustering pada Citra Digital Tomat untuk Identifikasi Kondisi Segar dan Busuk. Journal of Students‘ Research in Computer Science, 6(1), 59–68. https://doi.org/10.31599/srtqmw49
Citra, P., Equalization, H., Gambar, P., Tua, B., Hsb, A. M., Rifansyah, R., & Rambe, R. P. (2023). Application of Image Median Filter and Histogram Equalization on Old Building Images. Jurnal Garuda Pengabdian Kepada Masyarakat, 1(2), 0–7. https://doi.org/10.55537/gabdimas
Gladys Pra Adissha Nadira, & Rizaldy Khair. (2025). Analisis Perbandingan Algoritma K-MEANS dan DBSCAN Clustering Kondisi Ekonomi Masyarakat di Kelurahan Pulo Brayan Darat 1. Jurnal Sistem Informasi Dan Ilmu Komputer, 3(2), 86–95. https://doi.org/10.59581/jusiik-widyakarya.v3i2.5230
Malik Gumiwang, Z. Y., Haikal Nuqqy Zahhar, A., & Maulana, H. (2023). Perbandingan Segmentasi CitraMenggunakan Algoritma K-Means Dan Algoritma Fuzzy C-Means. Jurnal Manajemen Informatika Jayakarta, 3(1), 21–26. https://doi.org/10.52362/jmijayakarta.v3i1.992
Marlinda, L., Fatchan, M., Widiyawati, W., Aziz, F., & Indrarti, W. (2021). Segmentation of Mango Fruit Image Using Fuzzy C-Means. SinkrOn, 5(2), 275–281. https://doi.org/10.33395/sinkron.v5i2.10933
Mohyuddin, G., Khan, M. A., Haseeb, A., Mahpara, S., Waseem, M., & Saleh, A. M. (2024). Evaluation of Machine Learning Approaches for Precision Farming in Smart Agriculture System: A Comprehensive Review. IEEE Access, 12, 60155–60184. https://doi.org/10.1109/ACCESS.2024.3390581
Nur Rochim, F., Desky Sompie, G., Mua’mmar, Imam Saputra, R., & Rosyani, P. (2024). Perancangan Sistem Deteksi Warna Real-Time Menggunakan Metode Gaussian Blur Dan Ruang Warna HSV. Biner : Jurnal Ilmu Komputer, Teknik Dan Multimedia, 2(2), 178–183. https://doi.org/https://doi.org/10.66341/fusion.v3i1.282
Paliling, A., Muchtar, M., & Fardian, F. (2025). Sistem Cerdas Deteksi Kematangan Buah Naga Berbasis HSV-KNN. E-Jurnal JUSITI (Jurnal Sistem Informasi Dan Teknologi Informasi), 14(1), 46–55. https://doi.org/10.36774/jusiti.v14i1.1718
Patel, K. K., Kar, A., Jha, S. N., & Khan, M. A. (2012). Machine vision system: A tool for quality inspection of food and agricultural products. Journal of Food Science and Technology, 49(2), 123–141. https://doi.org/10.1007/s13197-011-0321-4
Pham, H., Bhatt, P., Pavlopoulos, V., Tan, Y., & Patnayakuni, R. (2026). A Comparative Study of Convolutional Neural Networks and Vision Transformers for Agricultural Image Classification. Journal of Database Management, 36(1), 1–27. https://doi.org/10.4018/jdm.396706
Pratt, W. K. (2007). Digital Image Processing, 4th Edition. In Journal of Electronic Imaging (Vol. 16, Issue 2). https://doi.org/10.1117/1.2744044
Proaño-Guevara, D., Valencia, X. B., Rosero-Montalvo, P. D., & Peluffo-Ordóñez, D. H. (2022). Electromiographic Signal Processing Using Embedded Artificial Intelligence: An Adaptive Filtering Approach. International Journal of Interactive Multimedia and Artificial Intelligence, 7(5), 40–50. https://doi.org/10.9781/ijimai.2022.08.009
Salsabila Arifa Hasibuan, Zahara Vonna, Silfia Rahmadani Sitorus, Putri Kurni Wati, & Siti Fadiyah Nabila. (2025). Aplikasi Pengolahan Citra Mendeteksi Kualitas Tomat Berdasarkan Tingkat Kematangan Meggunakan Transformasi Warna YcbCr. Jurnal Publikasi Ilmu Komputer Dan Multimedia, 4(2), 160–167. https://doi.org/10.55606/jupikom.v4i2.4117
Sipan, M., & Pramuyanti, R. K. (2023). Implementasi Fuzzy C Mean Clustering Menggunakan Segmentasi Warna pada Mata Tua (Presbyopia). Elektrika, 15(2), 113. https://doi.org/10.26623/elektrika.v15i2.7976
Wati, A., Rahmah, S., Fawait, A. B., Studi, P., Komputer, I., Gama, U. W., Samarinda, M., Pertanian, F., Agroteknologi, P. S., Widya, U., Mahakam, G., & Learning, D. (2026). Penerapan Arsitektur U-Net untuk Segmentasi Semantik Citra Buah dengan Latar Belakang Kompleks. 10(1), 40–49. https://doi.org/10.30872/jurti.v10i1.26518
Wildan Amin Wiharja, Tohirin Al Mudzakir, Hilda Yulia Novita, & Jamaludin Indra. (2025). Perbandingan Algoritma Logistic Regression dan K-Nearest Neighbor Dalam Klasifikasi Kematangan Buah Pepaya. Bulletin of Computer Science Research, 5(4), 353–360. https://doi.org/10.47065/bulletincsr.v5i4.550
Wiliani, N., Lusi, A. P. V. D., & Hikmah, N. (2023). Identifying Skin Cancer Disease Types With You Only Look Once (YOLO) Algorithm. Jurnal Riset Informatika, 5(3), 455–464. https://doi.org/10.34288/jri.v5i3.241
Zhu, X., Ren, L., Yang, M., Zhang, Y., Zhang, C., Cui, J., & Liu, J. (2025). A systematic review of deep learning-based object detection methods for crop grading. CABI Agriculture and Bioscience, 6(1), 1–23. https://doi.org/10.1079/ab.2025.0060
Bila bermanfaat silahkan share artikel ini
Berikan Komentar Anda terhadap artikel Perbandingan Algoritma K-Means dan Fuzzy C-Means pada Segmentasi Citra Biji Jengkol Deteksi Kematangan
Pages: 947-953
Copyright (c) 2026 Entin Monika, Harry Witriyono

This work is licensed under a Creative Commons Attribution 4.0 International License.
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 Creative Commons Attribution 4.0 International License that allows others to share the work with an acknowledgment 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 acknowledgment 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 (Refer to The Effect of Open Access).













