Next Article in Journal
The Influence of Agricultural Production Mechanization on Grain Production Capacity and Efficiency
Next Article in Special Issue
Identification of Transgenic Agricultural Products and Foods Using NIR Spectroscopy and Hyperspectral Imaging: A Review
Previous Article in Journal
Comfort Optimization of the Active Collision Avoidance Control System of Electric Vehicles for Green Manufacturing
Previous Article in Special Issue
Rapid Identification of Insecticide- and Herbicide-Tolerant Genetically Modified Maize Using Mid-Infrared Spectroscopy
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Classification for GM and Non-GM Maize Kernels Based on NIR Spectra and Deep Learning

1
School of Information Engineering, Huzhou University, Huzhou 313000, China
2
Zhejiang Province Key Laboratory of Smart Management & Application of Modern Agricultural Resources, Huzhou 313000, China
3
School of Materials and Chemical Engineering, Chongqing University of Arts and Sciences, Chongqing 402160, China
4
School of Electronic Information, Huzhou College, Huzhou 313000, China
*
Author to whom correspondence should be addressed.
Processes 2023, 11(2), 486; https://doi.org/10.3390/pr11020486
Submission received: 29 December 2022 / Revised: 1 February 2023 / Accepted: 3 February 2023 / Published: 6 February 2023

Abstract

:
The classification of GM and non-GM maize kernels is fundamental for further analysis of the gene action in maize. Therefore, a complete and novel detection scheme based on near-infrared spectra was designed to distinguish GM and non-GM maize kernels. Hyperspectral images (935–1720 nm) of 777 maize kernels from 3 kinds were captured, and the average spectra of the maize kernels were extracted for modeling analysis. The classical modeling methods based on feature engineering were first studied, and the backpropagation neural network–genetic algorithm model showed the best performance with a prediction accuracy of 0.861. Then, novel modeling methods based on deep learning were developed. To dig out the interactive information between different bands and match the application scenarios, the original spectra were transformed into two-dimensional matrices before establishing the deep learning models. A modified convolution neural network (i.e., VGG net) with dilated convolution was finally constructed to classify the maize kernels, and the prediction accuracy reached 0.961. This research provides a referential and novel way to detect GM maize kernels. Future research will improve the detection scheme for monitoring unauthorized GM organisms by introducing the visualization technology of deep learning.

1. Introduction

