Field-Based, Non-Destructive and Rapid Detection of Citrus Leaf Physiological and Pathological Conditions Using a Handheld Spectrometer and ASTransformer

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.

Authors

Institutions

Publication Details

Journal
Agriculture
Published
2025-08-31
DOI
https://doi.org/10.3390/agriculture15171864
Citations
1
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.75

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Field-Based, Non-Destructive and Rapid Detection of Citrus Leaf Physiological and Pathological Conditions Using a Handheld Spectrometer and ASTransformer

Jiyang Fu, Shilei Lyu, Ying Huang, Shaoyu Zhang et al.
1 citations
Agriculture
Spectroscopy and Chemometric Analyses
0.75
article

Field-Based, Non-Destructive and Rapid Detection of Citrus Leaf Physiological and Pathological Conditions Using a Handheld Spectrometer and ASTransformer

Jiyang Fu, Shilei Lyu, Ying Huang, Shaoyu Zhang, Qiufang Dai, Zhen Li, Shuran Song, Xiuyun Xue, Shiyao Liang
article en
1 citations

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.

AgricultureVol. 15(17)
South China Agricultural University (CN), Agricultural Product Processing Research Institute (CN), Institute of Software (CN), Software Engineering Institute of Guangzhou
National Natural Science Foundation of China
Openalex Percentile: Top 27%
Spectroscopy and Chemometric Analyses
0.75
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.