FOOD SCIENCE ›› 2023, Vol. 44 ›› Issue (2): 327-336.doi: 10.7506/spkx1002-6630-20220306-078

• Safety Detection • Previous Articles    

Hyperspectral Imaging for Prediction and Distribution Visualization of Total Acidity and Hardness of Red Globe Grapes

GAO Sheng, XU Jianhua   

  1. (1. School of Information and Control Engineering, Qingdao University of Technology, Qingdao 266520, China; 2. College of Air Traffic Management, Civil Aviation University of China, Tianjin 300300, China)
  • Published:2023-01-31

Abstract: In this paper, hyperspectral imaging technology was used for nondestructive detection and distribution visualization of total acidity and firmness of red globe grapes. The hyperspectral information of 360 samples of growing red globe grapes in the wavelength range from 450 to 1 000 nm was collected using a hyperspectral instrument, and the total acidity and firmness of these samples were determined by titration and a texture analyzer, respectively. The Kennard-Stone (KS) algorithm was used to divide the total samples into a training set (270 samples) and a test set (90 samples) in a 3:1 ratio. The collected raw spectral data were preprocessed using various methods such as standard normal variate (SNV), Savitzky-Golay (SG), multivariate scatter correction (MSC), and normalization to determine the best spectral preprocessing method. Then, the feature variables were extracted from the spectral information using six dimensionality reduction algorithms: competitive adaptive reweighted sampling (CARS), successive projections algorithm (SPA), genetic algorithm (GA), uninformative variable elimination (UVE), CARS-SPA, and UVE-SPA. Using partial least squares regression (PLSR), optimal prediction models for total acidity and firmness were developed separately. Finally, the total acidity and hardness for each pixel of the hyperspectral image were calculated according to the proposed optimal prediction models, and a gray scale image was obtained and pseudo-color transformed to visualize the distribution of total acidity and firmness of red globe grapes. The results showed that the optimal prediction model for total acidity was MSC-CARS-SPA-PLSR, with correlation coefficient for the prediction set (Rp), root mean square errors of prediction (RMSEP) and residual predictive deviation (RPD) of 0.985 1, 1.348 2 and 5.664 3, respectively. The optimal prediction model for firmness was SG-CARS-PLSR, with Rp, RMSEP and RPD of 0.929 1, 7.935 4 and 2.510 8, respectively. In summary, hyperspectral imaging provides a new method for the detection and visualization of total acidity and firmness of growing red globe grapes.

Key words: red globe grapes; total acidity; firmness; hyperspectral imaging; nondestructive detection; visualization

CLC Number: