| Literature DB >> 36035725 |
Zhonglei Cai1, Wenqian Huang2, Qingyan Wang2, Jiangbo Li1,2.
Abstract
Citrus fruits are susceptible to fungal infection after harvest. To reduce the economic loss, it is necessary to reject the infected citrus fruit before storage and transportation. However, the infected area in the early stage of decay is almost invisible on the fruit surface, so the detection of early decayed citrus is very challenging. In this study, a structured-illumination reflectance imaging (SIRI) system combined with a visible light-emitting diode (LED) lamp and a monochrome camera was developed to detect early fungal infection in oranges. Under sinusoidal modulation illumination with spatial frequencies of 0.05, 0.15, and 0.25 cycles mm-1, three-phase-shifted images with phase offsets of - 2π/3, 0, and 2π/3 were acquired for each spatial frequency. The direct component (DC) and alternating component (AC) images were then recovered by image demodulation using a three-phase-shifting approach. Compared with the DC image, the decayed area can be clearly identified in the AC image and RT image (AC/DC). The optimal spatial frequency was determined by analyzing the AC image and pixel intensity distribution. Based on the texture features extracted from DC, AC, and RT images, four kinds of classification models including partial least square discriminant analysis (PLS-DA), support vector machine (SVM), least squares-support vector machine (LS-SVM), and k-nearest neighbor (KNN) were established to detect the infected oranges, respectively. Model optimization was also performed by extracting important texture features. Compared to all models, the PLS-DA model developed based on eight texture features of RT images achieved the optimal classification accuracy of 96.4%. This study showed for the first time that the proposed SIRI system combined with appropriate texture features and classification model can realize the early detection of decayed oranges.Entities:
Keywords: citrus; classification models; early decay detection; image processing; structured light imaging
Year: 2022 PMID: 36035725 PMCID: PMC9399745 DOI: 10.3389/fpls.2022.952942
Source DB: PubMed Journal: Front Plant Sci ISSN: 1664-462X Impact factor: 6.627
FIGURE 1Orange sample with early decay.
FIGURE 2Schematic diagram of the developed structured-illumination reflectance imaging (SIRI) system.
The extracted 14 texture features.
| Number | Features | Equation |
| 1 | Angular |
|
| 2 | Contrast |
|
| 3 | Correlation |
|
| 4 | Sum of |
|
| 5 | Inverse |
|
| 6 | Sum |
|
| 7 | Sum |
|
| 8 | Sum |
|
| 9 | Entropy |
|
| 10 | Difference | |
| 11 | Difference |
|
| 12–13 | Information | |
| 14 | Maximal | |
|
| ||
| N | ||
|
| ||
|
| ||
|
| ||
|
| ||
|
| ||
Sample type and classification assignment.
| Sample class | No. of samples | Calibration set | Test set | Assigned class |
| Healthy | 130 | 100 | 30 | 1 |
| Decayed | 150 | 100 | 50 | 0 |
FIGURE 3Flowchart for detection of the decayed oranges.
FIGURE 4The structured light image processing including image demodulation, background removal, and image ratio.
FIGURE 5The demodulated AC images and intensity distribution curves. (A) The spatial frequency of 0.05 cycles mm–1. (B) The spatial frequency of 0.15 cycles mm–1. (C) The spatial frequency of 0.25 cycles mm–1.
FIGURE 6The ratio image and intensity distribution curves. (A) The spatial frequency of 0.05 cycles mm–1. (B) Intensity distribution curves. (C) Intensity distribution curves after filtering.
FIGURE 7RGB, DC, AC, and RT images of the representative orange samples.
Classification results of all oranges based on different models established using full texture features of DC, AC, and RT, respectively.
| Input | LVs | (C/g) | (γ/σ2) | K | Calibration set | Test set | All samples | |||||||||||
| data | Decay (100) | Healthy (100) | TPR (%) | TNR (%) | ACC (%) | Decay (50) | Healthy (30) | TPR (%) | TNR (%) | ACC (%) | TPR (%) | TNR (%) | ACC (%) | |||||
| DC | PLS-DA | 13 | 85 | 94 | 85 | 94 | 89.5 | 34 | 28 | 68 | 93.3 | 77.5 | 79.3 | 93.8 | 86.1 | |||
| SVM | 9.19/0.099 | 86 | 95 | 86 | 95 | 90.5 | 30 | 25 | 60 | 83.3 | 68.8 | 77.3 | 92.3 | 84.3 | ||||
| LS-SVM | 767.98/175.99 | 89 | 98 | 89 | 98 | 93.5 | 33 | 28 | 66 | 93.3 | 76.3 | 81.3 | 96.9 | 88.6 | ||||
| KNN | 5 | 86 | 94 | 86 | 94 | 90 | 27 | 25 | 54 | 83.3 | 65 | 75.3 | 91.5 | 82.9 | ||||
| AC | PLS-DA | 9 | 95 | 95 | 95 | 95 | 95 | 38 | 28 | 76 | 93.3 | 82.5 | 88.7 | 94.6 | 91.4 | |||
| SVM | 1024/0.01 | 90 | 94 | 90 | 94 | 92 | 37 | 28 | 74 | 93.3 | 81.3 | 84.7 | 93.8 | 88.9 | ||||
| LS-SVM | 379287.2/1451.86 | 95 | 97 | 95 | 97 | 96 | 39 | 27 | 78 | 90 | 82.5 | 89.3 | 95.4 | 92.1 | ||||
| KNN | 1 | 88 | 94 | 88 | 94 | 91 | 36 | 28 | 72 | 93.3 | 80 | 82.7 | 93.8 | 87.9 | ||||
| RT | PLS-DA | 14 | 96 | 97 | 96 | 97 | 96.5 | 49 | 30 | 98 | 100 | 98.8 | 96.7 | 97.7 | 97.1 | |||
| SVM | 891.44/0.01 | 94 | 96 | 94 | 96 | 95 | 44 | 28 | 88 | 93.3 | 90 | 92 | 95.4 | 93.6 | ||||
| LS-SVM | 1585313.66/2344.96 | 96 | 97 | 96 | 97 | 96.5 | 47 | 30 | 94 | 100 | 96.3 | 95.3 | 97.7 | 96.4 | ||||
| KNN | 1 | 91 | 95 | 91 | 95 | 93 | 41 | 27 | 82 | 90 | 85 | 88 | 93.8 | 90.7 | ||||
FIGURE 8The x-loading weights of different features.
Classification results of all oranges based on different models established using the selected eight important texture features of DC, AC, and RT, respectively.
| Input | LVs | (C/g) | (γ/σ2) | K | Calibration set | Test set | All samples | |||||||||||
| data | Decay (100) | Healthy (100) | TPR (%) | TNR (%) | ACC (%) | Decay (50) | Healthy (30) | TPR (%) | TNR (%) | ACC (%) | TPR (%) | TNR (%) | ACC (%) | |||||
| DC | PLS-DA | 8 | 83 | 93 | 83 | 93 | 88 | 31 | 26 | 62 | 86.7 | 71.3 | 76 | 91.5 | 83.2 | |||
| SVM | 1024/0.16 | 83 | 92 | 83 | 92 | 87.5 | 28 | 25 | 56 | 83.3 | 66.3 | 74 | 90 | 81.4 | ||||
| LS-SVM | 256709.5/94.99 | 90 | 91 | 90 | 91 | 90.5 | 33 | 24 | 66 | 80 | 71.3 | 82 | 88.5 | 85 | ||||
| KNN | 5 | 79 | 100 | 79 | 100 | 89.5 | 22 | 27 | 44 | 90 | 61.6 | 67.3 | 97.7 | 81.4 | ||||
| AC | PLS-DA | 8 | 89 | 91 | 89 | 91 | 90 | 40 | 24 | 80 | 80 | 80 | 86 | 88.5 | 87.1 | |||
| SVM | 1024/0.07 | 93 | 95 | 93 | 95 | 94 | 38 | 27 | 76 | 90 | 81.3 | 87.3 | 93.8 | 90.4 | ||||
| LS-SVM | 5925.38/672.96 | 93 | 94 | 94 | 94 | 93.5 | 38 | 26 | 76 | 86.7 | 80 | 87.3 | 92.3 | 89.6 | ||||
| KNN | 1 | 88 | 92 | 88 | 92 | 90 | 38 | 24 | 76 | 80 | 77.5 | 84 | 92.2 | 86.4 | ||||
| RT | PLS-DA | 8 | 94 | 97 | 94 | 97 | 95.5 | 49 | 30 | 98 | 100 | 98.8 | 95.3 | 97.7 | 96.4 | |||
| SVM | 776.05/0.01 | 95 | 96 | 95 | 96 | 95.5 | 45 | 28 | 90 | 93.3 | 91.3 | 93.3 | 95.4 | 94.2 | ||||
| LS-SVM | 2451928.8/3169.78 | 95 | 97 | 95 | 97 | 96 | 46 | 30 | 92 | 100 | 95 | 94 | 97.7 | 95.6 | ||||
| KNN | 7 | 92 | 96 | 92 | 96 | 94 | 44 | 28 | 88 | 93.3 | 90 | 90.7 | 95.4 | 92.9 | ||||