Research on rapid detection of nitrogen concentration in facility cucumber leaves based on hyperspectral technology
<bold>Objective</bold> Nitrogen is a core macronutrient that drives the growth,development,yield formation,and quality establishment of greenhouse cucumbers.Real-time monitoring of leaf nitrogen concentration is crucial for precise fertilization and green production.This study aims to rapidly and non-destructively monitor leaf nitrogen concentration in greenhouse cucumbers using hyperspectral imaging systems,with the goal of improving agricultural production efficiency and accuracy,and achieving intelligent management and precise fertilization. <bold>Method</bold> The experiment was conducted in a second-generation solar greenhouse in Helan County,Ningxia.Six nitrogen application levels(N0-N5)were set,and the cucumber cultivar “De’er 15” was used.First,hyperspectral images of cucumber leaves during the flowering and fruiting periods were collected,and leaf nitrogen concentration was precisely determined through laboratory chemical analysis to obtain baseline modeling data.Next,samples were divided into training and prediction sets in a 4∶1 ratio using the SPXY algorithm.The raw spectral data were preprocessed using the moving average(MA)and Savitzky-Golay(SG)methods.Feature wavelengths were then extracted using competitive adaptive reweighted sampling(CARS),uninformative variable elimination(UVE),and a combination of UVE and CARS(UVE-CARS).Finally,three machine learning methods—random forest(RF),extreme learning machine(ELM),and convolutional neural network(CNN)—were used to establish prediction models for leaf nitrogen concentration during the flowering and fruiting stages of cucumbers. <bold>Result</bold> Preprocessing of the raw spectral data effectively improved the accuracy of the prediction models,with the SG method performing better than MA for raw spectral data.Compared to raw spectra,the <italic>R</italic>² values of the prediction sets for flowering and fruiting stages increased by 0.052 and 0.037,respectively,while RMSE decreased by 11.6% and 8.4%.In the flowering period model,the CNN model built using CARS-extracted feature wavelengths achieved superior prediction performance,with an <italic>R</italic>² of 0.815 and RMSE of 4.940 for the prediction set.In the fruiting period model,the RF model using UVE-CARS feature wavelengths achieved a prediction set <italic>R</italic>² of 0.875 and RMSE of 2.991,indicating high predictive ability. <bold>Conclusion</bold> By applying different preprocessing and wavelength extraction methods to hyperspectral data,and exploring machine learning-based models,we achieved rapid detection of leaf nitrogen concentration in greenhouse cucumbers at different growth periods,providing a theoretical basis for precise nitrogen fertilizer management.
Authors
- Longguo Wu (ORCID: https://orcid.org/0000-0002-9909-7476)
- Pengyuan Lyu (ORCID: https://orcid.org/0000-0003-3153-8519)
- Haiyang Yang (ORCID: https://orcid.org/0000-0002-3455-3282)
- Quzhen Gesang
- Jiahao YANG
- Yun’e CAO
- Shuai Wang
- Hua Ma
Publication Details
- Journal
- ACTA AGRICULTURAE UNIVERSITATIS JIANGXIENSIS
- Published
- 2026-02-01
- DOI
- https://doi.org/10.3724/aauj.2026007
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Key Research and Development Program of Ningxia