The accurate identification of various postures in the daily life of piglets that are directly reflected by their skeleton morphology is necessary to study the behavioral characteristics of pigs.Accordingly,this study...The accurate identification of various postures in the daily life of piglets that are directly reflected by their skeleton morphology is necessary to study the behavioral characteristics of pigs.Accordingly,this study proposed a novel approach for the skeleton extraction and pose estimation of piglets.First,an improved Zhang-Suen(ZS)thinning algorithm based on morphology was used to establish the chain code mechanism of the burr and the redundant information deletion templates to achieve a single-pixel width extraction of pig skeletons.Then,body nodes were extracted on the basis of the improved DeepLabCut(DLC)algorithm,and a part affinity field(PAF)was added to realize the connection of body nodes,and consequently,construct a database of pig behavior and postures.Finally,a support vector machine was used for pose matching to recognize the main behavior of piglets.In this study,14000 images of piglets with different types of behavior were used in posture recognition experiments.Results showed that the improved algorithm based on ZS-DLC-PAF achieved the best thinning rate compared with those of distance transformation,medial axis transformation,morphology refinement,and the traditional ZS algorithm.The node tracking accuracy reached 85.08%,and the pressure test could accurately detect up to 35 nodes of 5 pigs.The average accuracy of posture matching was 89.60%.This study not only realized the single-pixel extraction of piglets’skeletons but also the connection among the different behavior body nodes of individual sows and multiple piglets.Furthermore,this study established a database of pig posture behavior,which provides a reference for studying animal behavior identification and classification and anomaly detection.展开更多
Individual fish segmentation is a prerequisite for feature extraction and object identification in any machine vision system.In this paper,a method for segmentation of overlapping fish images in aquaculture was propos...Individual fish segmentation is a prerequisite for feature extraction and object identification in any machine vision system.In this paper,a method for segmentation of overlapping fish images in aquaculture was proposed.First,the shape factor was used to determine whether an overlap exists in the picture.Then,the corner points were extracted using the curvature scale space algorithm,and the skeleton obtained by the improved Zhang-Suen thinning algorithm.Finally,intersecting points were obtained,and the overlapped region was segmented.The results show that the average error rate and average segmentation efficiency of this method was 10%and 90%,respectively.Compared with the traditional watershed method,the separation point is accurate,and the segmentation accuracy is high.Thus,the proposed method achieves better performance in segmentation accuracy and effectiveness.This method can be applied to multi-target segmentation and fish behavior analysis systems,and it can effectively improve recognition precision.展开更多
基金This work was financially supported by the National Major Science and Technology Project(Innovation 2030)of China(Grant No.2021ZD0113701).
文摘The accurate identification of various postures in the daily life of piglets that are directly reflected by their skeleton morphology is necessary to study the behavioral characteristics of pigs.Accordingly,this study proposed a novel approach for the skeleton extraction and pose estimation of piglets.First,an improved Zhang-Suen(ZS)thinning algorithm based on morphology was used to establish the chain code mechanism of the burr and the redundant information deletion templates to achieve a single-pixel width extraction of pig skeletons.Then,body nodes were extracted on the basis of the improved DeepLabCut(DLC)algorithm,and a part affinity field(PAF)was added to realize the connection of body nodes,and consequently,construct a database of pig behavior and postures.Finally,a support vector machine was used for pose matching to recognize the main behavior of piglets.In this study,14000 images of piglets with different types of behavior were used in posture recognition experiments.Results showed that the improved algorithm based on ZS-DLC-PAF achieved the best thinning rate compared with those of distance transformation,medial axis transformation,morphology refinement,and the traditional ZS algorithm.The node tracking accuracy reached 85.08%,and the pressure test could accurately detect up to 35 nodes of 5 pigs.The average accuracy of posture matching was 89.60%.This study not only realized the single-pixel extraction of piglets’skeletons but also the connection among the different behavior body nodes of individual sows and multiple piglets.Furthermore,this study established a database of pig posture behavior,which provides a reference for studying animal behavior identification and classification and anomaly detection.
基金The research was supported by the National Key Technology R&D Program of China(2019YFD090086)the Beijing Excellent Talents Development Project(2017000057592G125)the Beijing Natural Science Foundation(4184089).
文摘Individual fish segmentation is a prerequisite for feature extraction and object identification in any machine vision system.In this paper,a method for segmentation of overlapping fish images in aquaculture was proposed.First,the shape factor was used to determine whether an overlap exists in the picture.Then,the corner points were extracted using the curvature scale space algorithm,and the skeleton obtained by the improved Zhang-Suen thinning algorithm.Finally,intersecting points were obtained,and the overlapped region was segmented.The results show that the average error rate and average segmentation efficiency of this method was 10%and 90%,respectively.Compared with the traditional watershed method,the separation point is accurate,and the segmentation accuracy is high.Thus,the proposed method achieves better performance in segmentation accuracy and effectiveness.This method can be applied to multi-target segmentation and fish behavior analysis systems,and it can effectively improve recognition precision.