| Literature DB >> 34206783 |
Weihua Liu1, Shan Zeng2, Guiju Wu3, Hao Li2, Feifei Chen2.
Abstract
Hyperspectral technology is used to obtain spectral and spatial information of samples simultaneously and demonstrates significant potential for use in seed purity identification. However, it has certain limitations, such as high acquisition cost and massive redundant information. This study integrates the advantages of the sparse feature of the least absolute shrinkage and selection operator (LASSO) algorithm and the classification feature of the logistic regression model (LRM). We propose a hyperspectral rice seed purity identification method based on the LASSO logistic regression model (LLRM). The feasibility of using LLRM for the selection of feature wavelength bands and seed purity identification are discussed using four types of rice seeds as research objects. The results of 13 different adulteration cases revealed that the value of the regularisation parameter was different in each case. The recognition accuracy of LLRM and average recognition accuracy were 91.67-100% and 98.47%, respectively. Furthermore, the recognition accuracy of full-band LRM was 71.60-100%. However, the average recognition accuracy was merely 89.63%. These results indicate that LLRM can select the feature wavelength bands stably and improve the recognition accuracy of rice seeds, demonstrating the feasibility of developing a hyperspectral technology with LLRM for seed purity identification.Entities:
Keywords: LASSO logistic regression model; grey-scale image; hyperspectral imaging; seed purity identification; wavelength band selection
Mesh:
Year: 2021 PMID: 34206783 PMCID: PMC8271842 DOI: 10.3390/s21134384
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Schematic of the hyperspectral imaging system for rice seeds.
Figure 2Image of four rice seed samples through the viewfinder of the hyperspectral camera; the first (top) to fourth (bottom) rows are Huguangxiang, Xiangwan Japonica, Huanghuazhan, and Japonica 530, respectively.
Figure 3Flowchart of hyperspectral image processing, including data pre-processing, background segmentation, data set preparation, modelling, and identification accuracy output.
Figure 4Example of background segmentation using synthesised spectral slope greyscale image. (a) Colour image of a seed; (b) Binarised image using single-band (601.55 nm) information; (c) Segmentation result using single-band (601.55 nm) information; (d) Synthesised spectral slope greyscale image; (e) Binarised image using spectral slope information; (f) Segmentation result using spectral slope information.
Figure 5Average spectral features of four rice seeds. (a) Original reflectance spectrum; (b) spectrum after SNV; (c) spectrum after FD’ (d) spectrum after SD.
Data grouping details to simulate different cases of seed purity detection.
| Unit/Grain | Type 1 | Type 2 | Type 3 | Type 4 | Sum |
|---|---|---|---|---|---|
| Group 1 | 72 | 24 | 24 | 24 | 144 |
| Group 2 | 72 | 12 | 12 | 12 | 108 |
| Group 3 | 72 | 6 | 6 | 6 | 90 |
| Group 4 | 72 | 3 | 3 | 3 | 81 |
| Group 5 | 72 | 24 | 12 | 6 | 114 |
| Group 6 | 72 | 12 | 24 | 6 | 114 |
| Group 7 | 72 | 6 | 12 | 24 | 114 |
| Group 8 | 72 | 36 | 0 | 0 | 108 |
| Group 9 | 72 | 0 | 36 | 0 | 108 |
| Group 10 | 72 | 0 | 0 | 36 | 108 |
| Group 11 | 12 | 72 | 12 | 12 | 108 |
| Group 12 | 12 | 12 | 72 | 12 | 108 |
| Group 13 | 12 | 12 | 12 | 72 | 108 |
Figure 6Change in parameters with different values. (a) Regression coefficient; (b) fitting deviation; (c) number of feature wavelength bands; (d) prediction accuracy.
The results of feature wavelength bands selected using SNV data under different adulteration groups.
| Group | Feature Wavelength Bands [nm] | Number |
|---|---|---|
| Group 1 | 548.55, 572.07, 643.01, 678.71, 714.55, 762.57, 798.77, 810.86, 822.98, 847.25, 871.60, 896.01, 908.24, 920.48 | 14 |
| Group 2 | 548.55, 643.01, 678.71, 714.55, 762.57, 798.77, 810.86, 847.25, 871.60 | 9 |
| Group 3 | 548.55, 631.15, 643.01, 678.71, 762.57, 798.77, 810.86, 847.25, 871.60, 920.48 | 10 |
| Group 4 | 548.55, 619.30, 678.71, 714.55, 798.77, 810.86, 871.60 | 7 |
| Group 5 | 548.55, 572.07, 583.85, 643.01, 678.71, 714.55, 762.57, 786.68, 810.86, 822.98, 847.25, 871.60, 896.01, 920.48 | 14 |
| Group 6 | 536.82, 548.55, 619.30, 678.71, 714.55, 762.57, 798.77, 810.86, 847.25 871.60, 896.01 | 11 |
| Group 7 | 548.55, 643.01, 678.71, 714.55, 750.54, 762.57, 798.77, 810.86, 847.25, 871.60, 957.32 | 11 |
| Group 8 | 548.55, 560.30, 572.07, 631.15, 643.01, 678.71, 762.57, 810.86, 847.25, 871.60, 896.01, 908.24, 920.48 | 13 |
| Group 9 | 525.10, 536.82, 619.30, 678.71, 726.53, 786.68, 798.77, 810.86, 847.25, 871.60, 896.01 | 11 |
| Group 10 | 560.30, 643.01, 678.71, 714.55, 798.77, 810.86, 871.60, 908.24, 920.48, 957.32 | 10 |
| Group 11 | 455.16, 501.72, 525.10, 548.55, 572.07, 583.85, 631.15, 702.58, 714.55, 726.53, 738.53, 762.57, 786.68, 798.77, 810.86, 871.60, 957.32 | 17 |
| Group 12 | 443.56, 513.40, 560.30, 643.01, 678.71, 702.58, 726.53, 774.62, 786.68, 810.86, 822.98, 835.11, 859.42, 908.24, 932.74 | 15 |
| Group 13 | 443.56, 513.40, 738.53, 810.86, 822.98 | 5 |
The results of feature wavelength bands selected using FD data under different adulteration groups.
| Group | Feature Wavelength Bands [nm] | Number |
|---|---|---|
| Group 1 | 466.77, 583.85, 607.46, 678.71, 750.54, 822.98, 835.11, 847.25, 859.42, 883.79, 932.74 | 11 |
| Group 2 | 466.77, 583.85, 607.46, 678.71, 786.68, 810.86, 835.11, 859.42, 883.79, 932.74 | 10 |
| Group 3 | 455.16, 583.85, 666.79, 678.71, 810.86, 835.11, 859.42, 871.60, 883.79, 932.74 | 10 |
| Group 4 | 466.77, 583.85, 678.71, 810.86, 835.11, 859.42, 883.79 | 7 |
| Group 5 | 466.77, 583.85, 678.71, 835.11, 859.42, 883.79 | 6 |
| Group 6 | 466.77, 654.89, 714.55, 822.98, 859.42, 883.79, 932.74 | 7 |
| Group 7 | 455.16, 466.77, 525.10, 548.55, 607.46, 678.71, 786.68, 835.11, 859.42, 883.79, 932.74 | 11 |
| Group 8 | 466.77, 583.85, 678.71, 835.11, 859.42, 883.79 | 6 |
| Group 9 | 466.77, 501.72, 619.30, 702.58, 714.55, 822.98, 835.11, 847.25, 859.42, 883.79 | 10 |
| Group 10 | 455.16, 525.10, 607.46, 786.68, 835.11, 847.25, 859.42, 883.79, 932.74 | 9 |
| Group 11 | 443.56, 501.72, 548.55, 619.30, 762.57, 798.77, 835.11, 847.25, 859.42, 871.60, 883.79, 945.02 | 12 |
| Group 12 | 443.56, 607.46, 619.30, 726.53, 774.62, 786.68, 822.98, 932.74, 957.32 | 9 |
| Group 13 | 762.57, 810.86, 883.79 | 3 |
The results of feature wavelength bands selected using SD data under different adulteration groups.
| Group | Feature Wavelength Bands [nm] | Number |
|---|---|---|
| Group 1 | 478.41, 560.30, 619.30, 643.01, 654.89, 690.64, 726.53, 786.68, 822.98, 847.25, 896.01 | 11 |
| Group 2 | 595.65, 643.01, 654.89, 738.53, 835.11, 896.01, 945.02 | 7 |
| Group 3 | 595.65, 643.01, 654.89, 726.53, 738.53, 835.11, 859.42, 945.02 | 8 |
| Group 4 | 466.77, 643.01, 654.89, 726.53, 738.53, 774.62, 835.11, 847.25, 859.42, 945.02 | 10 |
| Group 5 | 631.35, 643.01, 654.89, 690.64, 726.53, 738.53, 786.68, 847.25, 896.01 | 9 |
| Group 6 | 643.01, 654.89, 690.64, 738.53, 786.68, 847.25, 896.01, 945.02 | 8 |
| Group 7 | 478.41, 560.30, 643.01, 654.89, 690.64, 702.58, 738.53, 786.68, 822.98, 847.25, 896.01, 945.02 | 12 |
| Group 8 | 643.01, 654.89, 690.64, 726.53, 738.53, 786.68, 822.98, 835.11, 847.25, 896.01 | 10 |
| Group 9 | 455.16, 560.30, 643.01, 654.89, 690.64, 786.68, 896.01, 945.02 | 8 |
| Group 10 | 654.89, 690.64, 702.58, 822.98, 883.79, 896.01 | 6 |
| Group 11 | 455.16, 490.06, 525.10, 607.46, 690.64, 750.54, 774.62, 798.77, 822.98, 847.25, 920.48, 932.74 | 12 |
| Group 12 | 443.56, 455.16, 583.85, 595.65, 643.01, 762.57, 774.62, 786.68, 859.42, 871.60, 920.48, 957.32 | 12 |
| Group 13 | 466.77, 490.06, 560.30, 643.01, 690.64, 714.55, 738.53, 750.54, 798.77, 810.86 | 10 |
Figure 7Wavelength band selection using SNV data for different rice varieties under the optimal λ. (a) Huguangxiang; (b) Xiangwan Japonica; (c) Huanghuazhan; (d) Japonica 530.
Figure 8Wavelength band selection using FD data for different rice varieties under the optimal λ. (a) Huguangxiang. (b) Xiangwan Japonica. (c) Huanghuazhan. (d) Japonica 530.
Figure 9Wavelength band selection using SD data for different rice varieties under the optimal . (a) Huguangxiang; (b) Xiangwan Japonica; (c) Huanghuazhan; (d) Japonica 530.
Comparison of recognition accuracy between LLRM and LRM using SNV data.
|
|
|
|
|
|
|
| |
| LLRM | 99.31% | 100% | 100% | 98.77% | 100% | 100% | 100% |
| LRM | 97.22% | 97.22% | 78.89% | 71.60% | 100% | 97.37% | 95.61% |
|
|
|
|
|
|
|
| |
| LLRM | 99.07% | 100% | 100% | 99.07% | 99.07% | 100% | 99.64% |
| LRM | 96.30% | 96.30% | 100% | 94.44% | 97.22% | 95.37% | 93.66% |
Comparison of recognition accuracy between LLRM and LRM using FD data.
|
|
|
|
|
|
|
| |
| LLRM | 98.61% | 100% | 100% | 100% | 100% | 100% | 99.12% |
| LRM | 95.83% | 86.11% | 73.33% | 74.07% | 87.72% | 90.35% | 94.74% |
|
|
|
|
|
|
|
| |
| LLRM | 100% | 100% | 99.07% | 95.37% | 97.22% | 100% | 99.18% |
| LRM | 92.59% | 87.96% | 97.22% | 88.89% | 84.26% | 99.07% | 88.63% |
Comparison of recognition accuracy between LLRM and LRM using SD data.
|
|
|
|
|
|
|
| |
| LLRM | 91.67% | 95.37% | 96.67% | 98.77% | 93.86% | 92.98% | 94.74% |
| LRM | 88.19% | 81.48% | 78.89% | 77.78% | 80.70% | 83.33% | 95.61% |
|
|
|
|
|
|
|
| |
| LLRM | 100% | 97.22% | 100% | 98.15% | 96.30% | 100% | 96.59% |
| LRM | 86.11% | 87.96% | 94.40% | 91.67% | 84.26% | 95.37% | 86.60% |