Bulletin of Network Engineer and Informatics (BUFNETS)
Vol. 4 No. 2 (2026): BUFNETS (Bulletin of Network Engineer and Informatics) October 2026

Banana Ripeness Identification Using CLAHE-Enhanced HSV Images and K-Means Clustering

Ida Bagus Adisimakrisna Peling (Politeknik Negeri Bali)
Made Pasek Agus Ariawan (Politeknik Negeri Bali)
I Gede Angga Saputra (Politeknik Negeri Bali)



Article Info

Publish Date
20 Oct 2026

Abstract

The sorting stage of banana ripeness in the post-harvest industry is generally still performed manually, which is highly susceptible to human subjectivity and the risk of physical damage to the fruit. This study aims to design a banana ripeness classification system (raw, half-ripe, and ripe) based on digital image processing by combining the Contrast Limited Adaptive Histogram Equalization (CLAHE) and K-Means Clustering methods. The CLAHE method is applied to the Value (V) channel of the HSV color space to improve local contrast and stabilize lighting variations. Object segmentation from the background is executed using K-Means Clustering (k=2) based on the highest saturation value, refined through morphological operations and Canny edge detection. The average HSV parameters and dominant color ratios (green, yellow, brown) are extracted to be classified using rule-based logic. Testing was conducted on 280 test images consisting of 99 raw images, 122 half-ripe images, and 59 ripe images. The experimental results demonstrate that the system achieves an overall accuracy of 94.64%, with F1-Score values of 94.53% (raw), 93.67% (half-ripe), and 96.72% (ripe). These results indicate that the integration of CLAHE-enhanced HSV features, K-Means-based segmentation, and rule-based classification provides a reliable approach for automated banana ripeness identification under varying imaging conditions.

Copyrights © 2026






Journal Info

Abbrev

bufnets

Publisher

Subject

Computer Science & IT

Description

The Journal invites original articles and is not simultaneously submitted to another journal or conference. Scopes: Information Technology: Software Engineering, Knowledge and Data Mining, Multimedia Technologies, Mobile Computing, Parallel/Distributed Computing, Computer Graphics, Virtual Reality, ...