Hostname: page-component-586b7cd67f-2brh9 Total loading time: 0 Render date: 2024-11-23T14:29:59.575Z Has data issue: false hasContentIssue false

A new approach for categorizing pig lying behaviour based on a Delaunay triangulation method

Published online by Cambridge University Press:  29 June 2016

A. Nasirahmadi*
Affiliation:
School of Agriculture, Food and Rural Development, Newcastle University, Newcastle upon Tyne NE1 7RU, UK Department of Agricultural and Biosystems Engineering, University of Kassel, 34213 Witzenhausen, Germany
O. Hensel
Affiliation:
Department of Agricultural and Biosystems Engineering, University of Kassel, 34213 Witzenhausen, Germany
S. A. Edwards
Affiliation:
School of Agriculture, Food and Rural Development, Newcastle University, Newcastle upon Tyne NE1 7RU, UK
B. Sturm
Affiliation:
School of Agriculture, Food and Rural Development, Newcastle University, Newcastle upon Tyne NE1 7RU, UK Department of Agricultural and Biosystems Engineering, University of Kassel, 34213 Witzenhausen, Germany
*
E-mail: [email protected]
Get access

Abstract

Machine vision-based monitoring of pig lying behaviour is a fast and non-intrusive approach that could be used to improve animal health and welfare. Four pens with 22 pigs in each were selected at a commercial pig farm and monitored for 15 days using top view cameras. Three thermal categories were selected relative to room setpoint temperature. An image processing technique based on Delaunay triangulation (DT) was utilized. Different lying patterns (close, normal and far) were defined regarding the perimeter of each DT triangle and the percentages of each lying pattern were obtained in each thermal category. A method using a multilayer perceptron (MLP) neural network, to automatically classify group lying behaviour of pigs into three thermal categories, was developed and tested for its feasibility. The DT features (mean value of perimeters, maximum and minimum length of sides of triangles) were calculated as inputs for the MLP classifier. The network was trained, validated and tested and the results revealed that MLP could classify lying features into the three thermal categories with high overall accuracy (95.6%). The technique indicates that a combination of image processing, MLP classification and mathematical modelling can be used as a precise method for quantifying pig lying behaviour in welfare investigations.

Type
Research Article
Copyright
© The Animal Consortium 2016 

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

References

