基于机器视觉的猪胴体背膘厚度在线检测技术
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家科技支撑计划项目(2012BAH04B02)


Pork backfat thickness on-line detection methods using machine vision
Author:
Affiliation:

Fund Project:

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

    为了能在线精准测量猪胴体背膘厚度,解决人工测量过程中效率低、人为因素影响大及结缔组织易被误测量为背膘的问题。该文基于机器视觉及图像处理技术提出一种图像采集并自动测量背膘厚度的算法。在双边滤波、大律法、形态学变换的基础上,通过轮廓面积分割提取出背膘区域及其边缘轮廓,利用拟合线对轮廓边框进行拟合,判断是否包含结缔组织。若包含则针对原始图像目标测量区域像素点特征进行具体分析,去除结缔组织。然后通过直线映射,确定背膘厚度检测线,测量猪胴体背膘厚度。测试结果表明:检测方法能适应在线检测速度需求,检测正确率为93.5%,平均检测时间为0.3 s。研究结果为生猪屠宰生产线上准确、快速测量背膘厚度提供参考。

    Abstract:

    Abstract: Detection of pork backfat thickness in most of the slaughtering houses depends on manual labors using measuring tools. The objective of this research was to investigate the method for detecting backfat thickness based on computer vision and image processing technologies. And the paper proposed an algorithm of image acquisition and automatically measuring backfat thickness which could solve the problems that manual measurement process had low efficiency, human factor influenced the test result and connective tissue was readily measured as backfat region. The images of pig carcass between the 6th and the 7th rib were collected by the machine vision image acquisition system on the slaughter line. The system consisted of an image acquisition module containing CCD (charge-coupled device) to capture the images and then save them in computer, a single-chip microcomputer, a detection switch, the calibration rule and the light source in system that could be regulated by the controller to change intensity, and the image processing algorithm was equipped into the self-developed system embedded in the computer. The distance between the camera lens and the carcass samples was fixed. A black background plate was placed behind the pig carcass in order to adapt to the complexity of the environment. When a half of carcass reached the camera view, the operator pressed the detection switch to acquire images which were automatically stored in the computer for further image processing. First, the image noise was removed by using the bilateral filtering method. And the binary image of the pig carcass to be detected was gained according to the Otsu method which calculated segment threshold automatically based on the image grey value. After filling the tiny holes in the binary images by using morphological transformation, the images still contained multiple connected regions. Then the image contours were extracted from the preprocessed images. Through the experiment, it was found that the backfat region was the largest region in the image contour region. Based on the differences of different contour sizes, the backfat region and edge contour were obtained. Secondly, the edge contours were fitted by the fitting line to yield the standard deviations, which were then used to determine whether the connective tissue existed in the backfat region. If so, the pixels of the backfat region image accumulated along X direction were plotted. The connective tissue was removed using the new detection line determined by the valley point coordinates of pixel curve. In this step, the image was cropped to separate the backfat region from the original image. Finally the backfat thickness could be measured accurately by mapping the line to the backfat region. Experiment showed that the detection accuracy of measuring the backfat thickness was 93.5% when the measurement error was less than 1 mm. The accuracy of the algorithm and the speed were verified with the theoretical analysis and practical test. And through test, the average recognition time of each sample was 0.3 s. The results showed that the algorithm could meet the requirement of the backfat thickness testing and measuring in precision for the practical application. This method is able to be used in online detection of the slaughtering line which is of great significance for the development of the automatic measuring system.

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

李青,彭彦昆.基于机器视觉的猪胴体背膘厚度在线检测技术[J].农业工程学报,2015,31(18):256-261. DOI:10.11975/j. issn.1002-6819.2015.18.035

Li Qing, Peng Yankun. Pork backfat thickness on-line detection methods using machine vision[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE),2015,31(18):256-261. DOI:10.11975/j. issn.1002-6819.2015.18.035

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2015-07-06
  • 最后修改日期:2015-08-14
  • 录用日期:
  • 在线发布日期: 2015-09-17
  • 出版日期:
文章二维码
您是第位访问者
ICP:京ICP备06025802号-3
农业工程学报 ® 2024 版权所有
技术支持:北京勤云科技发展有限公司