Skip to main content

An Algorithm of Pig Segmentation from Top-View Infrared Video Sequences

  • Conference paper
  • First Online:

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1196))

Abstract

This paper considers the problem of pig automatic segmentation from infrared top view images of a pen. Particularly, an algorithm for accurate delineation of pig’s contour is presented. The method consists of two main steps. In the first step, a rough contour is determined using standard image processing methods. Next, the initial contour is gradually deformed so that it reflects the actual contour of the pig as much as possible. This effect is obtained by attracting initial contour points to the nearest local gradient peaks. In the last step, the contour is refined and smoothed by removing loops. This step incorporates analysis of the angles between contour segments passing through the consecutive contour points. Results of the proposed approach for sample infrared images of pigs in a pen are presented and discussed. They reveal that the method performs reasonably well with the average DICE score exceeding the level of 0.97 and the average Jaccard index above 0.95.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Ju, M., Choi, Y., Seo, J., Sa, J., Lee, S., Chung, Y., Park, D.: A kinect-based segmentation of touching-pigs for real-time monitoring. Sensors (Basel) 18(6), 891–921 (2018). https://doi.org/10.3390/s18061746

    Article  Google Scholar 

  2. Kongsro, J.: Estimation of pig weight using a Microsoft Kinect prototype imaging system. Comput. Electron. Agric. 109, 32–35 (2014). https://doi.org/10.1016/j.compag.2014.08.008

    Article  Google Scholar 

  3. Li, C., Lee, C.: Minimum cross entropy thresholding. Pattern Recogn. 30, 617–625 (1993). https://doi.org/10.1016/0031-3203(93)90115-D

    Article  Google Scholar 

  4. Nilsson, M., Ardo, H., Astrom, K., Herlin, A., Bergsten, C., Guzhva, O.: Learning based image segmentation of pigs in a pen. In: 22nd International Conference on Pattern Recognition (ICPR) (2014)

    Google Scholar 

  5. Pezzuolo, A., Milani, V., Zhu, D., Hao, G., Guercini, S., Marinello, F.: On-barn pig weight estimation based on body measurements by structure-from-motion (SfM). Sensors 18, (2018). https://doi.org/10.3390/s18113603

  6. Satoshi, S., Keiichi, A.B.: Topological structural analysis of digitized binary images by border following. Comput. Vis. Graph. Image Process. 30, 32–46 (1985). https://doi.org/10.1016/0734-189X(85)90016-7

    Article  MATH  Google Scholar 

  7. Zhang, L., Gray, H., Ye, X., Collins, L., Allinson, N.: Automatic individual pig detection and tracking in surveillance videos (2018)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Paweł Kielanowski .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kielanowski, P., Fabijańska, A. (2020). An Algorithm of Pig Segmentation from Top-View Infrared Video Sequences. In: Bartoszewicz, A., Kabziński, J., Kacprzyk, J. (eds) Advanced, Contemporary Control. Advances in Intelligent Systems and Computing, vol 1196. Springer, Cham. https://doi.org/10.1007/978-3-030-50936-1_66

Download citation

Publish with us

Policies and ethics