Maize, one of the three staple grains, plays an important role in food, forage, and some industrial production support. Nowadays, the requirements for maize have become diversified. For example, high-latitude areas hope to strengthen the cold resistance of maize [1], the brewing industry hopes to increase the starch content of maize [2], and the livestock and poultry industries hope to improve the protein constitution of maize [3]. Genetic modification (GM) technology provides an effective way to optimize the appointed properties of maize to satisfy the requirements of specific industries [4]. GM kernels need strict management as GM technology brings potential risks to ecological and food safety, but some individuals or companies illegally grow and sell unauthorized GM maize for profit [5]. Therefore, distinguishing GM and non-GM maize, identifying the specific category of genetic modification, and figuring out the interaction of the genes are vital to perfecting GM technology [6]. Polymerase chain reaction (PCR) or protein detection is the standard method to detect GM maize [7]. The standard method can ensure detection accuracy, but it is reagent-consuming, destructive, and laborious. Furthermore, before PCR detection, the DNA sequences of maize with different categories or genetic modifications should be clear. Otherwise, the gene comparisons will be performed unintelligibly. For protein detection, the chemical operation may cause protein denaturation and influence the detection result.
Spectral analysis technology, integrated with spectral measurement, chemometrics, and machine learning, has been widely used in the fields of agricultural engineering [8], the chemical industry, and bioengineering [9]. Due to the fact that the near-infrared (NIR) spectrum inherently reflects the vibrations of C-H, N-H, and O-H groups in carbohydrates [10], fats [11], and proteins [12], it is one of the most commonly used spectral types in the internal quality detection of grains or seeds [13]. Although the spectral detection method is rapid, nondestructive, flexible, and low-cost, it is hard to achieve the accuracy that is required as a standard method for GM detection. So, a great number of novel spectral analysis technologies were developed to pursue the high accuracy and stability of detection in some specific fields. Wang et al. used a Vis/NIR hyperspectral imaging system (400–1000 nm) to detect the aflatoxin B-1 on the maize kernel surface, and the results indicated that the traditional classification method principal components analysis (PCA)—factorial discriminant analysis was practical to detect and differentiate different levels of aflatoxin B-1 with an accuracy of 98% [14]. He et al. took advantage of NIR hyperspectral imaging together with chemometric technology to identify GM maize kernels, and an excellent prediction accuracy of almost 100% was finally achieved by the support vector machine (SVM)—competitive adaptive reweighted sampling method after multiple feature extraction and selection method tests; the research provides a promising technique to identify GM maize kernels [15]. Benes et al. employed detrended fluctuation analysis (DFA) and yield stability index (YSI) methods on NIR spectra to detect coffee seeds, and the results showed that DFA successfully differentiated the roasting levels on samples with 100% accurate agglomerative hierarchical clustering, and YSI successfully identified that a light roast is the most stable among all roasting levels [16]. The above pieces of research directly or indirectly illustrate the feasibility of NIR spectral analysis in the detection of maize kernels, but the exploration and utilization of NIR spectral features linked with GM are inadequate. According to the literature [17], the NIR spectra unfold the holistic characteristics of the object to be detected. Namely, the internal relations between different components of the object are covered under the waveforms of spectra. Moreover, compared with the non-GM parents, the GM organisms (GMOs) in maize kernels change synthetically [18]. So, the data mining methods of spectra need to be reviewed and compared to develop a scheme more suitable for GM maize kernel detection.
The traditional data mining technology of spectra can be divided into feature selection and feature extraction. Essentially, these two methods both belong to feature engineering [19]. The key point of feature selection is to pick the representative bands from the full-range spectra by projection calculation or heuristic algorithms [20]. So far, many feature selection methods have been proposed and applied [21]. The core idea of feature extraction is to transform the spectra matrix and pick out the eigenvectors with the biggest eigenvalues or information weights [22]. Similarly to feature selection, massive feature extraction methods have been developed and utilized too [23]. Although quite a lot of successful applications based on feature engineering have been reported, the disability in high-level semantic feature acquisition is still a vital shortage [24]. Deep learning technology adopts end-to-end learning mechanisms [25], and the original information will be transformed and abstracted in a task-oriented manner by the deep neural network automatically [26]. For convolution neural networks (CNNs), the features with different size receptive fields are extracted layer by layer through convolution and pooling operations [27]. Therefore, deep learning technology can overcome the shortage of feature engineering methods and has been widely used in the spectral detection of various agricultural products [28]. Shen et al. propose a method to rapidly and effectively detect impurities contained in wheat based on a combination of terahertz (THz) spectral imaging and a CNN, i.e., ResNet; the images used for input variables of CNN were generated according to the principle of maximum frequency-domain imaging, and the designed Wheat-V2 model achieved an average Fl-score of 97.83%; this research provides a nondestructive testing method for the recognition of impurities in wheat and other grains [29]. Onmankhong et al. attempted to resolve the real issue of detecting genuine high-quality Thai rice in milled and brown conditions using long-wave NIR hyperspectral imaging coupled with machine learning and deep learning approaches. For the milled rice, the CNN model shows the best performance with a classification accuracy of 95.2%. For brown rice, the SVM model achieves the best classification accuracy of 95.4%. This research provides a reference for the execution of traditional machine learning and deep learning from different views in hyperspectral information exploitation [30]. However, most of the recent works about spectral detection based on deep learning immediately perform the convolution operation on a three-dimensional hyperspectral image or perform the convolution operation on a two-dimensional (2D) image transformed from the original hyperspectral image. In fact, the average spectra of the samples in the hyperspectral image carry more stable and comprehensive information, which can better reflect the internal features of the samples. Unfortunately, the average spectra have not been well utilized in the scene of deep learning, such as the correlation and variation in different spectral domains are easily ignored.
According to the above discussion, this research will make a full investigation of the spectral detection of GM and non-GM maize kernels by traditional machine learning and deep learning methods. The traditional machine learning method based on feature engineering will be researched first to verify the feasibility of the GM and non-GM maize kernel classifications based on the spectra in the normal type. Then, the spectra will be transformed into 2D correlation matrices, and the deep learning models established based on the 2D-transformed spectral matrices will be studied to reveal the synergism of different spectral wavelengths on GM and non-GM maize kernel classifications.

2. Materials and Methods

2.1. Sample Preparation and Data Acquisition

Three categories of maize kernels were gathered for this research. One is a non-GM parent, named CK, and the other two are GM categories, named GM1 and GM2. For CK, GM1, and GM2, a total of 231, 282, and 264 full shape seeds without disease and insect damage were prepared, respectively. All the maize were planted in the experimental field of Zijingang Campus, Zhejiang University (latitude and longitude: 30.301° N, 120.095° E) in mid-May 2022, and the maize kernels were harvested on 18 August 2022. After harvest, the maize kernels were delivered to the laboratory for hyperspectral data acquisition.
A hyperspectral image acquisition system was employed to capture hyperspectral images of the maize kernels. The acquisition system (FX17, SPECIM Co., Ltd., Oulu, Finland) works in a linear-scanning way. The linear array contains 640 pixels, and each pixel captures 224 bands within 935–1720 nm. Before the acquisition, the maize kernels were placed on the platform at intervals. During the acquisition, the frame rate of the camera was set to 60 Hz, the exposure time was set to 8 ms, the scanning speed was set to 24.7 mm·s−1, and the detection distance was set to 395 mm. After the acquisition, the raw hyperspectral images were calibrated using Formula (1) to decrease or eliminate the influence of dark current and illumination. The hyperspectral data acquisition was performed at room temperature.
R C = R c B W B
In this formula, R c denotes the image after calibration, R denotes the raw image, W denotes the calibration vector of the standard white board, B denotes the calibration vector of dark current.

2.2. Feature Extraction and Selection

The original spectra with high dimensions carry much redundant information, which not only makes no contribution to category detection but also increases the model complexity [31]. Therefore, it is necessary to refine the original spectra. Feature extraction and selection are the common and effective methods used for dimensionality reduction in spectra. For feature extraction, PCA, one of the most classical feature extraction methods, was employed to reduce spectral dimension [32]. For the specific implementation scheme of PCA in this research, the original spectra are transformed into a new coordinate space by linear transformation [33]. The first coordinate axis is constructed following the direction of the largest variance in the original spectra, the second coordinate axis is determined by the direction with the largest variance in the plane, which is orthogonal to the first coordinate axis, and the third coordinate axis is the one with the largest variance in the plane, which is orthogonal to the first and second coordinate axes. By analogy, the first several coordinate axes, namely, PCs, which contribute the most to the original spectral information, are finally obtained.
Genetic algorithm (GA) and successive projection algorithm (SPA) were adopted to select feature bands from the original spectra. GA is the most basic swarm intelligence algorithm. All other swarm intelligence algorithms refer to the mechanism of GA [34]. For the operation of GA in this research, each spectrum sample is treated as a chromosome encoded in a binary sequence, and each band in the spectrum is treated as a gene that takes the value of either 0 or 1 [35]. Fifty chromosomes are selected to construct the initial population. Then, evaluation, crossover, mutation, and selection are circularly executed until the population is satisfied or the circular times run out. As each gene corresponds to a band, the occurrence frequency of each gene in the final population is counted to figure out the band’s importance. According to the bands’ importance, the feature bands are finally identified. In this research, a ratio of 1 in initial chromosome sequences was set to 0.4, the crossover rate was set to 0.5, the mutation rate was set to 0.1, and the number of iterations was set to 200. Quite different from GA, SPA generally begins with identifying an initial feature band randomly, then the projections from the rest bands to the initial feature band are calculated [36]. The band with the largest projection value is selected as the second feature band. Then, the projection to the selected bands will be circularly calculated until enough feature bands are screened out. In this research, the initial band of SPA was identified by the Pearson correlation coefficients with category labels.

2.3. Classification Model Establishment and Evaluation

Three classification methods—SVM, decision tree (DT), and backpropagation neural network (BPNN)—were employed to distinguish the maize categories.
SVM is commonly used for binary classification problems by constructing a hyperplane in the transformed feature space [37]. For the case of the three categories in this research, the strategy taken partitions the mission into two one-vs-rest tasks. A DT classifier can quickly obtain results in the case of high-dimensional samples with good robustness [38]. The main idea of this method is to generate multiple subsets with distinct properties from all the samples. Additionally, each subset is trained to form a decision tree. During the training, the nodes will be selected randomly to split into two parts. The above steps are performed circularly to generate proper decision trees. For the unknown spectral sample, its category is determined by the largest number of votes from all decision trees. To improve the reliability of voting, the number of decision trees was set to 9 in this research. BPNN is a typical neural network with a global response, and the input variables are mapped with the activation function in the neural units of hidden and output layers [39]. The structure of the BPNN used in this research was designed with three layers, namely, one input layer, one hidden layer, and one output layer. For the input layer, the neuron number equals the dimension of the spectra or input variables. For the hidden layer, the neuron number is determined by the experimental formula, and the mapping function is set to the Sigmoid function. For the output layer, the neuron number is the same as the category number. The maximum number of training times was set to 1000, the goal of the training accuracy was set to 1, the number of hidden neurons was set according to the experimental formula and incremental attempt, and the learning rate is set dynamically according to the training accuracy [40].
After classification, the total classification accuracy was calculated to evaluate the model performance roughly. Furthermore, the confusion matrix was adopted to analyze the classification result, which is accurate for every category.

2.4. Spectral 2D Transformation and Deep Learning

CNN is generally operated with 2D image information. However, the original spectrum used as the input variable is a one-dimensional vector. Therefore, the original spectral information (1 row × m columns) was transformed into a 2D matrix S ( m rows × m columns) for band interaction and high-level semantic information extraction according to the following formula. After transformation, the matrix size was 224 (bands) × 224 (bands).
S i , j = B i + B j 4 B i B j ,   i f   i > j B i B j ,   e l s e   i f   i < j B i ,   e l s e
In this formula, i and j range from 1 to m. S i , j denotes the element at i th row and j th column of matrix S , B i denotes the reflectance value at i th band, and B j denotes the reflectance value at j th band.
A common CNN, VGG net with a few modifications, was employed for maize classification based on 2D spectral information, as the 2D-transformed matrices match the structure of the VGG net properly [41]. The VGG net used an architecture with small convolution filters to increase the depth, and a significant improvement on the prior-art configurations was achieved by pushing the depth to 16–19. In this research, the structure and learning strategy of the network borrowed certain ideas from the template [42]. Specifically, the network contains 13 convolution layers, 5 pooling layers, and 3 full connection layers. The kernel size of the convolution filter was set to 3 × 3 or 1 × 1, the kernel size of the max-pooling filter was set to 2 × 2, the step size and padding size were both set to 1, and the activation function was set to ReLU. To sharpen the edge, mean centering was carried out on the input 2D matrix. The original softmax classifier was replaced with a three-layer BPNN. Moreover, the dilated convolution filter with a dilation rate of 2 was introduced to explore the interaction of non-adjacent bands [43]. As the dilated convolution spontaneously enlarges the receptive field, the network in this case contains 8 convolution layers. Other configurations in dilated convolution are the same as those in solid convolution.

3. Results and Discussion

3.1. Overview of Spectra

