Nondestructive Detection for Egg Freshness Based on Hyperspectral Scattering Image Combined with Ensemble Learning
Scattering hyperspectral technology is a nondestructive testing method with many advantages. Here, we propose a method to improve the accuracy of egg freshness, research the influence of incident angles of light source on the accuracy, and explain its mechanism. A variety of weak classifiers classif...
Main Authors: | , , , , , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2020-09-01
|
Series: | Sensors |
Subjects: | |
Online Access: | https://www.mdpi.com/1424-8220/20/19/5484 |
id |
doaj-ab82c427fb304065aaad4a86783e5ab9 |
---|---|
record_format |
Article |
spelling |
doaj-ab82c427fb304065aaad4a86783e5ab92020-11-25T03:30:30ZengMDPI AGSensors1424-82202020-09-01205484548410.3390/s20195484Nondestructive Detection for Egg Freshness Based on Hyperspectral Scattering Image Combined with Ensemble LearningDejian Dai0Tao Jiang1Wei Lu2Xuan Shen3Rui Xiu4Jingwei Zhang5College of Artificial Intelligence, Nanjing Agricultural University, Nanjing 210031, ChinaCollege of Artificial Intelligence, Nanjing Agricultural University, Nanjing 210031, ChinaCollege of Artificial Intelligence, Nanjing Agricultural University, Nanjing 210031, ChinaCollege of Artificial Intelligence, Nanjing Agricultural University, Nanjing 210031, ChinaCollege of Artificial Intelligence, Nanjing Agricultural University, Nanjing 210031, ChinaCollege of Artificial Intelligence, Nanjing Agricultural University, Nanjing 210031, ChinaScattering hyperspectral technology is a nondestructive testing method with many advantages. Here, we propose a method to improve the accuracy of egg freshness, research the influence of incident angles of light source on the accuracy, and explain its mechanism. A variety of weak classifiers classify eggs based on the spectra after preprocessing and feature wavelength extraction to obtain three classifiers with the highest accuracy. The three classifiers are used as metamodels of stacking ensemble learning to improve the highest accuracy from 96.25% to 100%. Moreover, the highest accuracy of scattering, reflection, transmission, and mixed hyperspectral of eggs are 100.00%, 88.75%, 95.00%, and 96.25%, respectively, indicating that the scattering hyperspectral for egg freshness detection is better than that of the others. In addition, the accuracy is inversely proportional to the angle of incidence, i.e., the smaller the incident angle, the camera collects a larger proportion of scattering light, which contains more biochemical parameters of an egg than that of reflection and transmission. These results are very important for improving the accuracy of non-destructive testing and for selecting the incident angle of a light source, and they have potential applications for online non-destructive testing.https://www.mdpi.com/1424-8220/20/19/5484egg freshnesshyperspectral detectionhyperspectral scattering imagingensemble learning |
collection |
DOAJ |
language |
English |
format |
Article |
sources |
DOAJ |
author |
Dejian Dai Tao Jiang Wei Lu Xuan Shen Rui Xiu Jingwei Zhang |
spellingShingle |
Dejian Dai Tao Jiang Wei Lu Xuan Shen Rui Xiu Jingwei Zhang Nondestructive Detection for Egg Freshness Based on Hyperspectral Scattering Image Combined with Ensemble Learning Sensors egg freshness hyperspectral detection hyperspectral scattering imaging ensemble learning |
author_facet |
Dejian Dai Tao Jiang Wei Lu Xuan Shen Rui Xiu Jingwei Zhang |
author_sort |
Dejian Dai |
title |
Nondestructive Detection for Egg Freshness Based on Hyperspectral Scattering Image Combined with Ensemble Learning |
title_short |
Nondestructive Detection for Egg Freshness Based on Hyperspectral Scattering Image Combined with Ensemble Learning |
title_full |
Nondestructive Detection for Egg Freshness Based on Hyperspectral Scattering Image Combined with Ensemble Learning |
title_fullStr |
Nondestructive Detection for Egg Freshness Based on Hyperspectral Scattering Image Combined with Ensemble Learning |
title_full_unstemmed |
Nondestructive Detection for Egg Freshness Based on Hyperspectral Scattering Image Combined with Ensemble Learning |
title_sort |
nondestructive detection for egg freshness based on hyperspectral scattering image combined with ensemble learning |
publisher |
MDPI AG |
series |
Sensors |
issn |
1424-8220 |
publishDate |
2020-09-01 |
description |
Scattering hyperspectral technology is a nondestructive testing method with many advantages. Here, we propose a method to improve the accuracy of egg freshness, research the influence of incident angles of light source on the accuracy, and explain its mechanism. A variety of weak classifiers classify eggs based on the spectra after preprocessing and feature wavelength extraction to obtain three classifiers with the highest accuracy. The three classifiers are used as metamodels of stacking ensemble learning to improve the highest accuracy from 96.25% to 100%. Moreover, the highest accuracy of scattering, reflection, transmission, and mixed hyperspectral of eggs are 100.00%, 88.75%, 95.00%, and 96.25%, respectively, indicating that the scattering hyperspectral for egg freshness detection is better than that of the others. In addition, the accuracy is inversely proportional to the angle of incidence, i.e., the smaller the incident angle, the camera collects a larger proportion of scattering light, which contains more biochemical parameters of an egg than that of reflection and transmission. These results are very important for improving the accuracy of non-destructive testing and for selecting the incident angle of a light source, and they have potential applications for online non-destructive testing. |
topic |
egg freshness hyperspectral detection hyperspectral scattering imaging ensemble learning |
url |
https://www.mdpi.com/1424-8220/20/19/5484 |
work_keys_str_mv |
AT dejiandai nondestructivedetectionforeggfreshnessbasedonhyperspectralscatteringimagecombinedwithensemblelearning AT taojiang nondestructivedetectionforeggfreshnessbasedonhyperspectralscatteringimagecombinedwithensemblelearning AT weilu nondestructivedetectionforeggfreshnessbasedonhyperspectralscatteringimagecombinedwithensemblelearning AT xuanshen nondestructivedetectionforeggfreshnessbasedonhyperspectralscatteringimagecombinedwithensemblelearning AT ruixiu nondestructivedetectionforeggfreshnessbasedonhyperspectralscatteringimagecombinedwithensemblelearning AT jingweizhang nondestructivedetectionforeggfreshnessbasedonhyperspectralscatteringimagecombinedwithensemblelearning |
_version_ |
1724575186005524480 |