Skip to main content
Have a personal or library account? Click to login
Comparative Study of Red-Green-Blue (RGB), Hue-Saturation-Value (HSV), CIE L*a*B* (Lab), and Luminance-Chrominance (YCbCr) Colour Spaces for Fruit Segmentation in Agricultural Images Cover

Comparative Study of Red-Green-Blue (RGB), Hue-Saturation-Value (HSV), CIE L*a*B* (Lab), and Luminance-Chrominance (YCbCr) Colour Spaces for Fruit Segmentation in Agricultural Images

Open Access
|Sep 2026

Abstract

Fruit detection and segmentation are key components of agricultural automation pipelines, enabling tasks such as yield estimation, quality sorting, and robotic harvesting in resource-constrained environments. This study evaluates four colour spaces – RGB, HSV, CIE L*a*b* (LAB), and YCbCr – for threshold-based fruit segmentation in precision agriculture and robotic harvesting. It specifically investigates which colour space maintains the highest accuracy and stability under variable indoor illumination. A dataset of 144 images featuring fruits from four colour categories (red, green, orange, and yellow) was utilised. Colour thresholds were calibrated through manual region-of-interest selection and applied using chromatic thresholding and morphological refinement, resulting in 2304 mask evaluations based on intersection over union (IoU), precision, recall, and F1-score. Clear and statistically significant differences were found among colour spaces: HSV achieved the highest overall performance (F1-score = 0.972, IoU = 0.947), followed by RGB (F1-score = 0.823), LAB (F1-score = 0.714), and YCbCr (F1-score = 0.682), confirmed by non-parametric statistical testing. HSV is established as the most accurate and consistent colour representation for fruit segmentation under the proposed experimental protocol, providing practical guidance for lightweight, real-time segmentation pipelines in agricultural automation systems operating under variable illumination conditions.

DOI: https://doi.org/10.2478/ata-2026-0020 | Journal eISSN: 1338-5267 | Journal ISSN: 1335-2555
Language: English
Page range: 167 - 178
Published on: Sep 5, 2026
Published by: Slovak University of Agriculture in Nitra
In partnership with: Paradigm Publishing Services

© 2026 Maxwell Salazar, Paola Portero, Santiago Perez, published by Slovak University of Agriculture in Nitra
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 3.0 License.