首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于机器视觉的猪体质量估测模型比较与优化
引用本文:李卓,毛涛涛,刘同海,滕光辉.基于机器视觉的猪体质量估测模型比较与优化[J].农业工程学报,2015,31(2):155-161.
作者姓名:李卓  毛涛涛  刘同海  滕光辉
作者单位:1. 中国农业大学水利与土木工程学院,北京,100083
2. 天津农学院计算机科学与信息工程系,天津,300384
基金项目:国家科技支撑计划课题(2014BAD08B05)
摘    要:基于机器视觉的猪体质量估测模型较多,但模型缺乏在实用性、准确性的对比,最佳模型没有定论。该文总结了已有的估测算法,基于79组背部图像面积、实际面积、体长、体宽、体高、臀宽、臀高数据,使用线性回归、幂回归、二次回归、主成分线性回归、RBF(radial basis function,径向基函数)神经网络等方法,重建了13种体质量估测模型,并比较了13种模型的估测精度。结果表明,基于体长、体宽、体高、臀宽和臀高的线性回归模型具有较好的估测精度,估测值与真值的相关系数达到了0.996。利用主成分法去掉体尺的共线性,利用曲线回归解决残差不均匀问题,更加符合猪体质量增长趋势,结果表明基于主成分的幂回归模型具有较高的相关系数和较低的标准估计误差,对于97组数据的估测平均相对误差为2.02%。使用猪场实测24组数据验证模型,估测质量与测量值相关系数为0.97,估测平均相对误差为2.26%,标准差为1.78%,优于基于面积和面积体高结合的估测模型,平均绝对误差为2.08 kg,优于面积体高结合方法的平均绝对误差。试验证明使用多个体尺的主成分幂回归体质量估测模型较为精确,可用于机器视觉估测猪体质量的应用中。

关 键 词:动物  图像处理  模型    体质量估测
收稿时间:9/4/2014 12:00:00 AM
修稿时间:2015/1/12 0:00:00

Comparison and optimization of pig mass estimation models based on machine vision
Li Zhuo,Mao Taotao,Liu Tonghai and Teng Guanghui.Comparison and optimization of pig mass estimation models based on machine vision[J].Transactions of the Chinese Society of Agricultural Engineering,2015,31(2):155-161.
Authors:Li Zhuo  Mao Taotao  Liu Tonghai and Teng Guanghui
Institution:1. College of Water Conservancy and Civil Engineering, China Agricultural University, Beijing 100083, China;,1. College of Water Conservancy and Civil Engineering, China Agricultural University, Beijing 100083, China;,2. Department of Computer Science and Information Engineering, Tianjin Agricultural University, Tianjin 300384, China; and 1. College of Water Conservancy and Civil Engineering, China Agricultural University, Beijing 100083, China;
Abstract:Abstract: Pig's weight is an important index for farmers to monitor pig's growth performance and health. Traditional weighting brings lots of stress to animals and stockmen due to manual operation. Pig weighting based on machine vision is a non-intrusive, fast and precise approach, for it can free the farmer from heavy operational labor. The weighting system precision is assured by the estimation model. A lot of estimation models are addressed in pig weighting based on machine vision by researchers and engineers. Both independent variables and modeling approaches would influence the accuracy of estimated weight. In present work, comparison and optimization of the models were conducted, and the best model was validated in the real farm. In the first experiment, four growing pigs were raised from 30 to 124 kg. The feed was supplied ad libitum, and the lighting was in a 12/12 h light/dark cycle. A machine vision system was assembled and installed with two parallel cameras, an RFID (radio frequency identification devices) reader and a PC for capturing live images of pigs automatically. Using the assembled system, the pigs' back areas were measured. The head and tail of pig in each picture was cut off for pig's back area calculation. Five indexes of pig body (body length, width, height, hip width, and hip height) were measured manually every day. Linear regression, power regression, quadratic regression, principal component regression and RBF (radial basis function) artificial neural network were used to establish estimation models using the 79 sets of data. Those models were compared using the remaining 97 sets of data. The second experiment was carried out in the real farm to validate the favorable model. Five body indexes of 24 adult pigs were measured three times manually. The results of experiment station showed that all the reestablished models were suitable for pig weight estimation with varied accuracies. Linear regression model based on body sizes was the best one with a correlation coefficient (R2) of 0.996, while the linear regression model of hip height had the least correlation. Principal component analysis was used to solve problem of collinearity among body sizes. Nonlinear regression was used to fit pig mass increasing tendency. The power regression model of the principal component fitted the increase of pig weight best and had the highest correlation coefficient (R2) of 0.994. The average relative error of estimation weights was 2.02% compared with the 97 sets of experiment data. The correlation coefficient (R2) and relative estimation error of individual pig were 0.970 and 2.26% respectively, better than the model using back pixel area. Furthermore, the obtained average absolute error was 2.08 kg which was less than that of the model combining area and height, which was 4.6 kg. The established estimation model of pig weight using five body indexes contained more three-dimensional information of the pig body than the model using only area and the model combining area and height. Through the model comparison using the data of experimental station and the validation in the real farm, it is proved that the power regression model of principal component is the desired one for pig weight estimation using machine vision technology.
Keywords:animals  image processing  models  pig  estimating mass
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《农业工程学报》浏览原始摘要信息
点击此处可从《农业工程学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号