基于深度图像的猪体尺检测系统
作者:
作者单位:

作者简介:

Whole Paper in English

通讯作者:

中图分类号:

基金项目:

“十二五”国家科技支撑计划项目(2014BAD08B05)


Pig Dimension Detection System Based on Depth Image
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    为实现生猪饲养过程中体尺无接触检测,设计了一套基于双目视觉原理的猪体尺检测系统。针对色彩图像提取猪体轮廓易受污物和光照干扰的问题,提出基于深度图像的猪体轮廓提取算法。使用双目视觉系统获得猪体深度图像,利用帧差法提取猪只高度信息,并基于高度信息二值化图像,获得猪体轮廓;结合优化的基于凹陷结构的拐点提取算法,筛选体尺检测关键点,计算体长、体宽、体高、臀宽、臀高5个体尺,编写了基于以上算法的猪体尺检测程序。双目视觉系统三维检测的实验室验证表明:在2m物距范围内,系统三维检测相对误差均小于1%;系统在实际猪场对32组猪体尺检测结果表明:与手工测量猪体尺相比,本系统检测的体尺平均相对误差在2%左右,平均误差小于2cm。试验证明基于深度图像的猪体尺检测系统不容易受到脏污和光照干扰,能够实现生猪饲养过程中猪体尺的无接触检测。

    Abstract:

    For contactless measurement of pig body dimension andimprovement of pig welfare in the real farm, a pig body dimension detection system was developed based on machine vision technology. An algorithm based on depth image was initiated to obtain pig’s contour, because color or gray image are easily affected by various light and dirty on pig body. Firstly, two top view images were captured for each pig by using a stereo vision system. Depth image was obtained through stereo image matching. Depth background subtraction algorithm was used to get pig height data, and pig contour was calculated through binary height image. Then a corner extraction algorithm based on concave structure was optimized and simplified to extract four pig head and tail cut points. Then eight pig body dimension measurement key points were calculated, finally five body dimensions including body length, body width, body height, hip width and hip height were detected. Automatic software was developed which combines the algorithm above based on LabVIEW development environment. Threedimensional detection accuracy of the system was verified by using calibration board in lab, the relative error of detection were less than 1% within 2m object distance and view center region has the minimum error. Then the system was installed in a commercial farm for verification. 32 Landrace pigs’ body dimensions were measured three times manually and then the system snapped pig`s image for estimation. Each pig`s five body dimensions were detected three times. The result showed the detected values of body dimension had relative error of 2%, and absolute error of less than 2cm. The pig body detection system based on depth image overcomes the problem of light and dirty on pig, and it can be used to detect pig body dimension contactless in the real pig farm.

    参考文献
    相似文献
    引证文献
引用本文

李卓,杜晓冬,毛涛涛,滕光辉.基于深度图像的猪体尺检测系统[J].农业机械学报,2016,47(3):311-318. Li Zhuo, Du Xiaodong, Mao Taotao, Teng Guanghui. Pig Dimension Detection System Based on Depth Image[J]. Transactions of the Chinese Society for Agricultural Machinery,2016,47(3):311-318.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2015-10-10
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2016-03-10
  • 出版日期: