In order to obtain the prospect targets from the top view image of pig barns, the target extraction method of pigs based on adaptive elliptical block and wavelet edge detection is proposed in this paper. Firstly, two-dimensional OTSU global threshold segmentation and mathematic morphology processing were used to get the initial segmentation results. And then, adaptive elliptical block were taken around each pig respectively in the original image according to the initial segmentation results. Finally, the wavelet edge detection for secondary accurate extraction was used in each elliptical block and the complete contours of each pig were obtained. This method is suitable for a complex environment of the light changes in pig barns. This work provides a good foundation for the further research of pig's individual identification and behavior analysis. On the other hand, it also explores a new way to extract target contours of other similar images in complex environments and scenes.
['Changhua Ma', 'Weixing Zhu', 'Hao Li', 'Xincheng Li']
Pig target extraction based on adaptive elliptic block and wavelet edge detection