In Figure 1, the hyperspectral images are displayed in pseudo color (R: 1520 nm, G: 1109 nm, and B: 1609 nm). Through comparing and analyzing the spectral characteristics of the maize kernels and background, a reflectance threshold of 0.36 at 1106 nm and a slope threshold of −5 between 1312 nm and 1442 nm were identified to generate the binary image for target segmentation. Every connected region in the binary image after morphological processing was marked and counted [44], and the average spectrum of each kernel was subsequently obtained by calculating the average of the values in the pixels belonging to the same connected region. The average spectra with standard deviation (STD) of the samples belonging to different categories are shown in Figure 2a. It can be found that the average spectra belonging to different categories have similar waveforms, while they are obviously different in reflectance intensity. As the spectral waveform is determined by the inclusion of the maize kernel, it can be inferred that the ingredients of the maize kernels belonging to different categories are basically consistent, but the concentration of the ingredients is different. Moreover, the reflectance intensity differences between different categories change with the wavelength (Figure 2b). As the reflectance value at the specific wavelength represents the concentrations of some chemical groups [45,46], the variations in different ingredients in maize kernels exhibit a diversity of characteristics for different maize categories. In fact, the above phenomenon of spectral waveforms can also be explained by gene modification. Specifically, GM1 and GM2 maize were modified to produce more amylopectin compared with CK maize, GM1 maize was modified to produce more soluble sugar compared with CK and GM2 maize, and GM2 maize was modified to produce more protein compared with CK and GM1. In other words, the spectra have the potential to express the change in ingredients in GM and non-GM maize kernels from the overview of spectral waveforms.

3.2. Classification Based on Feature Engineering

To observe the distribution of all the samples and estimate the feasibility of classification based on feature extraction, the first three PCs were extracted according to the description in Section 2.2 to form a three-dimensional (3D) space (Figure 3). In the space, most samples belong to the same category cluster together, which means the classification of the maize category based on feature extraction is feasible, but how to convert the PCs to the right category label needs further exploration as different modeling methods have their own advantages [47]. Therefore, three classical classification models—SVM, DT, and BPNN—were established based on the first seven PCs, which account for 99.62% of the total principal component variances. The establishment of the three classification models was performed according to the description in Section 2.3, and all the samples were divided into a training set and a prediction set in a ratio of 2:1 before modeling. From the results in Table 1, it can be found that the BPNN model shows the best performance, while the DT model is the worst. The advantage of BPNN mainly comes from the nonlinear mapping ability and the flexibility in use [48]. Specifically, the hidden layer with the Sigmoid function contributes to the nonlinear relationship mining, and the flexible design in the BPNN structure and training strategy helps explore the upper limit of modeling performance. The classification result for each category was also calculated and displayed in a confusion matrix (Figure 4). For both the training set (Figure 4a) and the prediction set (Figure 4b), the classification accuracy of GM2 is the highest, and the classification accuracy of GM1 is essentially the same as CK. This result is consistent with Figure 2b, namely, CK and GM1 have the least difference in spectral intensity.
In view of the considerable samples of CK and GM1 overlapping in the 3D space (Figure 3), GA and SPA were performed to select feature bands to try to establish the BPNN model with higher classification accuracy. As a result, 23 feature bands were identified by GA, and 15 feature bands were identified by SPA (Figure 5). Based on the feature bands selected by GA, the classification accuracy of the prediction set achieved 0.861. Based on the feature bands selected by SPA, the classification accuracy of the prediction set achieved 0.826 (Table 2). So, the modeling performance based on feature bands improved obviously compared with the model established by PCs (Table 1). The progress in classification accuracy mainly results from that the GA and SPA take completely different strategies from PCA. In GA, the label information is also taken into account to construct a fitness function; hence, the selected feature bands really contribute to the classification. In SPA, the feature bands are selected according to the projection distance between different bands, so the selected feature bands bring the principal information in a concise mathematical form instead of fusing all the bands. Additionally, the BPNN-GA model is better than the BPNN-SPA model at classification accuracy. This is principally because of the use of the label information and fitness function. Moreover, similar locations (within 5 nm) of most feature bands selected by SPA can be found in the feature bands selected by GA. Therefore, as a swarm intelligence algorithm, GA is reasonable in mathematical interpretation too. Compared with the confusion matrices in Figure 4, the classification accuracy of CK and GM1 obtained by the BPNN-GA model (Figure 6) improved greatly, but the model is not robust enough as the classification accuracy of the training set is even less than that of the prediction set for GM2. As the reflectance value of spectra is sensitive to the environment, the simple utilization of feature bands’ reflectance easily limits the model performance in robustness. Therefore, it is sensible to research the modeling methods based on the interactive relationship of spectral bands at different wavelengths.

3.3. Classification Based on Deep Learning

