首页> 中文期刊> 《农业工程学报》 >基于改进惯性矩算法的冷鲜猪肉新鲜度激光散斑图像检测

基于改进惯性矩算法的冷鲜猪肉新鲜度激光散斑图像检测

         

摘要

为了探究激光散斑技术检测冷鲜猪肉新鲜度的可行性,用660和465 nm 2种波长的激光对宰后24 h的猪肉样本在7 d内的激光散斑图像进行采集.以时间序列散斑(time history of speckle pattern,THSP)图像的惯性矩(inertia moment,IM)作为散斑活性,研究冷鲜猪肉散斑活性随货架期的变化规律.通过分析2种波长不同行的选取对IM值的影响,发现不同波长其奇偶行IM的规律不同,并针对传统IM算法容易出现异常值、稳定性差等缺点提出3点改进:设计排序算法动态选择散斑活性最高峰及周围2个相邻行,依此计算样本IM值;改进共生矩阵的修正矩阵计算方法;改进非零元素偏离对角线距离的计算方法.结果显示,改进方法可以有效地抑制异常值干扰,冷鲜猪肉散斑活性随货架期呈现先上升后下降的变化趋势.根据测得的挥发性盐基氮值(total volatile basic nitrogen,TVB-N)和散斑活性IM值建立猪肉新鲜度等级预测模型,结果显示465 nm波长的激光判别效果要好于660 nm激光,其训练集和预测集的识别率能达到87.5%和89.29%.试验结果表明利用激光散斑技术检测冷鲜猪肉新鲜度的具有可行性.%Laser speckle is a new type of nondestructive detection technology, which can be used to characterize the activity of biological samples. Based on the laser speckle technique, an experimental platform was designed to investigate the feasibility of detecting the freshness of chilled pork. The optical maser with the wavelength of 465 and 660 nm and the power of 6 mw was used in this study. 84 pieces of chilled pork 24 h after slaughter, were cut into 6 cm × 6 cm × 8 mm and placed in a transparent dish with a lid. After numbering them, the samples were kept at 4 °C until measurement.For each sample, 640 laser speckle images with the resolution of 640 × 480 pixels were obtained at a regular interval of 0.06 s. The step was repeated every day for 7 days. Afterwards the laser speckle images were processed with a traditional method. Firstly the grey-scale processing was conducted, the fixed line in each gray images obtained was extracted, and the THSP (time history of speckle pattern) image was constructed using them according to the storage time. Then the co-occurrence matrix (COM) was calculated. Finally, the inertia moment (IM) of the COM was calculated and considered as the activity value of samples. The results showed that the IM values obtained by the traditional method frequently had abnormal values, and the computational stability of the method was rather poor. The IM values could be influenced by the traditional algorithm and the selection of different row, through which it was found that the traditional method was prone to outliers in the calculation of the correction matrix. Besides, the choices of different rows had great influence on IM values. The IM values presented Gaussian-like distribution from the center of the laser speckle to the around. And the IM values of odd or even lines under different excitation wavelengths were various due to the Bayer arrangement of CCD (charge coupled device) camera pixel. In this study, 3 kinds of improvements about traditional algorithms were proposed according to above findings. First, the sort algorithm was designed to calculate the IM values by dynamically selecting 3 lines with the highest activity in speckle images. Second, the calculation method of modified matrix for COM was improved. Finally, the method of calculating the distance between non-zero element and the diagonal was improved. The results exhibited that the outlier disturbance was effectively suppressed by the improved method. The speckle activity of chilled pork showed an upward trend firstly and then downward along with the shelf life. Besides, the activity changes of pork were more sensitive under laser wavelength of 660 nm than that under laser wavelength of 465 nm. According to the measured total volatile basic nitrogen (TVB-N) and speckle activity IM to establish pork freshness prediction model, and the results showed that the discrimination under the laser wavelength of 465 nm was better than the 660 nm laser, and the recognition rate for the training set and the prediction set could reach 87.50% and 89.29%, respectively. Therefore, using laser speckle technique to detect the freshness of cold pork is feasible, and the traditional method can be replaced by the improved method.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号