BAREKENG: Jurnal Ilmu Matematika dan Terapan
Vol 20 No 3 (2026): BAREKENG: Journal of Mathematics and Its Application

A COMPARATIVE ANALYSIS OF COLOR SPACES FOR TOMATO RIPENESS CLASSIFICATION USING MACHINE LEARNING AND DEEP LEARNING APPROACHES

Firda Fadri (Department of Mathematics, Faculty of Mathematics and Natural Sciences, Universitas Jember, Indonesia)
Yoyok Yulianto (Department of Mathematics, Faculty of Mathematics and Natural Sciences, Universitas Jember, Indonesia)
Kiswara Agung Santoso (Department of Mathematics, Faculty of Mathematics and Natural Sciences, Universitas Jember, Indonesia)



Article Info

Publish Date
08 Apr 2026

Abstract

The classification of tomato ripeness is crucial for post-harvest processing, quality assurance, and agricultural automation, as manual evaluation is often subjective, inconsistent, and time-consuming. This research investigated the impact of color space selection and hyperparameter optimization on tomato ripeness classification using machine learning (SVM, Random Forest, K-NN, GNB) and deep learning (CNN) approaches. Evaluation results indicated that YCbCr was the best-performing color space for classical models, with SVM achieving the highest accuracy (91.24%) and RF following closely (89.54%), whereas HSV yielded optimal performance for CNN (90.46%), highlighting differences in feature extraction mechanisms. Confusion matrix and ROC curve analyses demonstrated that models capturing nonlinear and interdependent color features, such as SVMs and CNNs, achieved superior class separability, particularly for the Ripe and Unripe classes. Dominant channel analysis revealed that chrominance channels, Cb in YCbCr and H in HSV, played a critical role in ripeness discrimination. These findings emphasized the importance of preprocessing for feature selection and provided guidance on selecting appropriate models and color spaces to improve the accuracy and reliability of automated tomato ripeness classification.

Copyrights © 2026






Journal Info

Abbrev

barekeng

Publisher

Subject

Computer Science & IT Control & Systems Engineering Economics, Econometrics & Finance Energy Engineering Mathematics Mechanical Engineering Physics Transportation

Description

BAREKENG: Jurnal ilmu Matematika dan Terapan is one of the scientific publication media, which publish the article related to the result of research or study in the field of Pure Mathematics and Applied Mathematics. Focus and scope of BAREKENG: Jurnal ilmu Matematika dan Terapan, as follows: - Pure ...