| Literature DB >> 28757578 |
Aiping Gong1, Susu Zhu2, Yong He3, Chu Zhang4.
Abstract
Fast and accurate grading of Chinese Cantonese sausage is an important concern for customers, organizations, and the industry. Hyperspectral imaging in the spectral range of 874-1734 nm, combined with chemometric methods, was applied to grade Chinese Cantonese sausage. Three grades of intact and sliced Cantonese sausages were studied, including the top, first, and second grades. Support vector machine (SVM) and random forests (RF) techniques were used to build two different models. Second derivative spectra and RF were applied to select optimal wavelengths. The optimal wavelengths were the same for intact and sliced sausages when selected from second derivative spectra, while the optimal wavelengths for intact and sliced sausages selected using RF were quite similar. The SVM and RF models, using full spectra and the optimal wavelengths, obtained acceptable results for intact and sliced sausages. Both models for intact sausages performed better than those for sliced sausages, with a classification accuracy of the calibration and prediction set of over 90%. The overall results indicated that hyperspectral imaging combined with chemometric methods could be used to grade Chinese Cantonese sausages, with intact sausages being better suited for grading. This study will help to develop fast and accurate online grading of Cantonese sausages, as well as other sausages.Entities:
Keywords: Chinese Cantonese sausage; near-infrared hyperspectral imaging; quality grading; random forest
Mesh:
Year: 2017 PMID: 28757578 PMCID: PMC5579875 DOI: 10.3390/s17081706
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Pseudo images of (a) intact and (b) sliced sausages (generated from images at 1000, 1200, and 1400 nm).
Figure 2(a) Average spectra with SD of the wavelengths at the spectral peaks and valleys for three grades of intact sausages, and (b) average spectra with SD of the wavelengths at the spectral peaks and valleys for three grades of sliced sausages. The bold lines refer to the average spectra, and the vertical lines of the corresponding color indicate the SD of the wavelengths at the spectral peaks and valleys.
Figure 3Score scatter plots of (a) PC1 vs. PC2, (b) PC1 vs. PC3, and (c) PC2 vs. PC3 for intact sausages.
Figure 4Score scatter plots of (a) PC1 vs. PC2, (b) PC1 vs. PC3, and (c) PC2 vs. PC3 for sliced sausages.
Grading results of intact and sliced sausages by SVM and RF models.
| Parameters * | Calibration Set | Prediction Set | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 a | 2 a | 3 a | Total (%) | 1 | 2 | 3 | Total (%) | ||||
| Sliced | SVM | 84.4485, 9.1896 | 1 | 100 | 8 | 3 | 36 | 3 | 0 | ||
| 2 | 12 | 77 | 22 | 9 | 23 | 7 | |||||
| 3 | 4 | 0 | 107 | 0 | 0 | 39 | |||||
| 85.29 | 83.76 | ||||||||||
| RF | 50, 60 | 1 | 111 | 0 | 0 | 31 | 8 | 0 | |||
| 2 | 1 | 104 | 6 | 10 | 20 | 9 | |||||
| 3 | 0 | 10 | 101 | 0 | 4 | 35 | |||||
| 94.89 | 73.50 | ||||||||||
| Intact | SVM | 256, 3.0314 | 1 | 35 | 2 | 0 | 13 | 0 | 0 | ||
| 2 | 1 | 35 | 1 | 0 | 13 | 0 | |||||
| 3 | 0 | 0 | 37 | 0 | 0 | 13 | |||||
| 96.40 | 100.00 | ||||||||||
| RF | 50, 50 | 1 | 37 | 0 | 0 | 13 | 0 | 0 | |||
| 2 | 0 | 37 | 0 | 2 | 11 | 0 | |||||
| 3 | 0 | 0 | 37 | 0 | 0 | 13 | |||||
| 100.00 | 94.87 | ||||||||||
* Parameters indicate the model parameters of each model, i.e., (C, γ) for SVM, and the number of trees in the forest and features for each node on a tree. The parameters were identical for the methods in different tables in this manuscript; a top grade, first-grade, and second-grade of sausages are represented by 1, 2, and 3, respectively.
Figure 5Optimal wavelengths selected by second derivative spectra of (a) intact sausages and (b) sliced sausages.
Selected optimal wavelengths by second derivative spectra and RF for intact sausages and sliced sausages.
| Methods | Intact | Sliced | ||
|---|---|---|---|---|
| Number | Wavelengths (nm) | Number | Wavelengths (nm) | |
| Second derivative spectra | 14 | 995, 1079, 1099, 1130, 1160, 1183, 1210, 1244, 1261, 1274, 1294, 1318, 1348, 1402 | 14 | 995, 1079, 1099, 1130, 1160, 1183, 1210, 1244, 1261, 1274, 1294, 1318, 1348, 1402 |
| RF | 15 | 1291, 1338, 1328, 1278, 1315, 1311, 1318, 1325, 1348, 1321, 1079, 1342, 1301, 1332, 1069 | 15 | 1072, 1318, 1082, 1069, 1062, 1328, 1066, 1056, 1335, 1315, 1338, 1321, 1076, 1089, 1332 |
Figure 6Mean OOB error values of RF models using different wavelength variables: (a) intact sausages; (b) sliced sausages.
Results of the RF and SVM models using selected optimal wavelengths.
| SVM (%) | RF (%) | ||||||
|---|---|---|---|---|---|---|---|
| Parameters | Calibration Set | Prediction Set | Parameters | Calibration Set | Prediction Set | ||
| Intact | Second derivative spectra | 256, 9.1896 | 95.50 | 100.00 | 50, 50 | 100.00 | 94.87 |
| RF | 147.0334, 147.0334 | 90.09 | 94.87 | 50, 50 | 100.00 | 92.31 | |
| Sliced | Second derivative spectra | 256, 48.5029 | 82.28 | 87.18 | 50, 60 | 94.59 | 78.63 |
| RF | 256, 147.0334 | 80.78 | 85.47 | 50, 60 | 94.89 | 76.07 | |