Determination of moisture content in barley seeds based on hyperspectral imaging technology
Heng Sun, Liu Zhang, Zhenhong Rao, Haiyan Ji
Abstract
The moisture content of barley seeds is directly related to the quality of barley seeds. Rapid and nondestructive testing of the moisture content of barley seeds has an important significance for agricultural production. In this study, the moisture content of barley seeds was determined nondestructively using hyperspectral imaging technology at 417–1000 nm. Both sides of each barley seed were subjected to hyperspectral imaging to acquire hyperspectral cube data. The spectral data were pretreated by five preprocessing methods (standard normal variate, multiple scattering correction, Savitzky–Golay smoothing, normalization and first derivative). The support vector regression model and partial least squares regression model were established to determine moisture content in barley seeds based on full wavelengths. The results indicated that the dorsal spectral data pretreated by multiple scattering correction yielded better results. In order to simplify modeling process and improve calculation speed of the model, the feature wavelengths were selected by two effective wavelengths selection methods (competitive adaptive reweighted sampling and successive projections algorithm). Subsequently, the support vector regression model and partial least squares regression model were established based on these selected feature wavelengths. Comparing the results of models, the support vector regression model based on the feature wavelengths selected by successive projections algorithm generated a satisfied effect with determination coefficient of 0.937, root mean square error of 0.0154% for calibration set and determination coefficient of 0.883, root mean square error of 0.0198% and residual prediction deviation of 2.596 for prediction set. The obtained results in this study indicated that applying hyperspectral imaging technology to measure moisture content in barley seeds was feasible. Finally, the visualization of moisture content distribution was generated. All these results provided a theoretical basis for the on-line determination of moisture content in barley seeds in the future.