Abstract
Citrus diseases severely impact fruit yield and quality. To facilitate in-field, non-destructive, and rapid detection of citrus leaf physiological and pathological conditions, this study proposes a classification method for citrus leaf physiological and pathological statuses that integrates visible/near-infrared multispectral technology with deep learning. First, a handheld spectrometer was employed to acquire spectral images of five sample categories—Healthy, Huanglongbing, Yellow Vein Disease, Magnesium Deficiency and Manganese Deficiency. Mean spectral data were extracted from regions of interest within the 350–2500 nm wavelength range, and various preprocessing techniques were evaluated. The Standard Normal Variate (SNV) transformation, which demonstrated optimal performance, was selected for data preprocessing. Next, we innovatively introduced an adaptive spectral positional encoding mechanism into the Transformer framework. A lightweight, learnable network dynamically optimizes positional biases, yielding the ASTransformer (Adaptive Spectral Transformer) model, which more effectively captures complex dependencies among spectral features and identifies critical wavelength bands, thereby significantly enhancing the model’s adaptive representation of discriminative bands. Finally, the preprocessed spectra were fed into three deep learning architectures (1D-CNN, 1D-ResNet, and ASTransformer) for comparative evaluation. The results indicate that ASTransformer achieves the best classification performance: an overall accuracy of 97.7%, underscoring its excellent global classification capability; a Macro Average of 97.5%, reflecting balanced performance across categories; a Weighted Average of 97.8%, indicating superior performance in classes with larger sample sizes; an average precision of 97.5%, demonstrating high predictive accuracy; an average recall of 97.7%, showing effective detection of most affected samples; and an average F1-score of 97.6%, confirming a well-balanced trade-off between precision and recall. Furthermore, interpretability analysis via Integrated Gradients quantitatively assesses the contribution of each wavelength to the classification decisions. These findings validate the feasibility of combining a handheld spectrometer with the ASTransformer model for effective citrus leaf physiological and pathological detection, enabling efficient classification and feature visualization, and offer a valuable reference for disease detection of physiological and pathological conditions in other fruit crops.
Author supplied keywords
Cite
CITATION STYLE
Dai, Q., Huang, Y., Li, Z., Lyu, S., Xue, X., Song, S., … Zhang, S. (2025). Field-Based, Non-Destructive and Rapid Detection of Citrus Leaf Physiological and Pathological Conditions Using a Handheld Spectrometer and ASTransformer. Agriculture (Switzerland), 15(17). https://doi.org/10.3390/agriculture15171864
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.