| Literature DB >> 35591036 |
Cassius E O Coombs1, Brendan E Allman2, Edward J Morton3, Marina Gimeno4, Neil Horadagoda4, Garth Tarr5, Luciano A González1.
Abstract
Automatic identification and sorting of livestock organs in the meat processing industry could reduce costs and improve efficiency. Two hyperspectral sensors encompassing the visible (400-900 nm) and short-wave infrared (900-1700 nm) spectra were used to identify the organs by type. A total of 104 parenchymatous organs of cattle and sheep (heart, kidney, liver, and lung) were scanned in a multi-sensory system that encompassed both sensors along a conveyor belt. Spectral data were obtained and averaged following manual markup of three to eight regions of interest of each organ. Two methods were evaluated to classify organs: partial least squares discriminant analysis (PLS-DA) and random forest (RF). In addition, classification models were obtained with the smoothed reflectance and absorbance and the first and second derivatives of the spectra to assess if one was superior to the rest. The in-sample accuracy for the visible, short-wave infrared, and combination of both sensors was higher for PLS-DA compared to RF. The accuracy of the classification models was not significantly different between data pre-processing methods or between visible and short-wave infrared sensors. Hyperspectral sensors, particularly those in the visible spectrum, seem promising to identify organs from slaughtered animals which could be useful for the automation of quality and process control in the food supply chain, such as in abattoirs.Entities:
Keywords: classification; hyperspectral sensors; offal; organ type; short-wave infrared; visible spectrum
Mesh:
Year: 2022 PMID: 35591036 PMCID: PMC9102734 DOI: 10.3390/s22093347
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.847
Description and number of bovine and ovine parenchymatous organs used to develop automatic identification algorithms from visible (VIS) and short-wave infrared (SWIR) hyperspectral sensors and their combination (COMB) following removal of outliers. One heart from all spectra, one lung and one liver from VIS and COMB spectra, respectively, were removed.
| Organ Type | VIS | SWIR | COMB |
|---|---|---|---|
| Heart | 32 | 32 | 31 |
| Kidney | 20 | 20 | 20 |
| Liver | 28 | 29 | 28 |
| Lung | 21 | 22 | 21 |
| Total | 101 | 103 | 100 |
Figure 1Rapiscan multi-sensory imaging system used to scan livestock parenchymatous organs. (a) The external view of the complete prototype imaging system (AK198); and (b) A schematic showing placement of the hyperspectral cameras within the imaging system. Source: Rapiscan Systems Pte Ltd., Singapore.
Figure 2Trimmed centred moving average (a) visible (470.5–800.5 nm); and (b) short-wave infrared (1000.5–1600.5 nm) spectra for livestock organs by organ type (heart, kidney, liver, and lung).
Partial least squares discriminant analysis (PLS-DA) classification accuracy and coefficient of agreement (Kappa, κ) from visible (VIS), short-wave infrared (SWIR) and combination VIS and SWIR (COMB) hyperspectral sensors to differentiate bovine and ovine hearts, kidneys, livers, and lungs using various pre-processing methods on the leave-one-out cross validation (LOOCV) and in-sample datasets.
| Spectra | LOOCV Dataset | In-Sample Dataset | ||||
|---|---|---|---|---|---|---|
|
| Precision | Accuracy | κ | Accuracy | κ | |
|
| ||||||
| R | 11 | 0.87 | 0.87 | 0.83 | 0.96 | 0.95 |
| Rd1 | 16 | 0.85 | 0.85 | 0.80 | 1.00 | 1.00 |
| Rd2 | 6 | 0.77 | 0.78 | 0.70 | 0.90 | 0.87 |
| |
|
|
|
|
|
|
| Ad1 | 11 | 0.86 | 0.86 | 0.81 | 0.99 | 0.99 |
| Ad2 | 9 | 0.81 | 0.82 | 0.76 | 0.96 | 0.95 |
| |
|
|
|
|
|
|
|
| ||||||
| R | 24 | 0.91 | 0.91 | 0.88 | 0.99 | 0.99 |
| Rd1 | 20 | 0.91 | 0.90 | 0.87 | 0.99 | 0.99 |
| Rd2 | 18 | 0.91 | 0.91 | 0.88 | 0.99 | 0.99 |
| A | 24 | 0.92 | 0.92 | 0.90 | 0.98 | 0.97 |
| |
|
|
|
|
|
|
| Ad2 | 18 | 0.92 | 0.92 | 0.90 | 0.98 | 0.97 |
| |
|
|
|
|
|
|
|
| ||||||
| R | 21 | 0.94 | 0.94 | 0.92 | 1.00 | 1.00 |
| Rd1 | 24 | 0.97 | 0.97 | 0.96 | 1.00 | 1.00 |
| Rd2 | 20 | 0.98 | 0.97 | 0.96 | 1.00 | 1.00 |
| A | 22 | 0.94 | 0.94 | 0.92 | 1.00 | 1.00 |
| |
|
|
|
|
|
|
| Ad2 | 16 | 0.96 | 0.96 | 0.95 | 1.00 | 1.00 |
| |
|
|
|
|
|
|
Ncomp—number of components selected for PLS-DA; R—reflectance; Rd1—first derivative of reflectance; Rd2—second derivative of reflectance; A—absorbance; Ad1—first derivative of absorbance; Ad2—second derivative of absorbance; bold indicates the dataset used for reduced ncomp and subsequent determination (Afinal or Rfinal).
Performance of visible (VIS), short-wave infrared (SWIR) and combination VIS and SWIR (COMB) hyperspectral sensors in identifying the type of organs using partial least squares discriminant analysis on the in-sample dataset.
| Spectra | Predicted Number of Each Organ | |||
|---|---|---|---|---|
| Heart | Kidney | Liver | Lung | |
|
| ||||
| Heart | 32 | 1 | 0 | 0 |
| Kidney | 0 | 18 | 0 | 0 |
| Liver | 0 | 1 | 27 | 1 |
| Lung | 0 | 0 | 1 | 20 |
| Accuracy (%) | 100 | 90 | 96 | 95 |
|
| ||||
| Heart | 28 | 0 | 0 | 1 |
| Kidney | 1 | 19 | 2 | 0 |
| Liver | 0 | 1 | 27 | 4 |
| Lung | 3 | 0 | 0 | 17 |
| Accuracy (%) | 88 | 95 | 93 | 77 |
|
| ||||
| Heart | 28 | 1 | 0 | 0 |
| Kidney | 1 | 18 | 0 | 0 |
| Liver | 0 | 1 | 28 | 2 |
| Lung | 2 | 0 | 0 | 19 |
| Accuracy (%) | 90 | 90 | 100 | 90 |
Livestock organ classification from hyperspectral sensors using partial least squares discriminant analysis (PLS-DA) for visible (VIS), short-wave infrared (SWIR) and combination VIS and SWIR (COMB) hyperspectral sensors on the in-sample dataset.
| Spectra | Heart | Kidney | Liver | Lung |
|---|---|---|---|---|
| Sensitivity | 1.00 | 0.90 | 0.96 | 0.95 |
| Specificity | 0.99 | 1.00 | 0.97 | 0.99 |
| Precision | 0.97 | 1.00 | 0.93 | 0.95 |
| Accuracy | 0.99 | 0.95 | 0.97 | 0.97 |
| Sensitivity | 0.88 | 0.95 | 0.93 | 0.77 |
| Specificity | 0.99 | 0.96 | 0.93 | 0.96 |
| Precision | 0.97 | 0.86 | 0.84 | 0.85 |
| Accuracy | 0.93 | 0.96 | 0.93 | 0.87 |
| Sensitivity | 0.90 | 0.90 | 1.00 | 0.90 |
| Specificity | 0.99 | 0.99 | 0.96 | 0.97 |
| Precision | 0.97 | 0.95 | 0.90 | 0.90 |
| Accuracy | 0.94 | 0.94 | 0.98 | 0.94 |
(A)—raw absorbance data were selected; (Ad1)—first derivative of absorbance data were selected.
Figure 3Variable importance for combination of visible (470.5–800.5 nm) and short-wave infrared (1000.5–1600.5 nm) spectra using partial least squares discriminant analysis to identify bovine and ovine organs by type.
Random forest algorithm classification accuracy and coefficient of agreement (Kappa, κ) from visible (VIS), short-wave infrared (SWIR) and combination VIS and SWIR (COMB) hyperspectral sensors to differentiate bovine and ovine hearts, kidneys, livers and lungs on the leave-one-out cross validation (LOOCV) and in-sample datasets.
| Spectra | LOOCV Dataset | In-Sample Dataset | ||||
|---|---|---|---|---|---|---|
|
| Precision | Accuracy | κ | Accuracy | κ | |
|
| ||||||
| R | 410 | 0.72 | 0.72 | 0.62 | 0.69 | 0.58 |
| Rd1 | 310 | 0.80 | 0.81 | 0.75 | 0.80 | 0.73 |
| |
|
|
|
|
|
|
| A | 480 | 0.71 | 0.72 | 0.62 | 0.68 | 0.57 |
| Ad1 | 440 | 0.86 | 0.85 | 0.80 | 0.82 | 0.76 |
| Ad2 | 450 | 0.82 | 0.81 | 0.75 | 0.80 | 0.73 |
|
| ||||||
| R | 320 | 0.82 | 0.82 | 0.75 | 0.81 | 0.74 |
| Rd1 | 500 | 0.84 | 0.83 | 0.78 | 0.82 | 0.75 |
| Rd2 | 340 | 0.83 | 0.83 | 0.78 | 0.84 | 0.79 |
| A | 330 | 0.82 | 0.82 | 0.75 | 0.82 | 0.75 |
| |
|
|
|
|
|
|
| Ad2 | 370 | 0.83 | 0.83 | 0.78 | 0.83 | 0.76 |
|
| ||||||
| R | 310 | 0.83 | 0.83 | 0.77 | 0.83 | 0.77 |
| Rd1 | 460 | 0.87 | 0.87 | 0.82 | 0.85 | 0.80 |
| Rd2 | 440 | 0.86 | 0.86 | 0.81 | 0.82 | 0.76 |
| A | 390 | 0.84 | 0.84 | 0.78 | 0.82 | 0.76 |
| |
|
|
|
|
|
|
| Ad2 | 310 | 0.86 | 0.85 | 0.80 | 0.85 | 0.80 |
mtry—number of nodes available for random sampling at each split when developing tree models; R—reflectance; Rd1—first derivative of reflectance; Rd2—second derivative of reflectance; A—absorbance; Ad1—first derivative of absorbance; Ad2—second derivative of absorbance; bold indicates the dataset used for final determination.
Livestock organ classification from hyperspectral sensors using random forest (RF) classification for visible (VIS), short-wave infrared (SWIR) and combination VIS and SWIR (COMB) hyperspectral sensors on the in-sample dataset.
| Spectra | Predicted Number of Each Organ | |||
|---|---|---|---|---|
| Heart | Kidney | Liver | Lung | |
|
| ||||
| Heart | 29 | 1 | 1 | 4 |
| Kidney | 0 | 16 | 2 | 1 |
| Liver | 1 | 3 | 25 | 1 |
| Lung | 2 | 0 | 0 | 15 |
| Accuracy (%) | 91 | 80 | 89 | 71 |
|
| ||||
| Heart | 27 | 2 | 0 | 0 |
| Kidney | 2 | 17 | 0 | 0 |
| Liver | 0 | 1 | 27 | 6 |
| Lung | 3 | 0 | 2 | 16 |
| Accuracy (%) | 84 | 85 | 93 | 73 |
|
| ||||
| Heart | 27 | 1 | 0 | 3 |
| Kidney | 0 | 17 | 0 | 0 |
| Liver | 0 | 2 | 27 | 2 |
| Lung | 4 | 0 | 1 | 16 |
| Accuracy (%) | 87 | 85 | 96 | 76 |
Random forest model metrics per organ for visible (VIS), short-wave infrared (SWIR) and combination VIS and SWIR (COMB) hyperspectral sensors on the in-sample dataset.
| Spectra | Heart | Kidney | Liver | Lung |
|---|---|---|---|---|
| Sensitivity | 0.91 | 0.80 | 0.89 | 0.71 |
| Specificity | 0.91 | 0.96 | 0.93 | 0.98 |
| Precision | 0.83 | 0.84 | 0.83 | 0.88 |
| Accuracy | 0.91 | 0.88 | 0.91 | 0.84 |
| Sensitivity | 0.84 | 0.85 | 0.93 | 0.73 |
| Specificity | 0.97 | 0.98 | 0.91 | 0.94 |
| Precision | 0.93 | 0.89 | 0.79 | 0.76 |
| Accuracy | 0.91 | 0.91 | 0.92 | 0.83 |
| Sensitivity | 0.87 | 0.85 | 0.96 | 0.76 |
| Specificity | 0.94 | 1.00 | 0.94 | 0.94 |
| Precision | 0.87 | 1.00 | 0.87 | 0.76 |
| Accuracy | 0.91 | 0.93 | 0.95 | 0.85 |
(Rd2)—second derivative of reflectance data was selected; (Ad1)—first derivative of absorbance data was selected.
Figure 4Variable importance for combination of visible (470.5–800.5 nm) and short-wave infrared (1000.5–1600.5 nm) spectra using random forest modelling to identify bovine and ovine organs by type.
Figure 5Principal components analysis (PC1 vs. PC2) plots for the first derivative of absorbance hyperspectral data of (a) visible (VIS); (b) short-wave infrared (SWIR); and (c) combination VIS and SWIR spectra for classification of bovine and ovine parenchymatous organs by type.