Skip to main content Accessibility help

The automated analysis of clustering behaviour of piglets from thermal images in response to immune challenge by vaccination

  • N. J. Cook (a1), C. J. Bench (a2), T. Liu (a3), B. Chabot (a3) and A. L. Schaefer (a2)...


An automated method of estimating the spatial distribution of piglets within a pen was used to assess huddling behaviour under normal conditions and during a febrile response to vaccination. The automated method was compared with a manual assessment of clustering activity. Huddling behaviour was partly related to environmental conditions and clock time such that more huddling occurred during the night and at lower ambient air temperatures. There were no positive relationships between maximum pig temperatures and environmental conditions, suggesting that the narrow range of air temperatures in this study was not a significant factor for pig temperature. Spatial distribution affected radiated pig temperature measurements by IR thermography. Higher temperatures were recorded in groups of animals displaying huddling behaviour. Huddling behaviour was affected by febrile responses to vaccination with increased huddling occurring 3 to 8 h post-vaccination. The automated method of assessing spatial distribution from an IR image successfully identified periods of huddling associated with a febrile response, and to changing environmental temperatures. Infrared imaging could be used to quantify temperature and behaviour from the same images.


Corresponding author



Hide All
Canadian Council on Animal Care in Science 2009. CCAC guidelines on: the care and use of farm animals in research, teaching and testing. Canadian Council on Animal Care, Ottawa, ON, Canada.
Cook, NJ, Chabot, B, Liu, T, Bench, C and Schaefer, A 2015. Infrared thermography detects febrile and behavioural responses to vaccination of weaned piglets. Animal 9, 339346.
Costa, A, Ismayilova, G, Borgonovo, F, Leroy, T, Berckmans, D and Guarino, M 2013. The use of image analysis as a new approach to assess behaviour classification in a pig barn. Acta Veterinaria Brno 82, 2530.
Crosier, A, McVey, D and French, J 2015. ‘By failing to prepare you are preparing to fail’: lessons from the 2009 H1N1 ‘swine flu’ pandemic. European Journal of Public Health 25, 135139.
Dawkins, MS 2004. Using behaviour to assess animal welfare. Animal Welfare 13, S3S7.
Ekkel, ED, Spoolder, HAM, Hulsegge, I and Hopster, H 2003. Lying characteristics as determinants for space requirements in pigs. Applied Animal Behaviour Science 80, 1930.
Friendship, R, Poljak, Z and McIntosh, K 2009. Use of infrared thermography for early detection of disease causing sudden death in a swine finishing barn. In Proceeding of the 28th Annual Centralia Swine Research Update, 2009, Ontario, Canada, pp. I27–I28.
Hart, BL 1988. Biological basis of the behavior of sick animals. Neuroscience and Biobehavioral Reviews 12, 123137.
Hayne, SM, Tennessen, T and Anderson, DM 2000. The responses of growing pigs exposed to cold with varying amounts of straw bedding. Canadian Journal of Animal Science 80, 539546.
Johnson, RW and Von Borell, E 1994. Lipopolysaccharide-induced sickness behavior in pigs is inhibited by pretreatment with indomethacin. Journal of Animal Science 72, 309314.
Loughmiller, JA, Spire, MF, Dritz, SS, Fenwick, BW, Hosni, MH and Hogge, SB 2001. Relationship between mean body surface temperature measured by use of infrared thermography and ambient temperature in clinically normal pigs and pigs inoculated with Actinobacillus pleuropneumoniae . American Journal of Veterinary Research 62, 676681.
Nasirahmadi, A, Hensel, O, Edwards, SA and Sturm, B 2017. A new approach for categorizing pig lying behaviour based on a Delaunay triangulation method. Animal 11, 131139.
Ott, S, Moons, CPH, Kashiha, MA, Bahr, C, Tuyttens, FAM, Berckmans, D and Niewold, TA 2014. Automated video analysis of pig activity at pen level highly correlates to human observations of behavioural activities. Livestock Science 160, 132137.
Parker, JR 1997. Advanced methods in grey-level segmentation. In Algorithms for image processing and computer vision (ed. M Spencer, F Grazioli and M Green), pp. 116118. Wiley Computer Publishers, New York, NY, USA.
Spoolder, HAM, Aarnink, AAJ, Vermeer, HM, van Riel, J and Edwards, SA 2012. Effect of increasing temperature on space requirements of group housed finishing pigs. Applied Animal Behaviour Science 138, 229239.
Vasdal, G, Wheeler, EF and Boe, KE 2009. Effect of infrared temperature on thermoregulatory behaviour in suckling piglets. Animal 3, 14491454.
Weary, DM, Huzzey, JM and von Keyserlingk, MAG 2009. Using behavior to predict and identify ill health in animals. Journal of Animal Science 87, 770777.
Yeske, P 2012. Tabulating the cost of PRRS elimination. National Hog Farmer 57, p36.


The automated analysis of clustering behaviour of piglets from thermal images in response to immune challenge by vaccination

  • N. J. Cook (a1), C. J. Bench (a2), T. Liu (a3), B. Chabot (a3) and A. L. Schaefer (a2)...


Altmetric attention score

Full text views

Total number of HTML views: 0
Total number of PDF views: 0 *
Loading metrics...

Abstract views

Total abstract views: 0 *
Loading metrics...

* Views captured on Cambridge Core between <date>. This data will be updated every 24 hours.

Usage data cannot currently be displayed