Compares segmentation accuracy of methods in uncontrolled cacao environments, indicating GrabCut as a robust choice.
Image segmentation is a critical step in computer vision systems for phytosanitary diagnosis in cacao production. However, the reliability of classical segmentation methods remains insufficiently assessed under real field conditions, where images captured under non-standardized conditions are often affected by variable illumination, complex backgrounds, partial occlusions, and chromatic similarity between cacao pods and surrounding vegetation. This study compares global thresholding, K-means clustering, and GrabCut using 343 cocoa pod images captured in uncontrolled agricultural environments with non-standardized mobile devices; low-resolution images were retained to preserve external validity. Robustness was assessed on the full dataset using unsupervised structural metrics, including the segmented area ratio (AS), the largest component ratio (LCR), and the catastrophic failure rate (FC), while accuracy was validated on 50 manually annotated images using Intersection over Union (IoU). Wilcoxon signed-rank tests indicated statistically significant differences among methods. GrabCut achieved the best performance (IoU = 0.814), high structural coherence (LCR = 0.985), and a low catastrophic failure rate (FC = 1.7%). In contrast, K-means showed severe fragmentation and instability, whereas global thresholding was highly sensitive to illumination variability and complex backgrounds. These results indicate that GrabCut provides a robust training-free baseline for cocoa pod segmentation under uncontrolled field conditions, particularly for offline phytosanitary analysis where annotated datasets, supervised training, or GPU-based deployment are limited.
No takes yet. Share an insight, caveat, or question.
Martínez-Solís et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: