Machine Vision and Applications

, Volume 8, Issue 3, pp 187–193 | Cite as

Segmentation and tracking of piglets in images

  • N. J. B. McFarlane
  • C. P. Schofield


An algorithm was developed for the segmentation and tracking of piglets and tested on a 200-image sequence of 10 piglets moving on a straw background. The image-capture rate was 1 image/140 ms. The segmentation method was a combination of image differencing with respect to a median background and a Laplacian operator. The features tracked were blob edges in the segmented image. During tracking, the piglets were modelled as ellipses initialised on the blobs. Each piglet was tracked by searching for blob edges in an elliptical window about the piglet's position, which was predicted from its previous two positions.

Key words

Tracking Segmentation Pigs Animals Computer vision 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. Deshazer JA, Moran P, Onyango CM, Randall JM, Schofield CP (1988) Imaging sysems to improve stockmanship in pig production. Silsoe Research Institute, Div. Note DN1459, Wrest Park, Silsoe, Bedford, UKGoogle Scholar
  2. Geers R, Goedseels V, Parduyns G, Nijns P, Wouters P, Bosschaerts L (1990) Integrated control of air and floor temperature in piglet houses: animal and engineering aspects. Ann Zootech 39:19–25Google Scholar
  3. Kokuer M, Clark AF (1992) Feature and model tracking for modelbased coding. International Conference on Image Processing and its Applications 354:135–138, 153Google Scholar
  4. Mount LE (1968) The climatic physiology of the pig. Edward Arnold, LondonGoogle Scholar
  5. Peng SL, Medioni G (1988) Spatio-temporal analysis of an image with occlusion. Image-understanding Workshop, Vols 1–2, 105, 433–442Google Scholar
  6. Roberts K, Nashman M (1992) Real-time model-based tracking combining spatial and temporal features. J Intell Robotic Syst 5:25–38Google Scholar
  7. Schofield CP (1993) Image analysis for non-intrusive weight and activity monitoring of live pigs. 4th International Symposium on Livestock Environment, University of Warwick, ASAE, 2950 Miles Rd, St Joseph, Michigan, USA pp 503–510Google Scholar
  8. Van der Stuyft E, Schofield CP, Randall JM, Wambacq P, Goedseels V (1991) Development and application of computer vision systems for use in livestock production. Comput Electronics Agriculture 6:243–265Google Scholar
  9. Yang YH, Levine MD (1992) The background primal sketch: an approach for tracking moving objects. Machine Vision Appl 5:17–34Google Scholar

Copyright information

© Springer-Verlag 1995

Authors and Affiliations

  • N. J. B. McFarlane
    • 1
  • C. P. Schofield
    • 1
  1. 1.Silsoe Research InstituteSilsoeUK

Personalised recommendations