Growth period determination and color coordinates prediction are essential for comparing postharvest fruit quality. This paper proposes a tomato growth period judgment and color coordinates prediction model based on hyperspectral imaging technology. It utilizes the most effective color coordinates prediction model to obtain a color visual image. Firstly, hyperspectral images were taken of tomatoes at different growth periods (green-ripe, color-changing, half-ripe, and full-ripe), and color coordinates (L*, a*, b*, c, h) were obtained using a colorimeter. The sample set was divided by the sample set partitioning based on joint X-Y distances (SPXY). The support vector machine (SVM), K-nearest neighbors (KNN), and linear discriminant analysis (LDA) were used to discriminate growth period. Results show that the LDA model has the best prediction effect with a prediction set accuracy of 93.1%. In addition, effective wavelengths were selected using competitive adaptive reweighted sampling (CARS) and successive projections algorithm (SPA), and chromaticity prediction models were established using partial least squares regression (PLSR), multiple linear regression (MLR), principal component regression (PCR) and support vector machine regression (SVR) Finally, the color of each pixel of the tomato is calculated using the optimal model, generating a visual distribution image of the color coordinate. The results showed that hyperspectral imaging can non-destructively detect tomatoes’ growth stage and color coordinates, providing great significance for designing a tomato quality grading system.
Read full abstract