Foreground detection of group-housed pigs based on the combination of Mixture of Gaussians using prediction mechanism and threshold segmentation

In this paper, a foreground detection method to obtain the foreground objects of pigs in overhead views of group-housed environments is proposed. The method is based on the combination of Mixture of Gaussians (MoG) using prediction mechanism (PM) and threshold segmentation algorithm. First, the “valid region” is manually set according to a priori knowledge. Second, the foreground objects of pigs are detected using the PM-MoG algorithm. The algorithm uses the detected binary image of the previous frame to predict the current frame in the valid region for pixels that fulfil background updating conditions. Different update strategies are used to update the background for different circumstances. Third, the maximum entropy threshold segmentation algorithm is used according to the colour information of foreground objects. Finally, the results of the two previous steps of foreground detection are fused. The experimental results show that the method is effective and can extract relatively complete foreground objects of pigs in complex scenes. These complex scenes include light changes, the influence of ground urine stains, water stains, manure, and other sundries, pigs' slow movement patterns, and varying colours of foreground objects. The average foreground detection rate is approximately 92%. The experimental results set the foundation for further exploration of individual identification of group-housed pigs, their behaviour analysis, and other objectives.

[1]  Thierry Bouwmans,et al.  Recent Advanced Statistical Background Modeling for Foreground Detection - A Systematic Survey , 2011 .

[2]  Torben Gregersen,et al.  Original papers: Development of a real-time computer vision system for tracking loose-housed pigs , 2011 .

[3]  Hong Zhang,et al.  Accurate Segmentation of Moving Objects in Image Sequence Based on Spatio-Temporal Information , 2006, 2006 International Conference on Mechatronics and Automation.

[4]  P. KaewTrakulPong,et al.  An Improved Adaptive Background Mixture Model for Real-time Tracking with Shadow Detection , 2002 .

[5]  Claudia Bahr,et al.  Automatic monitoring of pig locomotion using image analysis , 2014 .

[6]  V. Gómez,et al.  An automatic colour-based computer vision algorithm for tracking the position of piglets , 2009 .

[7]  W. Eric L. Grimson,et al.  Learning Patterns of Activity Using Real-Time Tracking , 2000, IEEE Trans. Pattern Anal. Mach. Intell..

[8]  Daniel Berckmans,et al.  The automatic monitoring of pigs water use by cameras , 2013 .

[9]  Linda J. Keeling,et al.  Definition of criteria for overall assessment of animal welfare , 2007, Animal Welfare.

[10]  J Hu,et al.  Image-processing algorithms for behavior analysis of group-housed pigs , 2000, Behavior research methods, instruments, & computers : a journal of the Psychonomic Society, Inc.

[11]  Z. Zivkovic Improved adaptive Gaussian mixture model for background subtraction , 2004, ICPR 2004.

[12]  Y. Wang,et al.  Walk-through weighing of pigs using machine vision and an artificial neural network , 2008 .

[13]  Marc Van Droogenbroeck,et al.  ViBE: A powerful random technique to estimate the background in video sequences , 2009, 2009 IEEE International Conference on Acoustics, Speech and Signal Processing.

[14]  W. Eric L. Grimson,et al.  Adaptive background mixture models for real-time tracking , 1999, Proceedings. 1999 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (Cat. No PR00149).

[15]  D. Venkat Reddy,et al.  A Comparative Analysis of Histogram Equalization based Techniques for Contrast Enhancement and Brightness Preserving , 2013 .

[16]  Sushil Kumar,et al.  2D Maximum Entropy Method for Image Thresholding Converge with Differential Evolution , 2012 .

[17]  Mohan M. Trivedi,et al.  Detecting Moving Shadows: Algorithms and Evaluation , 2003, IEEE Trans. Pattern Anal. Mach. Intell..

[18]  Lucia Maddalena,et al.  A Self-Organizing Approach to Background Subtraction for Visual Surveillance Applications , 2008, IEEE Transactions on Image Processing.

[19]  Larry S. Davis,et al.  W4: Real-Time Surveillance of People and Their Activities , 2000, IEEE Trans. Pattern Anal. Mach. Intell..

[20]  Dar-Shyang Lee,et al.  Effective Gaussian mixture learning for video background subtraction , 2005, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[21]  Michael Vinther,et al.  Validation of a digital video tracking system for recording pig locomotor behaviour , 2005, Journal of Neuroscience Methods.

[22]  Thierry Bouwmans,et al.  Background Modeling using Mixture of Gaussians for Foreground Detection - A Survey , 2008 .

[23]  Hongwei Xin,et al.  A real-time computer vision assessment and control of thermal comfort for group-housed pigs , 2008 .

[24]  Lene Juul Pedersen,et al.  Foreground detection using loopy belief propagation , 2013 .

[25]  Alex Pentland,et al.  Pfinder: Real-Time Tracking of the Human Body , 1997, IEEE Trans. Pattern Anal. Mach. Intell..

[26]  Nigel J. B. McFarlane,et al.  Segmentation and tracking of piglets in images , 1995, Machine Vision and Applications.