Machine Learning-Based Classification of Nitrogen Nutritional Status in Common Bean Across Phenological Stages Using RGB Image Texture

Nitrogen (N) fertilization is essential for common bean (Phaseolus vulgaris L.) yield, and image-based texture analysis offers a fast, non-destructive alternative to conventional nutritional diagnosis. While previous studies have already shown that Red-Green-Blue (RGB) texture attributes can discriminate N levels in common bean, this study addresses two aspects that remain underexplored: the joint effect of phenological stage and image block size on classifier performance. A greenhouse dataset was built using cultivar Madrepérola (BRS FC104) grown in 30 pots across five N doses (0, 50, 100, 150, and 200% of the recommended rate, corresponding to 0, 0.58, 1.17, 1.75, and 2.33 g N per pot; six replicates each). Images were acquired at stages V3, V4, and R1, and cropped into blocks of four sizes (10 × 10, 40 × 40, 60 × 20, and 80 × 80 pixels), yielding 6000 image blocks per dose (30,000 in total). To prevent data leakage, training and test sets were strictly separated at the pot level, ensuring that all image blocks from a given plant were assigned exclusively to one set. Texture features were extracted via the gray-level co-occurrence matrix (GLCM) and classified using Support Vector Machine(SVM), Random Forest, K-Nearest Neighbors (KNN), and Convolutional Neural Network (CNN). Performance varied with stage and block size: CNN was the most stable classifier (mean accuracy 71.8%), while KNN and SVM performed best at later stages and larger blocks (peaks of 80.8% and 83.2%, respectively). These results support GLCM texture descriptors as a promising tool for N-status classification, warranting validation on independent plants under field conditions.

Authors

Institutions

Publication Details

Journal
AgriEngineering
Published
2026-09-30
DOI
https://doi.org/10.3390/agriengineering8100411
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

Machine Learning-Based Classification of Nitrogen Nutritional Status in Common Bean Across Phenological Stages Using RGB Image Texture

Murilo Mesquita Baesso, Camilla Ricci
AgriEngineering
Smart Agriculture and AI
article

Machine Learning-Based Classification of Nitrogen Nutritional Status in Common Bean Across Phenological Stages Using RGB Image Texture

Murilo Mesquita Baesso, Camilla Ricci
article en

Abstract

Nitrogen (N) fertilization is essential for common bean (Phaseolus vulgaris L.) yield, and image-based texture analysis offers a fast, non-destructive alternative to conventional nutritional diagnosis. While previous studies have already shown that Red-Green-Blue (RGB) texture attributes can discriminate N levels in common bean, this study addresses two aspects that remain underexplored: the joint effect of phenological stage and image block size on classifier performance. A greenhouse dataset was built using cultivar Madrepérola (BRS FC104) grown in 30 pots across five N doses (0, 50, 100, 150, and 200% of the recommended rate, corresponding to 0, 0.58, 1.17, 1.75, and 2.33 g N per pot; six replicates each). Images were acquired at stages V3, V4, and R1, and cropped into blocks of four sizes (10 × 10, 40 × 40, 60 × 20, and 80 × 80 pixels), yielding 6000 image blocks per dose (30,000 in total). To prevent data leakage, training and test sets were strictly separated at the pot level, ensuring that all image blocks from a given plant were assigned exclusively to one set. Texture features were extracted via the gray-level co-occurrence matrix (GLCM) and classified using Support Vector Machine(SVM), Random Forest, K-Nearest Neighbors (KNN), and Convolutional Neural Network (CNN). Performance varied with stage and block size: CNN was the most stable classifier (mean accuracy 71.8%), while KNN and SVM performed best at later stages and larger blocks (peaks of 80.8% and 83.2%, respectively). These results support GLCM texture descriptors as a promising tool for N-status classification, warranting validation on independent plants under field conditions.

AgriEngineeringVol. 8(10)
Universidade de São Paulo (BR)
Openalex Percentile: Top 14%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.