Assessing the quality of corn seeds necessitates evaluating their water, fat, protein, and starch content. This study integrates hyperspectral imaging technology with chemometric analysis techniques to achieve non-invasive and rapid detection of multiple key components in corn seeds. Hyperspectral images of the embryo surface of maize seeds were collected within the wavelength range of 1100~2498 nm. Subsequently, image segmentation techniques were applied to extract the germ structure of the corn seeds as the region of interest. Seven spectral data preprocessing algorithms were employed, and the Detrending Transformation (DT) algorithm was identified as the optimal preprocessing method through comparative analysis using the Partial Least Squares Regression (PLSR) model. To reduce spectral redundancy and streamline the prediction model, three algorithms were employed for characteristic wavelength extraction: Successive Projections Algorithm (SPA), Competitive Adaptive Reweighted Sampling (CARS), and Uninformative Variable Elimination (UVE). Using the original spectra and extracted characteristic wavelengths, PLSR, BP, RBF, and LSSVM models were constructed to detect the content of four components. The analysis indicated that the CARS-LSSVM algorithm had the best prediction performance. The PSO algorithm was employed to further optimize the parameters of the LSSVM model, thereby improving the model's prediction performance. The R values for the four components in the test set were 0.9884, 0.9490, 0.9864, and 0.9687, respectively. This indicates that hyperspectral technology combined with the DT-CARS-PSO-LSSVM algorithm can effectively detect the main component content of corn seeds. This study not only provides a scientific basis for the evaluation of corn seed quality but also opens up new avenues for the development of non-destructive testing technology in related fields.
Read full abstract