基于双视角图像的山羊体尺自动测量方法
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

青海省科技厅基础研究计划项目(2020-ZJ-716)、中央高校基本科研业务费专项资金项目(ZJ22195003)、国家自然科学基金项目(31972615)和江苏省自然科学基金项目(BK20191315)


Automatic Measurement Method of Goat Body Size Based on Double Vision Angle Camera Image
Author:
Affiliation:

Fund Project:

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

    针对规模化羊场对山羊体尺无接触式自动测量的需求,设计了一种山羊双视角图像采集装置并开发了配套的山羊体尺自动测量算法。首先,开发了山羊双视角图像自动采集装置并在养殖场完成山羊双视角图像数据集的构建;然后,采用背景减除法二值化羊体俯视图,引入简单线性迭代聚类算法(SLIC)构建侧视图超像素的纹理和颜色特征向量,训练基于支持向量机(SVM)的超像素分类器,综合利用置信度和超像素区域邻接图(RAG)获取侧视图中的羊体二值图;最后,提出了在侧视和俯视二值图像中定位关键体尺特征点的方法,自动提取山羊体高、体斜长、胸深、胸宽、管径参数,拟合得到胸围和管围参数。算法测试结果表明,羊体侧视图前景区域超像素分类正确率超过94%,算法自动提取与人工标注的侧视、俯视前景二值图的交并比分别为96.1%和97.5%。以人工使用软尺测量获得体尺参数为金标准评价算法自动提取体尺参数的精度,结果表明管围、体高、胸深、胸宽、胸围和体斜长的平均相对误差分别为5.5%、3.7%、2.6%、5.2%、4.1%和3.9%。本文开发的羊体双视角图像采集装置及相应的图像处理方法可以满足山羊体尺无接触自动测量的精度要求,为山羊体尺的高效、自动测量提供了可行的解决方案。

    Abstract:

    The body size of farm animal is an important criterion for selection and appraising of variety resources, and body size is also employed to estimate animal body weight in many existing studies. In order to meet the requirement of measuring goat body size in a non-contact manner, a double view goat body images acquisition system was designed and the corresponding algorithm for goat body size calculating was developed. The double view images acquisition system was set up by using PLC controller, photoelectric sensors, limit switches, reducer motors, and industrial cameras. Goat's top view binary image was obtained by using background subtraction. The simple linear iterative clustering algorithm (SLIC) was introduced to construct the texture and color feature vectors of the superpixel of the side view goat body image. Each superpixel of a side view image was classified as foreground and background part by using a support vector machine (SVM) based classifier. The confidence and the region adjacent graph (RAG) of each superpixel were comprehensively used to binarize the side view goat body image. A set of methods for the body size feature points locating in the side and top view binary images of goat body was proposed. These feature points were further employed to calculate the goat body size parameters such as body height, body slant length, chest depth, chest width, and pipe diameter. Then, chest girth was fitted by using chest depth and chest width, circumference of cannon bone was fitted by using pipe diameter. The developed method was tested by using the double view images of Haimen goat collected in a breeding farm. The test results indicated that SLIC, SVM and RAG can segment the goat side view foreground with an accuracy of 94%. The intersection of union (IoU) of the side and top view foreground obtained by the algorithm and the manually labeled one were respectively 96.1% and 97.5%. The goat body size parameters calculated by using the developed algorithm were compared with those measured manually. The comparison results indicated that the average errors of the circumference of cannon bone, body height, chest depth, chest width, chest girth and body slant length were 5.5%,3.7%,2.6%, 5.2%,4.1% and 3.9%, respectively. Therefore, the image acquisition device developed can obtain the goat body double view images efficiently, and the proposed methods for goat image foreground segmentation and the feature points locating. Comprehensive utilization of the image acquisition device and the corresponding image processing algorithm developed provided a solution to the problem of measuring goat body size in an automatic manner.

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

陆明洲,光二颖,陈子康,王锋,张生福,熊迎军.基于双视角图像的山羊体尺自动测量方法[J].农业机械学报,2023,54(8):286-295. LU Mingzhou, GUANG Erying, CHEN Zikang, WANG Feng, ZHANG Shengfu, XIONG Yingjun. Automatic Measurement Method of Goat Body Size Based on Double Vision Angle Camera Image[J]. Transactions of the Chinese Society for Agricultural Machinery,2023,54(8):286-295.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2022-11-25
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2023-01-15
  • 出版日期: