Early Detection and Classification of Gibberella Zeae Contamination in Maize Kernels Using SWIR Hyperspectral Imaging and Machine Learning

Early-stage fungal contamination in maize kernels is difficult to identify visually and it can cause severe quality and safety risks during storage and transportation. Short-wave infrared (SWIR) hyperspectral imaging offers a rapid, non-destructive approach by capturing chemical information related to water, proteins, and lipids. This study investigates the early detection and classification of <i>Gibberella zeae</i> contamination in maize kernels using SWIR hyperspectral imaging combined with machine learning. Two maize varieties were artificially inoculated and cultured under controlled conditions, followed by hyperspectral data collection over six contamination stages. Various preprocessing techniques including standard normal variate (SNV), second derivative (SD), multiplicative scatter correction (MSC), and derivatives were evaluated to enhance data quality. Feature wavelength selection was performed using successive projections algorithm (SPA), competitive adaptive reweighted sampling (CARS), and uninformative variable elimination (UVE), significantly reducing redundancy and improving classification performance. Multiple models, including linear discriminant analysis (LDA), multilayer perceptron (MLP), support vector machine (SVM), a convolutional neural network (CNN), long short-term memory (LSTM) network, and a hybrid architecture Transformer that integrated a CNN, a LSTM network, and a Transformer (abbreviated as CLT), were constructed for both binary (healthy vs. contaminated) and multiclass classification tasks. Specifically, the multiclass task consisted of six contamination stages corresponding to contamination time from Day 0 to Day 5. The best binary classification task accuracy of 100% was achieved using SNV-preprocessed data with the MLP model. For multiclass classification task, the SD-preprocessed LDA model reached a test accuracy of 92.56%. Combined with appropriate preprocessing, feature selection and modeling, these results demonstrate that hyperspectral imaging is a powerful tool for the non-destructive, early-stage identification of fungal contamination in maize kernels, offering strong support for food safety and quality monitoring.

Authors

Institutions

Publication Details

Journal
Sensors
Published
2026-03-14
DOI
https://doi.org/10.3390/s26061834
Primary Topic
Spectroscopy and Chemometric Analyses
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Early Detection and Classification of Gibberella Zeae Contamination in Maize Kernels Using SWIR Hyperspectral Imaging and Machine Learning

Xun Sun, W. Shi, N. Khujamshukurov, Xijun Shao et al.
Sensors
Spectroscopy and Chemometric Analyses
article

Early Detection and Classification of Gibberella Zeae Contamination in Maize Kernels Using SWIR Hyperspectral Imaging and Machine Learning

Xun Sun, W. Shi, N. Khujamshukurov, Xijun Shao, Jicheng Zhao, Yemin Guo, Fangling Du, Kaili Liu, Zhen Guo, Shiling Li
article en

Abstract

Early-stage fungal contamination in maize kernels is difficult to identify visually and it can cause severe quality and safety risks during storage and transportation. Short-wave infrared (SWIR) hyperspectral imaging offers a rapid, non-destructive approach by capturing chemical information related to water, proteins, and lipids. This study investigates the early detection and classification of <i>Gibberella zeae</i> contamination in maize kernels using SWIR hyperspectral imaging combined with machine learning. Two maize varieties were artificially inoculated and cultured under controlled conditions, followed by hyperspectral data collection over six contamination stages. Various preprocessing techniques including standard normal variate (SNV), second derivative (SD), multiplicative scatter correction (MSC), and derivatives were evaluated to enhance data quality. Feature wavelength selection was performed using successive projections algorithm (SPA), competitive adaptive reweighted sampling (CARS), and uninformative variable elimination (UVE), significantly reducing redundancy and improving classification performance. Multiple models, including linear discriminant analysis (LDA), multilayer perceptron (MLP), support vector machine (SVM), a convolutional neural network (CNN), long short-term memory (LSTM) network, and a hybrid architecture Transformer that integrated a CNN, a LSTM network, and a Transformer (abbreviated as CLT), were constructed for both binary (healthy vs. contaminated) and multiclass classification tasks. Specifically, the multiclass task consisted of six contamination stages corresponding to contamination time from Day 0 to Day 5. The best binary classification task accuracy of 100% was achieved using SNV-preprocessed data with the MLP model. For multiclass classification task, the SD-preprocessed LDA model reached a test accuracy of 92.56%. Combined with appropriate preprocessing, feature selection and modeling, these results demonstrate that hyperspectral imaging is a powerful tool for the non-destructive, early-stage identification of fungal contamination in maize kernels, offering strong support for food safety and quality monitoring.

SensorsVol. 26(6)
Shandong University of Technology (CN), Liaocheng University (CN), Tashkent Chemical-Technological Institute (UZ), Institute of New Materials (CN)
Openalex Percentile: Top 20%
Spectroscopy and Chemometric Analyses
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.