The original spectra (Figure 7a) were transformed into 2D matrices (Figure 7b) according to Formula (2) to exploit the synergistic relationship of different bands. As the relative relationship is more stable to environmental interference, for example, the slope between different spectral bands is not so sensitive to the shift of illumination intensity, and the 2D matrices can improve the robustness of the classification model in theory. Furthermore, the 2D matrices bring extra information besides the original reflectance values retained in the back diagonal according to the transform formula. To verify the effect of 2D transformation, all the matrices of the training set were employed to train the VGG net constructed according to the description in Section 2.4. From Table 3, it can be found that the modeling performance of the VGG net is much higher than that of the models based on feature engineering, and the classification accuracy of the prediction set achieved 0.961 for the VGG-dilated model. This demonstrates that the CNN model established based on 2D spectral transformation is effective at distinguishing the GM and non-GM maize kernels. As for the classification accuracy of each category (Figure 8), CK is the best, and only one CK maize kernel was misclassified as GM1 in the training set. However, the distinguishment between GM1 and GM2 was not so satisfactory, as seven maize kernels were misclassified for both GM1 and GM2 in the training set, three GM1 maize kernels were misclassified as GM2, and six GM2 maize kernels were misclassified as GM1 in the prediction set. In fact, the result in Figure 4 shows that it is easier to obtain an interpretation from the intuitive spectral differences (Figure 2b), while the result in Figure 8 is closer to the actual situation as CK is the original category, and some genes in GM1 and GM2 were modified in the same way. So, compared with the classification models based on feature engineering, the classifiers established based on deep learning are more powerful for digging out the essential information to express the differences between different maize kernels.
In addition, the VGG net with dilated convolution is better than that with normal convolution (Table 3). As the dilated convolution filter expands the receptive field on the 2D matrices (Figure 7b), there is a synergistic effect between the long-distance bands, which contributes to the acquisition of robust semantic features [49].

4. Conclusions

A complete and feasible scheme based on spectral information was creatively proposed to distinguish the GM and non-GM maize kernels, and the classification models with high accuracy and good robustness were finally obtained. The classification methods based on traditional machine learning and novel deep learning were fully studied, and the deep learning models established based on 2D-transformed spectral matrices showed better performance. However, we are unable to declare that the traditional machine learning methods are completely useless because the classification models established based on feature engineering have the advantages of less calculation load, mathematical transparency, and ease of updating. Therefore, for classification tasks similar to this research, it is better to begin with traditional machine learning. If the model based on feature engineering could not meet the requirements of accuracy and robustness, the deep learning method was then executed. This research provides a novel way to utilize spectra in CNN model establishment, namely, the 2D transformation of original spectra and the dilated convolution of 2D matrices. Concerning the inherent advantages of spectral detection, the scheme developed in this research can be applied to a situation wherein there is a need for rapid and nondestructive detection of large amounts of GM maize kernels with a low operating cost. In addition, there is still some work to be performed to improve and perfect this research, for example, the detection of unauthorized GMOs. In fact, the classification of GM and non-GM maize kernels can be treated as a foreshadowing for GMO detection because the 2D-transformed spectral matrices bring information on the relative relationships between different ingredients in the maize kernels. So, the interpretability of the CNN model will be studied in the future to reveal the response relationship from the 2D matrices to the final category result. According to the response relationship, a novel, rapid, and nondestructive scheme for unauthorized GMO detection in maize kernels is expected to be developed.

Author Contributions

Conception and design of the study, Y.W. and W.H.; acquisition of data, Y.W., L.H., C.Y., F.W. and Q.Y.; analysis and interpretation of data, Y.W., L.H., F.W. and C.Y.; drafting the manuscript, Y.W., W.H. and F.W.; revising the manuscript critically for important intellectual content, Y.W., L.H., C.Y. and Q.Y. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by grants from the National Natural Science Foundation of China (no. 62205104).

Data Availability Statement

