Kai Zhang, PhD candidate, research interest: point cloud segmentation, Email: b20223080672@cau.edu.cn
Xiaochen Shi, PhD candidate, research interest: computer vision, small sample learning, Email: sxc@cau.edu.cn
Existing methods often struggle to accurately and automatically separate livestock from complex background environments and are further hindered by severe noise interference in point cloud data, which leads to insufficient segmentation accuracy and ultimately affects the precision of livestock body measurements. To address these challenges, this study proposes a livestock body measurement method based on omnidirectional spatial localization segmentation. First, an omnidirectional point cloud segmentation model (Omni-PointMamba) was designed, which adopts an eight-directional scanning strategy in 3D space and an alternating dual-module architecture that integrates Point Mamba Blocks with convolutional modules. By enhancing spatial neighborhood modeling capabilities, the model efficiently fuses region-specific geometric features with comprehensive structural context, thereby achieving precise separation of livestock from background interference. Second, a spatial localization-based measurement method was developed. This method constructs a spatial coordinate system using ground normal vectors to achieve automatic rotation and alignment of the point cloud. It employs a two-step clustering strategy to identify key body parts, including the head and tail, and determines measurement landmarks through geometric point distribution analysis, enabling accurate, non-contact estimation of body size parameters. Experiments conducted on 20 pigs and 103 cattle demonstrate that the proposed model achieves outstanding segmentation performance, with mean Intersection over Union (mIoU) values of 0.9930 for pigs and 0.9685 for cattle. Furthermore, the model yields low mean absolute percentage errors (MAPE) in morphological measurements. For pigs, the MAPE for body width, hip width, and chest girth are 1.34%, 1.99%, and 1.37%, respectively. For cattle, the MAPE for body slant length, chest width, hip height, and heart girth are 2.24%, 3.28%, 2.18%, and 4.22%, respectively. These results indicate that the proposed method provides highly accurate segmentation and morphological measurement capabilities for both pigs and cattle.
| 科 Family | 属数 Number of genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) | 属 Genus | 种数 Number of species | 占总种数比例 Percentage of total species (%) |
|---|---|---|---|---|---|---|
| 鹅膏菌科Amanitaceae | 2 | 11 | 5.26 | 鹅膏菌属 Amanita | 10 | 4.78 |
| 小菇科 Mycenaceae | 2 | 12 | 5.74 | 丝盖伞属 Inocybe | 5 | 2.39 |
| 多孔菌科 Polyporaceae | 8 | 14 | 6.70 | 蜡蘑属 Laccaria | 5 | 2.39 |
| 红菇科 Russulaceae | 3 | 23 | 11.00 | 小皮伞属 Marasmius | 6 | 2.87 |
| 小菇属 Mycena | 11 | 5.26 | ||||
| 光柄菇属 Pluteus | 5 | 2.39 | ||||
| 红菇属 Russula | 17 | 8.13 | ||||
| 栓菌属 Trametes | 5 | 2.39 |