Computing Insight: Journal of Computer Science
Vol 8 No 1 (2026)

Karakterisasi Perubahan Cabai Merah Besar Menggunakan Citra RGB dengan Metode Gray Level Co-occurrence Matrix (GLCM) dan K-Means Clustering

Irsani Taba Leki (Universitas 17 Agustus 1945 Surabaya)
Elvianto Dwi Hartono (Universitas 17 Agustus 1945 Surabaya)



Article Info

Publish Date
28 Nov 2026

Abstract

Large red chili pepper (Capsicum annuum L.) deteriorates rapidly during storage, as indicated by changes in color and surface texture. This study aimed to characterize these changes objectively using RGB images, the Gray Level Co-occurrence Matrix (GLCM), and K-Means Clustering. A total of 80 images were acquired over 20 days at two acquisition times and under two treatment conditions using a mini studio with fixed camera position and illumination. Images were resized to 512 × 512 pixels, separated into RGB channels, converted to grayscale, and processed using GLCM at 0°, 45°, 90°, and 135°. Seven features were normalized using z-score and grouped into three clusters. The mean Red intensity decreased from 41.33 to 24.43 or 40.89%, while Green and Blue decreased by 28.58% and 29.36%, respectively. Contrast increased by 111.32%, correlation decreased by 2.82%, energy increased by 24.87%, and homogeneity increased by 5.53%. K-Means assigned 32 observations to Cluster 1, 17 to Cluster 2, and 31 to Cluster 3, interpreted as beginning to change, relatively good, and wilting or damaged conditions. The findings show that combined color and texture features represent storage-related changes; however, cluster interpretation still requires validation using physical quality measurements.

Copyrights © 2026






Journal Info

Abbrev

CI

Publisher

Subject

Computer Science & IT

Description

Computing Insight : Journal of Computer Science merupakan jurnal yang diterbitkan oleh UMSurabaya dan dikelola oleh program studi teknik komputer bersama dengan program studi informatika Universitas Muhammadiyah Surabaya. Jurnal ini terbit dua kali dalam setahun yaitu bulan November dan Mei. Jurnal ...