Agriculture (Oct 2023)

The Rapid Detection of Trash Content in Seed Cotton Using Near-Infrared Spectroscopy Combined with Characteristic Wavelength Selection

  • Jing Han,
  • Junxian Guo,
  • Zhenzhen Zhang,
  • Xiao Yang,
  • Yong Shi,
  • Jun Zhou

DOI
https://doi.org/10.3390/agriculture13101928
Journal volume & issue
Vol. 13, no. 10
p. 1928

Abstract

Read online

Herein, we propose a new method based on Fourier-transform near-infrared spectroscopy (FT-NIR) for detecting impurities in seed cotton. Based on the spectral data of 152 seed cotton samples, we screened the characteristic wavelengths in full-band spectral data with regard to potential correlation with the trash content of seed cotton. Then, we applied joint synergy interval partial least squares (siPLS) and combinatory algorithms with the competitive adaptive reweighted sampling method (CARS) and the successive projection algorithm (SPA). In addition, we used the sparrow search algorithm (SSA), gray wolf algorithm (GWO), and eagle algorithm (BES) to optimize parameters for support vector machine (SVM) analysis. Finally, the feature wavelengths optimized via the six feature wavelength extraction algorithms were modeled and analyzed via partial least squares (PLS), SSA-SVM, GWO-SVM, and BES-SVM, respectively. The correlation coefficients, Rc and Rp, of the calibration and prediction sets were subsequently used as model evaluation indices; comparative analysis highlighted that the preferred option was the inverse estimation model as this could accurately predict the trash content of seed cotton. Subsequently, we found that the accuracy of predicting the content of impurities in seed cotton when applying the optimized SVM model of SSA combined with the feature wavelengths screened via siPLS-SPA was optimal. Thus, the optimal modeling method for inverse impurity content was siPLS-SPA-SSA-SVM, with an Rc value of 0.9841 and an Rp value of 0.9765. The rapid application development (RPD) value was 6.7224; this is >3, indicating excellent predictive ability. The spectral inversion model for determining the impurity rate of mechanized harvested seed cotton samples established herein can, therefore, determine the impurity rate in a highly accurate manner, thus providing a reference for the subsequent construction of a portable spectral detector of impurity rate. This will help objectively and quantitatively characterize the impurity rate of mechanized harvested seed cotton and provide a new tool for rapidly detecting impurities in mechanized harvested wheat. Our findings are limited by the small sample size and the fact that the model developed for estimating the impurity content of seed cotton was specific to a local experimental field and certain varieties of cotton.

Keywords