Barnes, M, Duckett, T, Cielniak, G, Stroud, G and Harper, G 2010. Visual detection of blemishes in potatoes using minimalist boosted classifiers. Journal of Food Engineering 98, 339346.Google Scholar
Chandraratne, MR, Kulasiri, D and Samarasinghe, S 2007. Classification of lamb carcass using machine vision: comparison of statistical and neural network analyses. Journal of Food Engineering 82, 2634.Google Scholar
Costa, A, Ismayilova, G, Borgonovo, F, Viazzi, S, Berckmans, D and Guarino, M 2014. Image processing technique to measure pig activity in response to climatic variation in a pig barn. Animal Production Science 54, 10751083.CrossRefGoogle Scholar
Fawcett, T 2006. An introduction to ROC analysis. Pattern Recognition Letters 27, 861874.Google Scholar
Grzesiak, W, Zaborski, D, Sablik, P, Żukiewicz, A, Dybus, A and Szatkowska, I 2010. Detection of cows with insemination problems using selected classification models. Computers and Electronics in Agriculture 74, 265273.Google Scholar
Hahn, GL, Nienaber, JA and DeShazer, JA 1987. Air temperature influences on swine performance and behavior. Applied Engineering in Agriculture 3, 295302.Google Scholar
Hansen, PHF, Rödner, S and Bergström, L 2001. Structural characterization of dense colloidal films using a modified pair distribution function and Delaunay triangulation. Langmuir 17, 48674875.Google Scholar
Hillmann, E, Mayer, C and Schrader, L 2004. Lying behaviour and adrenocortical response as indicators of the thermal tolerance of pigs of different weights. Animal Welfare 13, 329335.CrossRefGoogle Scholar
Hong, YT 2012. Dynamic nonlinear state-space model with a neural network via improved sequential learning algorithm for an online real-time hydrological modeling. Journal of Hydrology 468–469, 1121.Google Scholar
Jin, L, Xu, QS, Smeyers-Verbeke, J and Massart, DL 2006. Updating multivariate calibration with the Delaunay triangulation method: the creation of a new local model. Chemometrics and Intelligent Laboratory Systems 80, 8798.Google Scholar
Khoramshahi, E, Hietaoja, J, Valros, A, Yun, J and Pastell, M 2014. Real-time recognition of sows in video: a supervised approach. Information Processing in Agriculture 1, 7381.Google Scholar
Kominakis, AP, Abas, Z, Maltaris, I and Rogdakis, E 2002. A preliminary study of the application of artificial neural networks to prediction of milk yield in dairy sheep. Computers and Electronics in Agriculture 35, 3548.Google Scholar
Mashaly, AF and Alazba, AA 2016. MLP and MLR models for instantaneous thermal efficiency prediction of solar still under hyper-arid environment. Computers and Electronics in Agriculture 122, 146155.Google Scholar
Mendes, AS, Moura, DJ, Nääs, IA and Bender, JR 2013. Natural ventilation and surface temperature distribution of piglet crate heated floors. Arquivo Brasileiro de Medicina Veterinária e Zootecnia 65, 477484.Google Scholar
Mount, LE 1968. The climate philosophy of the pig. Edward Arnold Ltd, London, UK.Google Scholar
Nasirahmadi, A, Abbaspour-Fard, M, Emadi, B and Khazaei, NB 2014. Erratum to: modelling and analysis of compressive strength properties of parboiled paddy and milled rice. International Agrophysics 28, 549.Google Scholar
Nasirahmadi, A, Hensel, O, Edwards, SA and Sturm, B 2016. Automatic detection of mounting behaviours among pigs using image analysis. Computers and Electronics in Agriculture 124, 295302.CrossRefGoogle Scholar
Nasirahmadi, A, Richter, U, Hensel, O, Edwards, S and Sturm, B 2015. Using machine vision for investigation of changes in pig group lying patterns. Computers and Electronics in Agriculture 119, 184190.Google Scholar
Nilsson, M, Herlin, AH, Ardö, H, Guzhva, O, Åström, K and Bergsten, C 2015. Development of automatic surveillance of animal behaviour and welfare using image analysis and machine learned segmentation technique. Animal 9, 18591865.Google Scholar
Oczak, M, Viazzi, S, Ismayilova, G, Sonoda, LT, Roulston, N, Fels, M, Bahr, C, Hartung, J, Guarino, M, Berckmans, D and Vranken, E 2014. Classification of aggressive behaviour in pigs by activity index and multilayer feed forward neural network. Biosystems Engineering 119, 8997.Google Scholar
Pearce, J and Ferrier, S 2000. Evaluating the predictive performance of habitat models developed using logistic regression. Ecological Modelling 133, 225245.Google Scholar
Pourreza, A, Pourreza, H, Abbaspour-Fard, M and Sadrnia, H 2012. Identification of nine Iranian wheat seed varieties by textural analysis with image processing. Computers and Electronics in Agriculture 83, 102108.CrossRefGoogle Scholar
Renaudeau, D, Kerdoncuff, M, Anaïs, C and Gourdine, JL 2008. Effect of temperature level on thermal acclimation in Large White growing pigs. Animal 2, 16191626.Google Scholar
Riskowski, GL 1986. The effect of air velocity and temperature on growth performance and stress indicators of weanling pigs. PhD dissertation, Iowa State University, Ames, IA, USA.Google Scholar
Shao, B and Xin, H 2008. A real-time computer vision assessment and control of thermal comfort for group-housed pigs. Computers and Electronics in Agriculture 62, 1521.Google Scholar
Shao, J, Xin, H and Harmon, JD 1998. Comparison of image feature extraction for classification of swine thermal comfort behaviour. Computers and Electronics in Agriculture 19, 223232.Google Scholar
Spoolder, HAM, Aarnink, AAJ, Vermeer, HM, Riel, JV and Edwards, SA 2012. Effect of increasing temperature on space requirements of group housed finishing pigs. Applied Animal Behaviour Science 138, 229239.Google Scholar
Tahmoorespur, M and Ahmadi, H 2012. A neural network model to describe weight gain of sheep from genes polymorphism, birth weight and birth type. Livestock Science 148, 221226.Google Scholar
Viazzi, S, Ismayilova, G, Oczak, M, Sonoda, LT, Fels, M, Guarino, M, Vranken, E, Hartung, J, Bahr, C and Berckmans, D 2014. Image feature extraction for classification of aggressive interactions among pigs. Computers and Electronics in Agriculture 104, 5762.Google Scholar
Weller, MMDCA, Alebrante, L, Campos, PHRF, Saraiva, A, Silva, BAN, Donzele, JL, Oliveira, RFM, Silva, FF, Gasparino, E, Lopes, PS and Guimarães, SEF 2013. Effect of heat stress and feeding phosphorus levels on pig electron transport chain gene expression. Animal 7, 19851993.Google Scholar
Wongsriworaphon, A, Arnonkijpanich, B and Pathumnakul, S 2015. An approach based on digital image analysis to estimate the live weights of pigs in farm environments. Computers and Electronics in Agriculture 115, 2633.CrossRefGoogle Scholar