基于机器视觉的猪个体身份和饮水行为识别方法

被引:0
作者
谭辉磊
机构
[1] 江苏大学
关键词
特征区域; 相似度计算; 身份识别; 多边形近似; 匈牙利算法; 饮水行为识别;
D O I
暂无
年度学位
2017
学位类型
硕士
导师
摘要
随着养猪业规模化和智能化水平的不断提高,智能视频监控技术正在被广泛地应用和研究。传统养猪业要求饲养员实时获取猪只状态信息,以便及时发现猪只异常,这不仅费时费力,还会干扰猪只的正常生长。针对此问题,本文提出了基于机器视觉的猪个体身份和饮水行为的识别方法,用此方法能够提高猪场的生产效益,并减少饲养员的工作量。首先,针对猪只的非刚体特性,提取俯视监控视频中具有稳定性和独特性的特征区域,并依次提取颜色信息熵、形状参数、Tamura纹理等多种特征,组合构成多维特征向量用于表征猪只身份,结合向量相似度计算方法,得到待识别猪只和训练样本猪只之间的相似性,从而实现猪个体的身份识别。其次,针对猪只饮水时姿态相对固定的特性,采用改进的Douglas-Peukcer多边形近似法对饮水区域内的猪只轮廓进行拟合,并提取角度和距离特征,构建具有尺度不变性和旋转不变性的二维特征量用于表征猪只饮水状态,利用匈牙利算法得到轮廓片段之间的最优匹配,再计算该匹配下的匹配代价,完成轮廓的匹配工作,从而实现猪只饮水行为的识别。最后,针对身份识别算法,通过测试不同背部特征区域边长下的识别率和单只猪的平均识别时间,选择最优边长,同时针对饮水行为识别算法,通过测试不同相似度阈值下的识别率,选择最优阈值。再利用MATLAB GUI设计图像处理界面,完成参数设置、身份识别、饮水行为识别等功能,实现猪只身份识别和饮水行为识别。实验结果表明,测试帧中猪个体身份的识别率为86.7%,识别单只猪的平均时间为1.9154s,相比于其他典型方法,在保证时间性能的前提下取得了较高的识别率,同时猪只饮水行为的识别率为94.05%,较好地区分了饮水状态和非饮水状态,达到了研究的预期效果。本文采用机器视觉技术,实现了猪只的身份和饮水行为的智能监测和识别,为今后对群养猪采食、排便等行为的识别研究打下了基础,同时为探索牲畜的身份及饮水行为识别提供了新思路。
引用
收藏
页数:74
共 33 条
[1]
MATLAB R2012a 完全自学一本通.[M].刘浩;韩晶.电子工业出版社.2013,
[2]
Automatic detection of mounting behaviours among pigs using image analysis.[J].Abozar Nasirahmadi;Oliver Hensel;Sandra A. Edwards;Barbara Sturm.Computers and Electronics in Agriculture.2016,
[3]
Monitoring pig movement at the slaughterhouse using optical flow and modified angular histograms.[J].Ruta Gronskyte;Line Harder Clemmensen;Marchen Sonja Hviid;Murat Kulahci.Biosystems Engineering.2016,
[4]
Foreground detection of group-housed pigs based on the combination of Mixture of Gaussians using prediction mechanism and threshold segmentation.[J].Yizheng Guo;Weixing Zhu;Pengpeng Jiao;Jiali Chen.Biosystems Engineering.2014,
[5]
Automatic monitoring of pig locomotion using image analysis.[J].Mohammad Amin Kashiha;Claudia Bahr;Sanne Ott;Christel P.H. Moons;Theo A. Niewold;Frank Tuyttens;Daniel Berckmans.Livestock Science.2014,
[6]
Robust localization and identification of African clawed frogs in digital images.[J].F. Boray Tek;Flavio Cannavo;Giuseppe Nunnari;İzzet Kale.Ecological Informatics.2014,
[7]
Automatic identification of marked pigs in a pen using image pattern recognition.[J].Mohammadamin Kashiha;Claudia Bahr;Sanne Ott;Christel P.H. Moons;Theo A. Niewold;F.O. Ödberg;Daniel Berckmans.Computers and Electronics in Agriculture.2013,
[8]
The automatic monitoring of pigs water use by cameras.[J].Mohammadamin Kashiha;Claudia Bahr;Sara Amirpour Haredasht;Sanne Ott;Christel P.H. Moons;Theo A. Niewold;Frank O. Ödberg;Daniel Berckmans.Computers and Electronics in Agriculture.2013,
[9]
Development of a real-time computer vision system for tracking loose-housed pigs [J].
Ahrendt, Peter ;
Gregersen, Torben ;
Karstoft, Henrik .
COMPUTERS AND ELECTRONICS IN AGRICULTURE, 2011, 76 (02) :169-174
[10]
Robust wide-baseline stereo from maximally stable extremal regions [J].
Matas, J ;
Chum, O ;
Urban, M ;
Pajdla, T .
IMAGE AND VISION COMPUTING, 2004, 22 (10) :761-767