马 丽, 纪 滨, 刘宏申, 朱伟兴, 李 伟, 张 涛. 单只猪轮廓图的侧视图识别[J]. 农业工程学报, 2013, 29(10): 168-174.
    引用本文: 马 丽, 纪 滨, 刘宏申, 朱伟兴, 李 伟, 张 涛. 单只猪轮廓图的侧视图识别[J]. 农业工程学报, 2013, 29(10): 168-174.
    Ma Li, Ji Bin, Liu Hongshen, Zhu Weixing, Li Wei, Zhang Tao. Differentiating profile based on single pig contour[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2013, 29(10): 168-174.
    Citation: Ma Li, Ji Bin, Liu Hongshen, Zhu Weixing, Li Wei, Zhang Tao. Differentiating profile based on single pig contour[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2013, 29(10): 168-174.

    单只猪轮廓图的侧视图识别

    Differentiating profile based on single pig contour

    • 摘要: 由于完整轮廓猪只的侧视图具有便于行为分析的价值,因此,研究从猪舍监控视频中自动分割出单只猪理想侧视图的视频段对猪的行为分析是有意义的。为了识别每帧图像猪轮廓图的侧视图属性,该文通过图像处理获取猪只轮廓图后,提出联立猪只外接矩形高宽比和低频傅里叶系数构建猪只侧视图的特征向量,并根据样本训练集得到理想侧视图和非理想侧视图特征向量均值和方差,利用马氏距离判别法从测试视频中识别未知帧图像的类别,结果表明有91.7%猪只轮廓图的侧视图属性能正确识别,表明本方法是有效的。本研究可为后继单只疑似病猪行为分析提供条件。

       

      Abstract: Abstract: The use and wide application of video monitoring and control systems in pig pens is necessary for the automation and analysis of intelligence to improve the development tendencies of the pig-raising industry. The complete profiling of a pig is convenient to behavior analysis and to judge if it is sick. A pig's wandering causes the lack of its full profile being captured on video. For example, only part of the body or no body at all in the image when intelligently monitoring a single pig in a pigpen will result in an abnormal profile. Not all profiles, or camera angles, of the pig are efficient for behavior analysis in the case that the pig's profile is not fully revealed, such as the pig directly facing the camera. Only scenes with the fully exposed profile of the pig are convenient for observing and analyzing the symptoms of the pig. Therefore, it is essential to automatically segment the video that is monitoring the pigpen. A novel method is proposed for setting the frame attributes based on the level of exposure to a pig's profile in a standing posture. Two types of attributes are presented for each frame in the video recording, which represent the applicable and non-applicable profile of a pig. A pig's profile feature vector is calculated for differentiating the attributes after obtaining a profile of a single pig by image processing. The vector is composed of both the aspect ratio of the pig's external shape and a group of low frequency Fourier coefficients based on the pig's contour. The aspect ratio varies with the angle between the axis of the pig body and the horizontal line on the left side of the ground. The result of the test shows that the aspect ratio index is ideal and plays a significant role only in both the acute angle areas, i.e., ?30?, 30? and ?150?, 150?. Eight low frequency Fourier coefficients are also verified enough to describe the characteristic shape of the pig body in reconstructing the profile image of a single pig by the Fourier inversion method. Means and variances of both the feature vectors of the applicable and non-applicable profile contours are obtained from the sample training set. The category of the unknown frame is identified by the Mahalanobis distance discrimination from the testing video. The results showed that 91.7% of frames in the pig's profile could be properly recognized. Therefore, this method of producing the frame attributes based on a single pig's contour is reliable. This study may be helpful for subsequently analyzing behavior of a single pig in suspected cases.

       

    /

    返回文章
    返回