Nitrogen Estimation in Maize Using RGB Leaf Image Analysis and Deep Learning

The integration of digitization and automation into traditional farming has transformed agriculture, enhanced productivity and delivered significant economic benefits. Recent advances in deep learning (DL) provide new opportunities for automating crop monitoring and nutrient management. This paper proposes a framework for estimating nitrogen content in maize leaves using RGB images captured under field conditions. A UNet-based segmentation model isolates leaves from complex, uncontrolled backgrounds, and a convolutional neural network (CNN) extracts discriminative features. These features are evaluated using three regression models, Support Vector Regressor (SVR), Random Forest Regressor (RFR), and Gradient Boosting Regressor (GBR), to predict SPAD values, ranges from 24.9 to 59.5, an indirect measure of chlorophyll and nitrogen content. Experiments conducted on six maize varieties (three open-pollinated and three hybrid) across four growth stages yielded an overall lowest mean absolute error (MAE) of 3.56 and a correlation coefficient of 0.76. Aggregating results by dataset type, the best-performing method achieved an average MAE of 3.41 for OPV and 3.83 for Hybrid varieties. Further analysis by individual variety type revealed that RFR was most effective, attaining the lowest MAEs of 1.34 and 1.47 for OPV and Hybrid varieties, respectively. A second contribution is MaizeRGB, a comprehensive, publicly available dataset containing RGB images and ground-truth SPAD measurements for multiple maize varieties, nitrogen levels, and growth stages. The proposed approach demonstrates high accuracy, robustness to variable field conditions, and strong potential for low-cost, scalable nitrogen management in precision agriculture.

Authors

Institutions

Publication Details

Journal
Tarım Bilimleri Dergisi
Published
2026-07-28
DOI
https://doi.org/10.15832/ankutbd.1763304
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
OCT
article

Nitrogen Estimation in Maize Using RGB Leaf Image Analysis and Deep Learning

Rashid Mahmood, Muhammad Hassan Khan, Muhammad Shahid Farid, Rabia Zafar
Tarım Bilimleri Dergisi
Smart Agriculture and AI
article

Nitrogen Estimation in Maize Using RGB Leaf Image Analysis and Deep Learning

Rashid Mahmood, Muhammad Hassan Khan, Muhammad Shahid Farid, Rabia Zafar
article en

Abstract

The integration of digitization and automation into traditional farming has transformed agriculture, enhanced productivity and delivered significant economic benefits. Recent advances in deep learning (DL) provide new opportunities for automating crop monitoring and nutrient management. This paper proposes a framework for estimating nitrogen content in maize leaves using RGB images captured under field conditions. A UNet-based segmentation model isolates leaves from complex, uncontrolled backgrounds, and a convolutional neural network (CNN) extracts discriminative features. These features are evaluated using three regression models, Support Vector Regressor (SVR), Random Forest Regressor (RFR), and Gradient Boosting Regressor (GBR), to predict SPAD values, ranges from 24.9 to 59.5, an indirect measure of chlorophyll and nitrogen content. Experiments conducted on six maize varieties (three open-pollinated and three hybrid) across four growth stages yielded an overall lowest mean absolute error (MAE) of 3.56 and a correlation coefficient of 0.76. Aggregating results by dataset type, the best-performing method achieved an average MAE of 3.41 for OPV and 3.83 for Hybrid varieties. Further analysis by individual variety type revealed that RFR was most effective, attaining the lowest MAEs of 1.34 and 1.47 for OPV and Hybrid varieties, respectively. A second contribution is MaizeRGB, a comprehensive, publicly available dataset containing RGB images and ground-truth SPAD measurements for multiple maize varieties, nitrogen levels, and growth stages. The proposed approach demonstrates high accuracy, robustness to variable field conditions, and strong potential for low-cost, scalable nitrogen management in precision agriculture.

Tarım Bilimleri DergisiVol. 32(3)
University of the Punjab (PK)
Openalex Percentile: Top 10%
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.