Data is unavailable due to privacy or ethical restrictions.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ma, Y.H.; Li, S.Y.; Lin, H.; Pan, L.Y.; Yang, G.W.; Lai, Y.H.; Sun, D.Q. Bioinformatics Analysis of Microarray Data to Reveal Novel Genes Related to Cold-Resistance of Maize. Russ. J. Plant Physiol. 2018, 65, 278–285. [Google Scholar] [CrossRef]
  2. Li, Z.F.; Wang, D.H.; Shi, Y.C. High-Solids Bio-Conversion of Maize Starch to Sugars and Ethanol. Starch Starke 2019, 71, 1800142. [Google Scholar] [CrossRef]
  3. Prandini, A.; Sigolo, S.; Morlacchini, M.; Marocco, A.; Lo Pinto, M. High-protein maize in diets for growing pigs. Anim. Feed. Sci. Technol. 2011, 165, 105–110. [Google Scholar] [CrossRef]
  4. Fedoroff, N.V. The past, present and future of crop genetic modification. New Biotechnol. 2010, 27, 461–465. [Google Scholar] [CrossRef] [PubMed]
  5. Xu, Z.W. An Exploration of the Risks and Control of Genetic Modification Technology. Nankai J. 2014, 5, 76–84. [Google Scholar]
  6. Bullock, D.W.; Wilson, W.W.; Neadeau, J. Gene Editing Versus Genetic Modification in the Research and Development of New Crop Traits: An Economic Comparison. Am. J. Agric. Econ. 2021, 103, 1700–1719. [Google Scholar] [CrossRef]
  7. Kamle, S.; Ali, S. Genetically modified crops: Detection strategies and biosafety issues. Gene 2013, 522, 123–132. [Google Scholar] [CrossRef]
  8. Liu, D.; Zeng, X.A.; Sun, D.W. Recent Developments and Applications of Hyperspectral Imaging for Quality Evaluation of Agricultural Products: A Review. Crit. Rev. Food Sci. Nutr. 2015, 55, 1744–1757. [Google Scholar] [CrossRef]
  9. Chen, Z.P.; Xiong, S.; Zuo, Q.; Shi, C.X. Quantitative analysis based on spectral shape deformation: A review of the theory and its applications. J. Chemom. 2018, 32, e2913. [Google Scholar] [CrossRef]
  10. Berhow, M.A.; Singh, M.; Bowman, M.J.; Price, N.P.J.; Vaughn, S.F.; Liu, S.X. Quantitative NIR determination of isoflavone and saponin content of ground soybeans. Food Chem. 2020, 317, 126373. [Google Scholar] [CrossRef]
  11. Mage, I.; Wold, J.P.; Bjerke, F.; Segtnan, V. On-line sorting of meat trimmings into targeted fat categories. J. Food Eng. 2013, 115, 306–313. [Google Scholar] [CrossRef] [Green Version]
  12. Rosic, J.S.; Muncan, J.; Mileusnic, I.; Kosic, B.; Matija, L. Detection of protein deposits using NIR spectroscopy. Soft Mater. 2016, 14, 264–271. [Google Scholar] [CrossRef]
  13. Yehorov, V.; Smolarz, A.; Julayeva, Z.; Kalabayeva, A. NIR spectroscopy for automated grain analyzers. In Proceedings of the Photonics Applications in Astronomy, Communications, Industry, and High Energy Physics Experiments, Wilga, Poland, 14 October 2020. [Google Scholar]
  14. Wang, W.; Heitschmidt, G.W.; Windham, W.R.; Feldner, P.; Ni, X.; Chu, X. Feasibility of Detecting Aflatoxin B-1 on Inoculated Maize Kernels Surface using Vis/NIR Hyperspectral Imaging. J. Food Sci. 2015, 80, 116–122. [Google Scholar] [CrossRef]
  15. He, Y.; Feng, X.P.; Zhang, C.; Cheng, P.; Zhao, Y.Y. Discrimination of Transgenic Maize Kernel Using NIR Hyperspectral Imaging and Multivariate Data Analysis. Sensors 2017, 17, 1894. [Google Scholar]
  16. Benes, E.; Fodor, M.; Kovács, S.; Gere, A. Application of Detrended Fluctuation Analysis and Yield Stability Index to Evaluate Near Infrared Spectra of Green and Roasted Coffee Samples. Processes 2020, 8, 913. [Google Scholar] [CrossRef]
  17. Wei, Y.Z.; Li, X.L.; He, Y. Generalisation of tea moisture content models based on VNIR spectra subjected to fractional differential treatment. Biosyst. Eng. 2021, 205, 174–186. [Google Scholar] [CrossRef]
  18. Folloni, S.; Bellocchi, G.; Prospero, A.; Querci, M.; Moens, W.; Ermolli, M.; Van den Eede, G. Statistical evaluation of real-time PCR protocols applied to quantify genetically modified maize. Food Anal. Method. 2010, 3, 304–312. [Google Scholar] [CrossRef]
  19. Vasantha, M.; Bharathi, D.S.; Dhamodharan, R. Medical Image Feature, Extraction, Selection and Classification. Int. J. Eng. Sci. Technol. 2010, 2, 2071–2076. [Google Scholar]
  20. Casale, M.; Sinelli, N.; Oliveri, P.; Di Egidio, V.; Lanteri, S. Chemometrical strategies for feature selection and data compression applied to NIR and MIR spectra of extra virgin olive oils for cultivar identification. Talanta 2010, 80, 1832–1837. [Google Scholar] [CrossRef]
  21. Yang, P.; Yang, G.W.; Zhang, F.L.; Jiang, B.; Wang, M.X. Spectral Classification and Particular Spectra Identification Based on Data Mining. Arch. Comput. Method. Eng. 2021, 28, 917–935. [Google Scholar] [CrossRef]
  22. Holder, L.; Russell, I.; Markov, Z.; Pipe, A.G. Current and Future Trends in Feature Selection and Extraction for Classification Problems. Int. J. Pattern Recognit. Artif. Intell. 2005, 19, 133–142. [Google Scholar]
  23. Vharkate, M.N.; Musande, V.B. Fusion Based Feature Extraction and Optimal Feature Selection in Remote Sensing Image Retrieval. Multimed. Tools Appl. 2022, 81, 31787–31814. [Google Scholar] [CrossRef]
  24. Aversa, R.; Coronica, P.; Nobili, C.D.; Cozzini, S. Deep Learning, Feature Learning, and Clustering Analysis for SEM Image Classification. Data Intell. 2020, 2, 513–528. [Google Scholar] [CrossRef]
  25. Wu, Y.P.; Guo, D.; Liu, H.P.; Huang, Y. An end-to-end learning method for industrial defect detection. Assem. Autom. 2020, 40, 31–39. [Google Scholar] [CrossRef]
  26. Rong, D.; Wang, H.Y.; Ying, Y.B.; Zhang, Z.Y.; Zhang, Y.S. Peach variety detection using VIS-NIR spectroscopy and deep learning. Comput. Electron. Agric. 2020, 175, 105553. [Google Scholar] [CrossRef]
  27. Ni, C.; Wang, D.Y.; Holmes, M.; Vinson, R. Convolution Neural Network Based Automatic Corn Kernel Qualification. In Proceedings of the Annual International Meeting of The American Society of Agricultural and Biological Engineers, Detroit, MI, USA, 29 July–1 August 2018. [Google Scholar]
  28. Zhang, X.; Lin, T.; Xu, J.; Luo, X.; Ying, Y. DeepSpectra: An end-to-end deep learning approach for quantitative spectral analysis. Anal. Chim. Acta 2019, 1058, 48–57. [Google Scholar] [CrossRef] [PubMed]
  29. Shen, Y.; Yin, Y.X.; Li, B.; Zhao, C.J.; Li, G.L. Detection of impurities in wheat using terahertz spectral imaging and convolutional neural networks. Comput. Electron. Agric. 2021, 181, 105931. [Google Scholar]
  30. Onmankhong, J.; Ma, T.; Inagaki, T.; Sirisomboon, P.; Tsuchikawa, S. Cognitive spectroscopy for the classification of rice varieties: A comparison of machine learning and deep learning approaches in analysing long-wave near-infrared hyperspectral images of brown and milled samples. Infrared Phys. Technol. 2022, 123, 104100. [Google Scholar] [CrossRef]
  31. Sha, M.; Zhang, D.; Zhang, Z.; Wei, J.; Chen, Y.; Wang, M.; Liu, J. Improving Raman spectroscopic identification of rice varieties by feature extraction. J. Raman Spectrosc. 2019, 51, 702–710. [Google Scholar] [CrossRef]
  32. Paton, M.; Muinonen, K.; Pesonen, L.J.; Kuosmanen, V.; Kohout, T.; Laitinen, J.; Lehtinen, M. A PCA study to determine how features in meteorite reflectance spectra vary with the samples’ physical properties. J. Quant. Spectrosc. Radiat. Transf. 2011, 112, 1803–1814. [Google Scholar] [CrossRef]
  33. Beattie, J.R.; Esmonde-White, F.W.L. Exploration of Principal Component Analysis: Deriving Principal Component Analysis Visually Using Spectra. Appl. Spectrosc. 2021, 75, 361–375. [Google Scholar] [CrossRef]
  34. Cho, H.W.; Kim, S.; Jeong, M.K.; Park, Y.H. Genetic algorithm-based feature selection in high-resolution NMR spectra. Expert Syst. Appl. 2008, 35, 967–975. [Google Scholar] [CrossRef]
  35. Wei, Y.Z.; Hu, W.J.; Wu, F.Y.; He, Y. Polysaccharide determination and habitat classification for fresh Dendrobiums with hyperspectral imagery and modified RBFNN. RSC Adv. 2022, 12, 1141–1148. [Google Scholar] [CrossRef] [PubMed]
  36. Yan, X.W.; Bi, S.H.; Shen, T. Application of Successive Projection Algorithm in Nondestructive Detection of Soluble Solid Content in Apple. In Proceedings of the International Conference on Advanced Mechatronic Systems, Kusatsu, Shiga, Japan, 26–28 August 2019. [Google Scholar]
  37. Feng, X.Y.; Wang, Q.Q.; Zhang, J.; Nie, F.S.; Li, M.L. Studying aromatic compounds in infrared spectra based on support vector machine. Vib. Spectrosc. 2007, 44, 243–247. [Google Scholar]
  38. Bailey, D.J.; Rose, C.M.; McAlister, G.C.; Brumbaugh, J.; Yu, P.; Wenger, C.D.; Westphall, M.S.; Thomson, J.A.; Coon, J.J. Instant spectral assignment for advanced decision tree-driven mass spectrometry. Proc. Natl. Acad. Sci. USA 2012, 109, 8411–8416. [Google Scholar] [CrossRef]
  39. Wei, Y.Z.; He, Y.; Li, X.L. Tea moisture content detection with multispectral and depth images. Comput. Electron. Agric. 2021, 183, 106082. [Google Scholar] [CrossRef]
  40. Bi, X.J. Computional Intelligence; Posts and Telecommunications Press: Beijing, China, 2020. [Google Scholar]
  41. Shelhamer, E.; Long, J.; Darrell, T. Fully Convolutional Networks for Semantic Segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 39, 640–651. [Google Scholar] [PubMed]
  42. Simonyan, K.; Zisserman, A. Very Deep Convolutional Networks for Large-Scale Image Recognition. In Proceedings of the International Conference on Learning Representations, San Diego, CA, USA, 7–9 May 2015. [Google Scholar]
  43. Zhu, H.; Qiao, Y.M.; Xu, G.X.; Deng, L.Z.; Yu, Y.F. DSPNet: A Lightweight Dilated Convolution Neural Networks for Spectral Deconvolution with Self-Paced Learning. IEEE Trans. Ind. Inform. 2020, 16, 7392–7401. [Google Scholar] [CrossRef]
  44. Li, X.; Wei, Y.Z.; Xu, J.; Feng, X.P.; Wu, F.Y.; Zhou, R.Q.; Jin, J.J.; Xu, K.W.; Yu, X.; He, Y. SSC and pH for sweet assessment and maturity classification of harvested cherry fruit based on NIR hyperspectral imaging technology. Postharvest Biol. Technol. 2018, 118, 143112. [Google Scholar]
  45. Borovikova, E.Y.; Kurazhkovskaya, V.S. Infrared spectra and factor group analysis of vesuvianites in OH region. Vib. Spectrosc. 2005, 39, 95–98. [Google Scholar] [CrossRef]
  46. Kobori, H.; Higa, S.; Tsuchikawa, S.; Kojima, Y.; Suzuki, S. Segregating wood wastes by repetitive principal component analysis of near infrared spectra. J. Near Infrared Spectrosc. 2017, 25, 180–187. [Google Scholar] [CrossRef]
  47. Rodrigues, F.; Lourenço, M.; Ribeiro, B.; Pereira, F.C. Learning Supervised Topic Models for Classification and Regression from Crowds. IEEE Trans. Pattern Anal. Mach. Intell. 2017, 39, 2409–2422. [Google Scholar] [CrossRef] [PubMed]
  48. Ma, Q.; Teng, Y.; Li, C.; Jiang, L. Simultaneous quantitative determination of low-concentration ternary pesticide mixtures in wheat flour based on terahertz spectroscopy and BPNN. Food Chem. 2022, 377, 132030. [Google Scholar] [CrossRef] [PubMed]
  49. Zhang, Q. A novel ResNet101 model based on dense dilated convolution for image classification. SN Appl. Sci. 2022, 4, 9. [Google Scholar] [CrossRef]
