Hyperspectral Imaging Combined With ELM for Eggs Variety
Identification
ZHANG Fu1, WANG Meng-yao1, YAN Bao-ping1, ZHANG Fang-yuan1, YUAN Ye1, ZHANG Ya-kun1, FU San-ling2*
1. College of Agricultural Equipment Engineering, Henan University of Science and Technology, Luoyang 471003, China
2. School of Physical Engineering, Henan University of Science and Technology, Luoyang 471023, China
Abstract:Different varieties of eggs contain different nutrients and ingredients as a nutritious agricultural product. The phenomenon of inferior quality and adulteration poses a serious threat to food safety, which makes an urgent need to solve the problem of egg variety detection. Four egg varieties as research objects were divided into the training and test sets according to 2∶1 with 160 and 80 eggs respectively. A hyperspectral imaging system was utilized to capture the egg spectral image in the 935.61~1 720.23 nm range. Region of Interest (ROI) with a center size of 30×30 pixels of egg sample was selected after black and white correction, and the average reflectivity of each pixel in the region was extracted as the original spectral data of the sample. The average spectral information in the 949.43~1 709.49 nm range was intercepted for the subsequent study to reduce the influence of random noise at both ends. Savitzky-Golay (SG) smoothing algorithm and multiple scattering correction (MSC) were used to pretreat the effective bands after denoising. The feature wavelengths of the preprocessed spectral data were extracted using a successive projections algorithm (SPA), competitive adaptive reweighted sampling (CARS) single screening, and combinations of CARS-SPA and CARS+SPA, respectively. Support vector machine (SVM), particle swarm optimization (PSO) optimized SVM model (PSO-SVM), and extreme learning machine (ELM) model were established based on full bands (FB) and feature band, which were compared to find the best variety classification model. The experimental results showed that the SG-SPA-ELM model has the best identification effect with the best classification accuracy of 85.00%. Hyperspectral imaging technology combined with ELM can effectively realize non-destructive, efficient, and accurate identification of egg varieties and provide references for egg adulteration detection and identification of other agricultural products.
张 伏,王梦瑶,颜宝苹,张方圆,袁 叶,张亚坤,付三玲. 高光谱成像结合ELM的鸡蛋品种鉴别[J]. 光谱学与光谱分析, 2025, 45(03): 836-841.
ZHANG Fu, WANG Meng-yao, YAN Bao-ping, ZHANG Fang-yuan, YUAN Ye, ZHANG Ya-kun, FU San-ling. Hyperspectral Imaging Combined With ELM for Eggs Variety
Identification. SPECTROSCOPY AND SPECTRAL ANALYSIS, 2025, 45(03): 836-841.
[1] XING Lei, ZHAO Le-le, WU Hao-min, et al(邢 磊, 赵乐乐, 吴昊旻, 等). Chinese Poultry(中国家禽), 2020, 42(10): 6.
[2] YANG Meng-ting, LI Guo-qin, ZHOU Shi-heng, et al(杨梦婷, 李国勤, 周士恒, 等). Chinese Poultry(中国家禽), 2024, 46(8):114.
[3] QIU Ye, HAO Xin, KONG Wei-heng, et al(邱 烨, 郝 欣, 孔维恒, 等). Analytical Instrumentation(分析仪器), 2023, (6): 99.
[4] WANG Qiao-hua, MA Yi-xiao, FU Dan-dan, et al(王巧华, 马逸霄, 付丹丹, 等). Journal of Huazhong Agricultural University(华中农业大学学报), 2021, 40(6): 220.
[5] SONG Ke, YANG Chong-long, SHI Yong-hong, et al(宋 科, 杨崇龙, 石永宏, 等). Journal of Food Safety and Quality Inspection(食品安全质量检测学报), 2022, 13(17): 5518.
[6] ZHU Zhi-hui, HONG Qi, WU Lin-feng, et al(祝志慧, 洪 琪, 吴林峰, 等). Spectroscopy and Spectral Analysis(光谱学与光谱分析), 2019, 39(9): 2780.
[7] SONG Ke, PAN Lei-qing, YANG Chong-long, et al(宋 科, 潘磊庆, 杨崇龙, 等). Journal of Nanjing Agricultural University(南京农业大学学报), 2023, 46(6): 1187.
[8] LIU Cui-ling, QIN Dong, SUN Xiao-rong, et al(刘翠玲, 秦 冬, 孙晓荣, 等). Journal of Food Science and Technology(食品科学技术学报), 2022, 40(6): 172.
[9] PAN Lei-qing, ZHANG Wei, YU Min-li, et al(潘磊庆, 张 伟, 于敏莉, 等). Transactions of the Chinese Society of Agricultural Engineering(农业工程学报), 2016, 32(1): 181.
[10] ZHU Zhi-hui, LIU Ting, MA Mei-hu(祝志慧, 刘 婷, 马美湖). Transactions of the Chinese Society of Agricultural Engineering(农业工程学报), 2015, 31(15): 285.
[11] WANG Bin, WANG Qiao-hua, XIAO Zhuang, et al(王 彬, 王巧华, 肖 壮, 等). Journal of Huazhong Agricultural University(华中农业大学学报), 2018, 37(1): 95.
[12] Fu D D, Li Q Y, Chen Y, et al. International Journal of Food Properties, 2023, 26(1): 155.
[13] Sahachairungrueng W, Thompson A K, Terdwongworakul A, et al. Foods, 2023, 12(13): 2519.
[14] Kim J, Semyalo D, Rho T G, et al. Sensors, 2022, 22(24): 9826.
[15] Xie C Q, He Y. Scientific Reports, 2016, 6(1): 21130.
[16] Chen S Y, Hsu S H, Ko C Y, et al. Food Control, 2023, 150: 109716.
[17] Dai D J, Jiang T, Lu W, et al. Sensors, 2020, 20(19): 5484.
[18] Yan C H, Lu A. Transactions of the Institute of Measurement and Control, 2023, 45(14): 2679.
[19] XU Min-ya, ZHU Lu-sheng, LIU Yong-hua, et al(徐敏雅, 朱路生, 刘永华, 等). Journal of Chinese Agricultural Mechanization(中国农机化学报), 2023, 44(12): 137.
[20] CAO Jia-jia, YAN Yuan, CHEN Yi, et al(曹嘉嘉, 严 圆, 陈 益, 等). Journal of Dongguan University of Technology(东莞理工学院学报), 2022, 29(3): 50.
[21] JIANG Feng-li, YANG Lei, TIAN You-wen, et al(姜凤利, 杨 磊, 田有文, 等). Journal of Shenyang Agricultural University(沈阳农业大学学报), 2023, 54(3): 318.