Near-Infrared Hyperspectral Imaging Combined with Deep Learning to Identify Cotton Seed Varieties

Molecules. 2019 Sep 7;24(18):3268. doi: 10.3390/molecules24183268.

Abstract

Cotton seed purity is a critical factor influencing the cotton yield. In this study, near-infrared hyperspectral imaging was used to identify seven varieties of cotton seeds. Score images formed by pixel-wise principal component analysis (PCA) showed that there were differences among different varieties of cotton seeds. Effective wavelengths were selected according to PCA loadings. A self-design convolution neural network (CNN) and a Residual Network (ResNet) were used to establish classification models. Partial least squares discriminant analysis (PLS-DA), logistic regression (LR) and support vector machine (SVM) were used as direct classifiers based on full spectra and effective wavelengths for comparison. Furthermore, PLS-DA, LR and SVM models were used for cotton seeds classification based on deep features extracted by self-design CNN and ResNet models. LR and PLS-DA models using deep features as input performed slightly better than those using full spectra and effective wavelengths directly. Self-design CNN based models performed slightly better than ResNet based models. Classification models using full spectra performed better than those using effective wavelengths, with classification accuracy of calibration, validation and prediction sets all over 80% for most models. The overall results illustrated that near-infrared hyperspectral imaging with deep learning was feasible to identify cotton seed varieties.

Keywords: classifier; convolution neural network; cotton seed; near-infrared hyperspectral imaging; residual network.

MeSH terms

  • Deep Learning
  • Gossypium / anatomy & histology*
  • Gossypium / classification*
  • Least-Squares Analysis
  • Logistic Models
  • Neural Networks, Computer
  • Principal Component Analysis
  • Seeds / anatomy & histology
  • Seeds / classification
  • Spectroscopy, Near-Infrared
  • Support Vector Machine