Rice Moisture Classification from Smartphone Images: Balancing Performance, Stability, and Cost with Data Envelopment Analysis
Affordable moisture assessment is essential for sustainable rice postharvest management. This exploratory study classifies seven moisture levels (10% to 16%) of rice grains from 1771 smartphone images acquired under eight conditions of lighting, color channel, and zoom. Global descriptors were classified with three classifiers and local keypoint descriptors with Random Forest only; in the original analysis, the maximum macro F1-score (averaged over classifiers) was 0.95 on held-out images from the same acquisition sessions. Data Envelopment Analysis (DEA) was applied to 126 pipelines (classifier, global descriptor, and image scale), with feature length and image scale as cost inputs and mean F1-score and stability across acquisition conditions as outputs. With these cost proxies, the descriptor, rather than the classifier, drove efficiency: local binary patterns (LBPs, 18 dimensions) offered the best trade-off. In a re-evaluation of 21 global-descriptor pipelines, the mean F1-score was 0.76 with random image splits, 0.68 with time-block cross-validation, and 0.10 across conditions. With measured extraction time and model size, simple color histograms became the most efficient, and the proxy-based and measured-cost rankings were unrelated. Since each level was photographed in a single session, the results do not establish a moisture-measurement method, and validation on independent batches is required. The DEA framework makes computational cost an explicit criterion for selecting low-cost moisture-monitoring pipelines.
Authors
- Karina Jimenes-Vargas (ORCID: https://orcid.org/0000-0002-1179-3128)
- Patricia Acosta-Vargas (ORCID: https://orcid.org/0000-0003-4210-0117)
- Omar Flor-Unda (ORCID: https://orcid.org/0000-0002-3455-5982)
- H. A. Palácios-Cabrera (ORCID: https://orcid.org/0000-0003-2179-8499)
- Daniel Díaz‐Bedoya (ORCID: https://orcid.org/0009-0000-3222-6037)
- Mario González (ORCID: https://orcid.org/0000-0002-0204-5662)
- Sofia Arellano-Lafuente
Institutions
- Andrews University (US)
- Universidad de Las Américas (EC)
Publication Details
- Journal
- Sustainability
- Published
- 2026-11-27
- DOI
- https://doi.org/10.3390/su182312140
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00