Abstract
The present paper deals with the possibility of using near-infrared spectral data (900–1700 nm) for classification of wheat kernels in two classes—healthy and Fusarium-diseased. Hyperspectral images of a certain number of kernels from each class are captured and a representative spectral characteristic for each of the objects is extracted from them. After preprocessing of spectral characteristics and extraction of informative wavelengths, a neural network is trained and tested for the needs of the classification procedure. Based on the classification results, an optimal set of informative wavelengths is determined, which can successfully be used for assessment of Fusarium disease in wheat kernels.
1. Introduction
Wheat is one of the most common cereals worldwide. Fusarium Head Blight, caused by Fusarium graminearum, is one of the most widespread diseases, leading to a decrease in yield and quality of wheat [1]. Moreover, it can be dangerous for humans and animals and can cause different neurological disorders [2]. The correct detection of such an infection is crucial for the quality of life and health of consumers.
Traditional chemical methods suffer from different disadvantages. These procedures are complex, they need costly equipment, and there is a risk of sample damage. This is why they are not suitable for large-scale, non-destructive screening [3,4].
This is why researchers are exploring different non-destructive methods for disease detection in crops. There are many published materials using RGB images for detecting the degree of Fusarium Head Blight [5]; however, image processing can provide information about visible mold but not about internal biochemical changes. On the other hand, hyperspectral imaging can be a powerful tool for the detection of diseases, based on its ability to provide high spectral resolution across the visible and shortwave-infrared regions (VIS-SWIR, between 380 and 2500 nm) [6,7,8]. This powerful tool is very suitable for combination with classification methods such as K-Means clustering and Linear Discriminant Analysis [9], Partial Least Squares Discriminant Analysis [10], Spectral Angle Mapper [11] and Support Vector Machines [9,12,13].
Most studies make efforts to detect Fusarium Head Blight in the visible and the beginning of the near-infrared range (400–1000 nm). On the other hand, several studies suggest that relevant information can be found outside of this range, usually between 1000 and 2500 nm [14]. However, the number of publications related to the use of this region for Fusarium Head Blight detection is very limited.
This is why the present paper aims to investigate the possibility of using near-infrared spectral data (900–1700 nm) for classification of wheat kernels into two classes—healthy and Fusarium-infected. Spectral information of sample objects is extracted from their hyperspectral images and is used as input data for a neural network classifier. The classification is performed in different conditions, and a set of informative wavelengths, for which the correlation with the presence of the disease is strongest, is determined.
2. Materials and Methods
2.1. Data Preparation
The investigated sample consists of 105 healthy wheat kernels and 60 kernels infected by Fusarium. For each of the objects, a hyperspectral image was obtained using an N17E camera (Specim, Oulu, Finland). The hyperspectral camera operates in the wavelength range of 850 nm to 1700 nm. After capturing, images were normalized using white and black reference spectra. For each image, a Region of Interest (ROI) was chosen and spectral characteristics of all pixels within the ROI were averaged, so that each wheat kernel was represented by one spectral characteristic. The obtained spectral characteristics are shown in Figure 1. The characteristics of the healthy kernels are presented in red and of the infected–in blue.
Figure 1.
Spectral characteristics of wheat kernels: healthy and infected.
2.2. Spectra Processing and Analysis
In order to highlight the differences in spectral characteristics of wheat kernels caused by the disease, the first and second derivatives of all spectra were calculated. They were then used as input data for the classification procedure. The processing results are graphically presented in Figure 2.
Figure 2.
First and second derivatives of spectral characteristics: (a) First derivative—healthy kernels (red) and infected kernels (blue); (b) Second derivative—healthy kernels (red) and infected kernels (blue).
The informativeness of all wavelengths in the measuring range was determined with respect to the classification procedure. The wavelengths are ranked using the ReliefF algorithm in Matlab R2022a (MathWorks Inc., Natick, MA, USA) (Figure 3). This algorithm is considered as most suitable when dealing with binary classification problems. The ranking is performed on the training set only and is done for the first and second derivative, respectively.
Figure 3.
Feature selection using ReliefF algorithm.
3. Results and Discussion
Wheat kernels were classified into two classes—healthy and Fusarium-infected. For this binary classification problem, a feedforward neural network with one fully connected hidden layer was chosen as the classifier. The hidden layer consists of 10 neurons with ReLU activation function. The network’s output is produced using softmax activation function. Training is limited to 1000 epochs. The values of the first and second derivative of the objects’ spectral characteristics are used as input data. For each of the cases, classification was performed by the successive increase in input data dimensionality—from 1 to 10, using values, corresponding to the first 10 most important wavelengths, determined by the ReliefF algorithm. The whole sample was divided into training (70%, 116 objects) and testing (30%, 49 objects) parts, and the training was performed using 5-fold cross-validation. The performance of each network was assessed by its validation and test accuracy. Figure 4 shows the performance of the neural network when the values of the first derivative of spectral characteristics are used as an input.
Figure 4.
Classification accuracy when first derivatives of spectral characteristics are used: (a)—validation accuracy; (b)—test accuracy.
It can be seen that, with the increase of the number of inputs, the classification accuracy increases. When the number of inputs is 6 and higher, this increase stabilizes at about 95% for validation accuracy and 98–100% for test accuracy.
The performance of the classifier when the second derivative is used as an input is shown on Figure 5.
Figure 5.
Classification accuracy when second derivatives of spectral characteristics are used: (a)—validation accuracy; (b)—test accuracy.
In this case, both validation and test accuracy rise with the increase in the number of informative wavelengths used, but after some point, they start decreasing. The best validation performance is when the first 8 most important wavelengths are used—98.3%—while the best test accuracy is when the number of inputs is 6 and 7—100%.
The analysis of the results shows that when the first derivative is used to represent the wheat kernels’ spectral characteristics, the best validation accuracy is achieved when the first 6, 8 and 10 most important wavelengths are used—95.7% (Figure 4). The test accuracy in these cases is 98% for the classifier with 6 inputs and 100% for 8 and 10 inputs. Having this in mind, it can be said that the best classification is when the first 8 most informative wavelengths are used, because the test accuracy is higher compared to the classifier with 6 inputs, while the number of inputs is lower compared to the classifier with 10 inputs. These wavelengths are presented in Table 1, while the classification results when they are used as an input data for the neural network are shown in Figure 6.
Table 1.
Most informative wavelengths for classification of healthy and Fusarium-infected wheat kernels.
Figure 6.
Confusion matrices when first derivatives of spectral characteristics, presented by wavelengths from Table 1 are used: (a)—training set; (b)—testing set.
When the second derivative is used, the best validation accuracy is obtained when the classifier has 8 inputs—98.3%. The test accuracy is 100% for classifiers with 6 and 7 inputs. However, the validation accuracy in these cases is lower—92.2% and 95.7%, respectively. For this reason, it can be concluded that the optimal number of wavelengths for classification of healthy and Fusarium-infected wheat kernels is 8, because in this case the validation accuracy is highest and the test accuracy is very close to the maximum—98%. The set of informative wavelengths used in this case is also presented in Table 1 and the classification results when this set is used as classifier input are shown on Figure 7.
Figure 7.
Confusion matrices when second derivatives of spectral characteristics presented by wavelengths from Table 1 are used: (a)—training set; (b)—testing set.
4. Conclusions
Having in mind the topic of the paper and the analysis of the results from the investigation, the following conclusions can be made:
The possibility of using near-infrared spectral data (900–1700 nm) for classification of wheat kernels in two classes—healthy and Fusarium-diseased—is investigated. A proper and correct detection of this kind of disease significantly affects the health and quality of life of consumers.
The results presented in the paper show that the use of neural networks as a classifier in combination with data, related to spectral characteristics in the near-infrared region, ensure a very good discrimination rate of healthy and infected wheat kernels. The test accuracy in all investigated cases was at least 80%.
The performance of the neural network was assessed by using different numbers of informative wavelengths as input data, in two cases—when spectral characteristics are presented by its first and second derivatives. The analysis of the results show that the optimal number of input variables is 8 wavelengths. The set of wavelengths is defined, which is a good basis for future research.
Author Contributions
Conceptualization, S.P. and T.G.; methodology, E.N.; software, S.P.; validation, I.I., S.P. and T.G.; formal analysis, E.N.; investigation, S.P.; resources, I.I.; data curation, T.G.; writing—original draft preparation, S.P.; writing—review and editing, T.G.; visualization, S.P.; supervision, I.I.; project administration, T.G.; funding acquisition, T.G. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
No new data were created.
Acknowledgments
The research was conducted within the framework of European Union-Next Generation EU, through the National Recovery and Resilience Plan of the Republic of Bulgaria, project № BG-RRP-2.013–0001-C01 and by the Research Fund of the University of Ruse under project No 26-FEEA-03 “Research and modelling of objects and systems in precision agriculture, medical and lighting technology, electronics, energy and transportation”.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Bentley, A.R.; Donovan, J.; Sonder, K.; Baudron, F.; Lewis, J.M.; Voss, R.; Rutsaert, P.; Poole, N.; Kamoun, S.; Saunders, D.G.O.; et al. Near-to long-term measures to stabilize global wheat supplies and food security. Nat. Food 2022, 3, 483–486. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhu, S.; Shen, F.; Zhang, Y.X.; Hu, Q.H.; Yuan, J.; Ji, K.H.; Jiang, X.S.; Chen, J.W. Unraveling the degradation of deoxynivalenol in wheat by sodium bicarbonate assisted cold plasma: A combined reactive molecular dynamics simulation and experimental validation. Food Chem. 2025, 487, 144785. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Hall, R.D.; D’Auria, J.C.; Silva Ferreira, A.C.; Gibon, Y.; Kruszka, D.; Mishra, P.; Van de Zedde, R. High-throughput plant phenotyping: A role for metabolomics? Trends Plant Sci. 2022, 27, 549–563. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Su, W.H.; Yang, C.; Dong, Y.H.; Johnson, R.; Page, R.; Szinyei, T.; Hirsch, C.D.; Steffenson, B.J. Hyperspectral imaging and improved feature variable selection for automated determination of deoxynivalenol in various genetic lines of barley kernels for resistance screening. Food Chem. 2021, 343, 128507. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Gu, C.Y.; Wang, D.Y.; Zhang, H.H.; Zhang, J.; Zhang, D.Y.; Liang, D. Fusion of deep convolution and shallow features to recognize the severity of wheat fusarium head blight. Front. Plant Sci. 2020, 11, 599886. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Yu, R.; Ren, L.; Luo, Y. Early detection of pine wilt disease in Pinus tabuliformis in North China using a field portable spectrometer and UAV-based hyperspectral imagery. For. Ecosyst. 2021, 8, 44. [Google Scholar] [CrossRef] [Scilit]
- Fang, S.; Cui, R.; Wang, Y.; Zhao, Y.; Yu, K.; Jiang, A. Application of multiple spectral systems for the tree disease detection: A review. Appl. Spectrosc. Rev. 2023, 58, 83–109. [Google Scholar] [CrossRef] [Scilit]
- Wu, W.; Zhang, Z.; Zheng, L.; Han, C.; Wang, X.; Xu, J.; Wang, X. Research Progress on the Early Monitoring of Pine Wilt Disease Using Hyperspectral Techniques. Sensors 2020, 20, 3729. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Rieker, M.E.G.; Lutz, M.A.; El-Hasan, A.; Thomas, S.; Voegele, R.T. Hyperspectral Imaging and Selected Biological Control Agents for the Management of Fusarium Head Blight in Spring Wheat. Plants 2023, 12, 3534. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Menesatti, P.; Antonucci, F.; Pallottino, F.; Giorgi, S.; Matere, A.; Nocente, F.; Pasquini, M.; D’Egidio, M.G.; Costa, C. Laboratory vs. in-field spectral proximal sensing for early detection of fusarium head blight infection in durum wheat. Biosyst. Eng. 2013, 114, 289–293. [Google Scholar] [CrossRef] [Scilit]
- Bauriegel, E.; Herppich, W.B. Hyperspectral and Chlorophyll Fluorescence Imaging for Early Detection of Plant Diseases, with Special Reference to Fusarium spec. Infections on Wheat. Agriculture 2014, 4, 32–57. [Google Scholar] [CrossRef] [Scilit]
- Alisaac, E.; Behmann, J.; Kuska, M.T.; Dehne, H.-W.; Mahlein, A.-K. Hyperspectral quantification of wheat resistance to Fusarium head blight: Comparison of two Fusarium species. Eur. J. Plant Pathol. 2018, 152, 869–884. [Google Scholar] [CrossRef] [Scilit]
- Mahlein, A.-K.; Alisaac, E.; Al Masri, A.; Behmann, J.; Dehne, H.-W.; Oerke, E.-C. Comparison and Combination of Thermal, Fluorescence, and Hyperspectral Imaging for Monitoring Fusarium Head Blight of Wheat on Spikelet Scale. Sensors 2019, 19, 2281. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Barbedo, G.A. A review on the combination of deep learning techniques with proximal hyperspectral images in agriculture. Comput. Electron. Agric. 2023, 210, 107920. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.