Figure 1. Process of spectra extraction from hyperspectral images.
Figure 1. Process of spectra extraction from hyperspectral images.
Processes 11 00486 g001
Figure 2. Overview of average spectra with STD (a) and the reflectance intensity difference between different categories (b).
Figure 2. Overview of average spectra with STD (a) and the reflectance intensity difference between different categories (b).
Processes 11 00486 g002
Figure 3. The distribution of all the samples in the 3D space constructed by the first three PCs.
Figure 3. The distribution of all the samples in the 3D space constructed by the first three PCs.
Processes 11 00486 g003
Figure 4. Confusion matrices of the training set (a) and the prediction set (b) for the BPNN model established by PCs.
Figure 4. Confusion matrices of the training set (a) and the prediction set (b) for the BPNN model established by PCs.
Processes 11 00486 g004
Figure 5. Distribution of the feature bands selected by GA (a) and SPA (b).
Figure 5. Distribution of the feature bands selected by GA (a) and SPA (b).
Processes 11 00486 g005
Figure 6. Confusion matrices of the training set (a) and the prediction set (b) for the BPNN model established by feature bands of GA.
Figure 6. Confusion matrices of the training set (a) and the prediction set (b) for the BPNN model established by feature bands of GA.
Processes 11 00486 g006
Figure 7. Transformation from the original average spectra (a) to 2D matrices (b).
Figure 7. Transformation from the original average spectra (a) to 2D matrices (b).
Processes 11 00486 g007
Figure 8. Confusion matrices of the training set (a) and the prediction set (b) for the VGG-dilated model established by 2D spectral matrices.
Figure 8. Confusion matrices of the training set (a) and the prediction set (b) for the VGG-dilated model established by 2D spectral matrices.
Processes 11 00486 g008
Table 1. Performance of SVM, DT, and BPNN models.
Table 1. Performance of SVM, DT, and BPNN models.
ModelAccuracy-TrainAccuracy-Predict
SVM0.7490.710
DT0.7100.637
BPNN0.7660.733
Table 2. Performance of BPNN models established by feature bands.
Table 2. Performance of BPNN models established by feature bands.
ModelAccuracy-TrainAccuracy-Predict
BPNN-GA0.8740.861
BPNN-SPA0.8410.826
Table 3. Performance of VGG net models established by 2D spectral matrices.
Table 3. Performance of VGG net models established by 2D spectral matrices.
ModelAccuracy-TrainAccuracy-Predict
VGG-normal0.9490.934
VGG-dilated0.9710.961
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.

Share and Cite

MDPI and ACS Style

Wei, Y.; Yang, C.; He, L.; Wu, F.; Yu, Q.; Hu, W. Classification for GM and Non-GM Maize Kernels Based on NIR Spectra and Deep Learning. Processes 2023, 11, 486. https://doi.org/10.3390/pr11020486

AMA Style

Wei Y, Yang C, He L, Wu F, Yu Q, Hu W. Classification for GM and Non-GM Maize Kernels Based on NIR Spectra and Deep Learning. Processes. 2023; 11(2):486. https://doi.org/10.3390/pr11020486

Chicago/Turabian Style

Wei, Yuzhen, Chao Yang, Liu He, Feiyue Wu, Qiangguo Yu, and Wenjun Hu. 2023. "Classification for GM and Non-GM Maize Kernels Based on NIR Spectra and Deep Learning" Processes 11, no. 2: 486. https://doi.org/10.3390/pr11020486

APA Style

Wei, Y., Yang, C., He, L., Wu, F., Yu, Q., & Hu, W. (2023). Classification for GM and Non-GM Maize Kernels Based on NIR Spectra and Deep Learning. Processes, 11(2), 486. https://doi.org/10.3390/pr11020486

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop