• EI
    • CSA
    • CABI
    • 卓越期刊
    • CA
    • Scopus
    • CSCD
    • 核心期刊

基于点云旋转归一化的猪体体尺测点提取方法

王可, 郭浩, 刘威林, 马钦, 苏伟, 朱德海

王可, 郭浩, 刘威林, 马钦, 苏伟, 朱德海. 基于点云旋转归一化的猪体体尺测点提取方法[J]. 农业工程学报, 2017, 33(z1): 253-259. DOI: 10.11975/j.issn.1002-6819.2017.z1.038
引用本文: 王可, 郭浩, 刘威林, 马钦, 苏伟, 朱德海. 基于点云旋转归一化的猪体体尺测点提取方法[J]. 农业工程学报, 2017, 33(z1): 253-259. DOI: 10.11975/j.issn.1002-6819.2017.z1.038
Wang Ke, Guo Hao, Liu Weilin, Ma Qin, Su Wei, Zhu DeHai. Extraction method of pig body size measurement points based on rotation normalization of point cloud[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2017, 33(z1): 253-259. DOI: 10.11975/j.issn.1002-6819.2017.z1.038
Citation: Wang Ke, Guo Hao, Liu Weilin, Ma Qin, Su Wei, Zhu DeHai. Extraction method of pig body size measurement points based on rotation normalization of point cloud[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2017, 33(z1): 253-259. DOI: 10.11975/j.issn.1002-6819.2017.z1.038

基于点云旋转归一化的猪体体尺测点提取方法

基金项目: 转基因重大专项(2014ZX0801203B);国家自然科学基金(41601491);中央高校基本科研业务费(2016QC016);北京航空航天大学虚拟现实技术与系统国家重点实验室开放课题(BUAA-VR-16KF-16)

Extraction method of pig body size measurement points based on rotation normalization of point cloud

  • 摘要: 家畜体尺测量是现代畜牧业研究的重要课题,而体尺测点的提取是体尺测量过程中的关键。为了解决猪体点云的三维体尺测点的自动提取问题,提出了一种基于旋转归一化的猪体体尺测点提取方法。对于采集的猪体点云数据,首先利用随机采样一致性算法删除地面区域并提取目标猪体,同时存储地面法向量;然后采用基于地面法向量矫正的主成分分析方法对猪体点云进行旋转归一化,将其统一到标准测量坐标系;最后利用体尺测点的几何形态特征和测点间的结构关系提取猪体体尺测点。试验结果表明,基于地面法向量矫正的主成分分析方法可以得到较好的旋转归一化结果,使猪体的体长,体高和体宽方向基本与坐标系的x轴,y轴,z轴相一致,体长、体宽、体高、臀宽和臀高测点提取结果与实际的体尺测点测量结果位置平均误差在16 mm以内,与其他体尺测点检测方法相比,该方法可以对输入猪体的点云方向进行校正,输入的猪体点云体高方向不需要和相机坐标系的任意一个坐标轴平行,降低了原始数据获取难度。该方法可为猪体的自动化体尺测量提供参考。
    Abstract: Abstract: The body size of the livestock is an important indicator for breeding and animal production, however, the traditional measurement of body size of the livestock is a hard manual operation and it is inaccurate, expensive and time-consuming. In the field of computer vision measurement, the location of the pig body size measurement points is an essential work. To solve the automatic extraction of pig body size measurement points based on point clouds, a method of automatic extraction of pig body size measurement points was developed based on rotation normalization approach. In order to acquire the measurement points of the livestock, several processing steps were applied, and the steps were as follows: (1) Random sample consensus algorithm was used to acquire the plane parameter of the ground and the ground calculated by the parameter was then removed. The target pig and the ground normal vector were acquired. (2) Since the livestock acquired was from different coordinate systems, we proposed a rotation normalization method. First, the method of principal component analysis was used to get the coordinate axis of data cloud of the pig body and the initial measuring coordinate system was obtained. Secondly, the direction of the y axis was replaced by the direction of the ground normal vector acquired. The normal direction had 2 possibilities, that was, the normal vector was either pointing straight to the pig or going back away from the pig. The direction of the normal vector was determined by whether there was intersection between the constructed cuboid region and the pig. The cuboid region was constructed from the point on the ground along the normal vector. Finally, by using the geometrical relationship among the coordinate axis, standard measuring coordinate system defined in this paper was acquired. (3) Some of the measurement points of the livestock were usually the extreme points on the livestock body contour. By cutting the cloud points of the pig along the x axis direction with a step length, the slice data of the pig were acquired and the point cloud of contour line was obtained. By using the structural relation between the measurements points and the geometric feature of the measurement points either at the contour points or on the whole pig, the measurements points were calculated. Landrace sow specimens with 100 days old were selected as the experimental samples. To validate the rotation normalization performance of the proposed method, the scene point cloud including the specimen was used to evaluate the effects objectively. The point cloud was acquired by the 3D (three-dimensional) camera Xtion sensor using KinectFusion technology. Xtion is a sensor based on technology of structured light and consists of an infrared emitter, an infrared camera and an RGB (red, green, blue) camera. KinectFusion provides a function of 3D object scanning using a sensor. The results indicated that our approach could produce a reasonable rotation normalization result, and the directions of the length, height and width of the pig were basically consistent to the directions of the x, y and z axis. In order to verify the precision of measurement point's position, the proposed method was applied to locate the neck midpoint, body length measuring point, body width measuring point, body height measuring point and hip height measuring point. Average error of the results between the automatic extraction and artificial measurement of the selected points was less than 16 mm. The method in this paper can provide a reference for the automatic body measurement of the point cloud of the pig. This work is expected to be a useful contribution for animal production and breeding genetics.
  • [1] 王乐乐. 体尺外貌表型测定在种猪生产中的应用研究[D]. 保定:河北农业大学,2015.Wang Lele. Studies on Application of Bodysize Appearance Phenotype Measurement in Boar Production[D]. Baoding: Agricultural University of Hebei Province, 2015. (in Chinese with English abstract)
    [2] 曹果清,景利芳,石建忠,等. 猪体重和体尺性状与繁殖性能间的相关[J]. 山西农业大学学报:自然科学版,2003,23(2):136-138.Cao Guoqing, Jing Lifang, Shi Jianzhong, et al. Study on correlation analysis between body weight and size and reproductive performance in swine[J]. Journal of Shanxi Agricultural University: Science & Technology2003, 23(2): 136-138. (in Chinese with English abstract)
    [3] Cheng Yunyun, Liu Songcai, Su Dan, et al. Distribution and linkage disequilibrium analysis of polymorphisms of GH1 gene in different populations of pigs associated with body size[J]. Journal of Genetics, 2016, 95(1): 79-87.
    [4] Doeschl-Wilson A B, Green D M, Fisher A V, et al. The relationship between body dimensions of living pigs and their carcass composition[J]. Meat Science, 2005, 70(2): 229-240.
    [5] Weber A, Salau J, Haas J H, et al. Estimation of backfat thickness using extracted traits from an automatic 3D optical system in lactating Holstein-Friesian cows[J]. Livestock Science, 2014, 165(1): 129-137.
    [6] 侯建君,施正香,李保明. 不同生长阶段长白猪体型特征的主成分分析[J]. 中国农业大学学报,2006, 11(3):56-60.Hou Jianjun, Shi Zhengxiang, Li Baoming. Principal component analysis of Landrace's physical characteristics[J]. Journal of China Agricultural University, 2006, 11(3): 56-60. (in Chinese with English abstract)
    [7] White R P, Schofield C P, Green D M, et al. The effectiveness of a visual image analysis (VIA) system for monitoring the performance of growing/finishing pigs[J]. Animal Science, 2004, 78(3): 409-418.
    [8] Doeschl-Wilson A B, Whittemore C T, Knap P W, et al. Using visual image analysis to describe pig growth in terms of size and shape[J]. Animal Science, 2004, 79(3): 415-427.
    [9] 李斌. 基于计算视觉的奶牛体型线性测量系统设计[J]. 计算机测量与控制,2012,20(12):3213-3215.Li Bin. Measuring system of sheep body size based on embedded machine vision[J]. Computer Measurement & Control, 2012, 20(12): 3213-3215.(in Chinese with English abstract)
    [10] 朱林,张温,李琦,等. 基于嵌入式机器视觉的羊体体征测量系统[J]. 计算机测量与控制,2014,22(8):2396-2398,2408.Zhu Lin, Zhang Wen, Li Qi, et al. Measuring system of sheep body size based on embedded machine vision[J]. Computer Measurement & Control, 2014, 22(8): 2396-2398, 2408. (in Chinese with English abstract)
    [11] 刘同海,滕光辉,张盛南,等. 基于点云数据的猪体曲面三维重建与应用[J]. 农业机械学报,2014,45(6):291-295.Liu Tonghai, Teng Guanghui, Zhang Shengnan, et al. Reconstruction and application of 3D pig body model based on point cloud data[J]. Transactions of the Chinese Society for Agricultural Machinery, 2014, 45(6): 291-295.(in Chinese with English abstract)
    [12] 郭浩,王鹏,马钦,等. 基于深度图像的奶牛体型评定指标获取技术[J]. 农业机械学报,2013,44(增刊1):273-276.Guo Hao, Wang Peng, Ma Qin, et al. Acquisition of appraisal traits for dairy cow based on depth image[J]. Transactions of the Chinese Society for Agricultural Machinery, 2013, 44(Supp.1): 273-276.(in Chinese with English abstract)
    [13] 郭浩,张胜利,马钦,等. 基于点云采集设备的奶牛体尺指标测量[J]. 农业工程学报,2014,30(5):116-122.Guo Hao, Zhang Shengli, Ma Qin, et al. Cow body measurement based on Xtion[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2014, 30(5): 116-122. (in Chinese with English abstract)
    [14] Kawasue K, Ikeda T, Tokunaga T, et al. Three-dimensional shape measurement system for black cattle using KINECT sensor[J]. Int. J. Circuits, Syst. Signal. Process, 2013, 7: 222-230.
    [15] Salau J, Haas J H, Junge W, et al. Feasibility of automated body trait determination using the SR4K time-of-flight camera in cow barns[J]. SpringerPlus, 2014, 3(1): 225-240.
    [16] Song X, Schuttea J, van der Tol P, et al. Body measurements of dairy calf using a 3-D camera in an automatic feeding system[C]//Proc. AgEng 2014: International Conference of Agricultural Engineering C, 2014.
    [17] Izadi S, Kim D, Hilliges O, et al. KinectFusion: Real-time 3D reconstruction and interaction using a moving depth camera[C]//Acm Symposium on User Interface Software & Technology. DBLP, 2011:559-568.
    [18] Newcombe R A, Izadi S, Hilliges O, et al. KinectFusion: Real-time dense surface mapping and tracking[C]//IEEE International Symposium on Mixed and Augmented Reality. IEEE Computer Society, 2011:127-136.
    [19] 郭浩,马钦,张胜利,等. 基于三维重建的动物体尺获取原型系统[J]. 农业机械学报,2014, 45(5):227-232.Guo Hao, Ma Qin, Zhang Shengli, et al. Prototype system of shape measurements of animal based on 3D Reconstruction[J]. Transactions of the Chinese Society for Agricultural Machinery, 2014, 45(5): 227-232. (in Chinese with English abstract)
    [20] Maurice X, Graebling P, Doignon C. Real-time structured light coding for adaptive patterns [J]. Journal of Real-Time Image Processing, 2013, 8(2): 169-178.
    [21] Carles G, Muyo G, Bosch S, et al. Use of a spatial light modulator as an adaptable phase mask for wavefront coding[J]. Journal of Modern Optics, 2010, 57(10): 893-900.
    [22] Shpunt A, Zalevsky Z. Depth-varying light fields for three dimensional sensing: 805046, USA Patents[P]. 2011-11-1.
    [23] Fischler M A, Bolles R C. Random sample consensus: a paradigm for model fitting with applications to image analysis and automated cartography[J]. Communications of the ACM, 1981, 24(6): 381-395.
    [24] 刘坤,葛俊锋,罗予频,等. 概率引导的随机采样一致性算法[J]. 计算机辅助设计与图形学学报,2009,21(5): 657-662.Liu Kun, Ge Junfeng, Luo Yupin, et al. Probability guided random sample consensus[J]. Journal of Computer: Aided Design &. Computer Graphics, 2009, 21(5): 657-662. (in Chinese with English abstract)
    [25] Vranic D V. 3D model retrival[D]. Leipzig: Univeristy of Leipzig, 2004.
    [26] 万丽莉. 一种结合法线分布特征的三维模型旋转归一化方法[J]. 计算机辅助设计与图形学学报,2008,20(6):683-688.Wan Lili. A 3D Model's rotation normalization approach conforming to normal distributions[J]. Journal of Computer Aided Design & Computer Graphics, 2008, 20(6): 683-688 (in Chinese with English abstract)
    [27] Vrani D V, Saupe D. A Feature Vector Approach for Retrieval of 3D Objects in the Context of MPEG-7[J]. 2009: 37-40.
    [28] Chen D Y, Ming O. A 3D model alignment and retrieval system[J]. International Computer Symposium, 2002, 36(20): 1436-1443.
    [29] 刘同海,滕光辉,付为森,等. 基于机器视觉的猪体体尺测点提取算法与应用[J]. 农业工程学报,2013,29(2):161-168.Liu Tonghai, Teng Guanghui, Fu Weisen, et al. Extraction algorithms and applications of pig body size measurement points based on computer vision[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2013, 29(2): 161-168. (in Chinese with English abstract)
    [30] 李卓,杜晓冬,毛涛涛,等. 基于深度图像的猪体尺检测系统[J]. 农业机械学报,2016,47(3):311-318.Li Zhuo, Du Xiaodong, Mao Taotao, et al. Pig dimension detection system based on depth Image[J]. Transactions of the Chinese Society for Agricultural Machinery, 2016, 47(3): 311-318.(in Chinese with English abstract)
计量
  • 文章访问数:  2798
  • HTML全文浏览量:  8
  • PDF下载量:  837
  • 被引次数: 0
出版历程
  • 收稿日期:  2016-11-13
  • 修回日期:  2016-12-23
  • 发布日期:  2017-02-27

目录

    /

    返回文章
    返回