Machine Vision and Applications

, Volume 8, Issue 3, pp 187-193

First online:

Segmentation and tracking of piglets in images

  • N. J. B. McFarlaneAffiliated withSilsoe Research Institute
  • , C. P. SchofieldAffiliated withSilsoe Research Institute

Rent the article at a discount

Rent now

* Final gross prices may vary according to local VAT.

Get Access


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