Application of spectral preprocessing and machine learning models for discriminating nitrogen levels in cucumber production
Sajad Sabzi, Mohsen Azadbakht, Mohammad Vahedi Torshizi, Razieh Pourdarbani
Gorgan University of Agricultural Sciences and Natural Resources · Tarbiat Modares University
Key points
From the paper's conclusion- The results demonstrated that SVM consistently achieved the highest classification performance across all scenarios.
Abstract
Nitrogen is one of the most essential macronutrients for plant growth, and its improper management can reduce fertilizer use efficiency while causing significant economic and environmental consequences. In this study, a hyperspectral imaging–based machine learning framework was developed and evaluated to classify different nitrogen fertilizer levels in cucumber leaves (cv. Super Arshiya-F1). Nitrogen treatments consisted of 30%, 60%, and 90% additional nitrogen applied to a nutrient solution with a base concentration of 2 g L⁻¹. Seventy-two hours after treatment application, a total of 300 leaves were collected from the treated plants, and hyperspectral images were acquired in the spectral range of 400–1100 nm, producing 327 spectral bands for each sample. To enhance signal quality and examine the influence of spectral preprocessing on class separability, three preprocessing techniques—Savitzky–Golay filtering, Multiplicative Scatter Correction (MSC), and Gaussian normalization—were applied exclusively to the training dataset and subsequently transferred to the independent test set. Three machine learning algorithms, including Support Vector Machine (SVM), Linear Discriminant Analysis (LDA), and Decision Tree (DT), were evaluated using a 75/25 training–testing split along with five-fold cross-validation for model optimization. The results demonstrated that SVM consistently achieved the highest classification performance across all scenarios. The best results were obtained without preprocessing and with Gaussian normalization, both reaching an overall accuracy of 94%, an F1-score of approximately 0.94, and a ROC–AUC exceeding 0.98. In contrast, LDA showed moderate performance, while DT yielded the lowest classification accuracy. These findings highlight the strong potential of integrating hyperspectral imaging with SVM for accurate discrimination of nitrogen levels and for supporting efficient nutrient management in crop production systems.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Coupling critical nitrogen dilution curve with hyperspectral feature optimization and machine learning for inversion of nitrogen nutrition index in greenhouse cucumber.Frontiers in plant science · 2026
- Spectral Index Optimization and Machine Learning for Hyperspectral Inversion of Maize Nitrogen ContentAgronomy · 2025
- Visible-near infrared hyperspectral imaging for non-destructive estimation of leaf nitrogen content under water-saving irrigation in protected tomato cultivationFrontiers in Plant Science · 2025
- Comparative Assessment of Spectral Preprocessing and Predictive Models for Olive Leaf Nitrogen Estimation from Laboratory Hyperspectral ReflectanceAgronomy · 2026
- Machine Learning-Based Classification of Nitrogen Nutritional Status in Common Bean Across Phenological Stages Using RGB Image TextureAgriEngineering · 2026
- Hyperspectral inversion of winter wheat nitrogen content based on feature optimization and stacking ensemble learning.Frontiers in plant science · 2026