CN103714555B - A kind of four-dimensional motion point cloud segmentation and method for reconstructing based on movement locus - Google Patents
A kind of four-dimensional motion point cloud segmentation and method for reconstructing based on movement locus Download PDFInfo
- Publication number
- CN103714555B CN103714555B CN201310684707.4A CN201310684707A CN103714555B CN 103714555 B CN103714555 B CN 103714555B CN 201310684707 A CN201310684707 A CN 201310684707A CN 103714555 B CN103714555 B CN 103714555B
- Authority
- CN
- China
- Prior art keywords
- data
- motion
- frame
- skeleton
- cluster analysis
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000011218 segmentation Effects 0.000 title claims abstract description 13
- 238000007621 cluster analysis Methods 0.000 claims abstract description 25
- 238000000605 extraction Methods 0.000 claims abstract description 12
- 238000013075 data extraction Methods 0.000 claims abstract description 4
- 230000003595 spectral effect Effects 0.000 claims description 3
- 238000004422 calculation algorithm Methods 0.000 claims description 2
- 238000010606 normalization Methods 0.000 claims 2
- 238000013481 data capture Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Length Measuring Devices By Optical Means (AREA)
- Length Measuring Devices With Unspecified Measuring Means (AREA)
Abstract
本发明涉及计算机图形领域,提供了一种基于运动轨迹的四维运动点云分割与重建方法。实现了运动轨迹的骨架提取,包括:获取运动数据,进行相邻数据配准,运动轨迹数据提取,运动轨迹数据聚类分析,聚类分析后的运动数据进行一致性骨架提取。本发明不需要事先定义模版,也不需要每一帧的数据首先进行骨架提取,对点云质量要求较低。
The invention relates to the field of computer graphics, and provides a four-dimensional motion point cloud segmentation and reconstruction method based on motion trajectories. Realized the skeleton extraction of motion trajectory, including: acquiring motion data, performing adjacent data registration, motion trajectory data extraction, cluster analysis of motion trajectory data, and consistent skeleton extraction of motion data after cluster analysis. The present invention does not need to define a template in advance, and does not need to first extract the skeleton of the data of each frame, and has lower requirements on the quality of the point cloud.
Description
技术领域technical field
本发明涉及计算机图形领域,特别是涉及一种基于运动轨迹的四维运动点云分割与重建方法。The invention relates to the field of computer graphics, in particular to a four-dimensional motion point cloud segmentation and reconstruction method based on motion trajectories.
背景技术Background technique
现有的运动捕捉与分割需要模版或者对点云质量要求较高,或者从单帧点云中提取出骨架,进行多帧骨架的一致性优化和处理。Existing motion capture and segmentation require templates or require high quality point clouds, or extract skeletons from single-frame point clouds for consistent optimization and processing of multi-frame skeletons.
现有技术对物体的分割大多数是基于点云几何特征的,缺乏时间和空间的连续性和一致性;已有的追求时空一致性的点云骨架重建方法,对输入点云的质量要求较高,因为他们需要从输入的时序点云中提取出粗糙的骨架,然后进行时间和空间的一致性优化。Most of the segmentation of objects in the existing technology is based on the geometric features of the point cloud, which lacks the continuity and consistency of time and space; the existing point cloud skeleton reconstruction method that pursues the consistency of time and space has relatively high requirements for the quality of the input point cloud. High, because they need to extract a rough skeleton from the input time-series point cloud, and then optimize the consistency of time and space.
本发明不需要预先提取骨架,骨架的一致性在提取的过程中已经考虑到了。The present invention does not need to extract the skeleton in advance, and the consistency of the skeleton has been considered in the process of extraction.
发明内容Contents of the invention
本发明采用一种基于运动轨迹的四维运动点云分割与重建方法,实现了运动轨迹的骨架提取,本发明不需要事先定义模版,也不需要每一帧的数据首先进行骨架提取,对点云质量要求较低。本发明采用如下方案:The present invention adopts a four-dimensional motion point cloud segmentation and reconstruction method based on the motion trajectory, and realizes the skeleton extraction of the motion trajectory. The quality requirement is low. The present invention adopts following scheme:
一种基于运动轨迹的四维运动点云分割与重建方法,包括:A four-dimensional motion point cloud segmentation and reconstruction method based on motion trajectory, including:
S1、获取运动数据;S1. Obtain motion data;
S2、对所述运动数据进行相邻帧数据配准;S2. Perform adjacent frame data registration on the motion data;
S3、对通过步骤S2配准后的数据进行运动轨迹数据提取;S3. Extracting motion track data from the data registered in step S2;
S4、对步骤S3所述的运动轨迹数据进行聚类分析;S4. Perform cluster analysis on the motion track data described in step S3;
S5、对步骤S4所述聚类分析后得到的数据进行一致性骨架提取。S5. Extracting a consistent skeleton from the data obtained after the cluster analysis described in step S4.
优选地,所述获取运动数据,采用基于激光扫描仪的运动数据捕获方法,Preferably, the acquisition of motion data adopts a laser scanner-based motion data capture method,
优选地,激光扫描仪以一定的帧率连续的对运动物体进行点云数据扫描和获取;获取后的数据以每帧一个文件的形式存储于电脑中。Preferably, the laser scanner continuously scans and acquires the point cloud data of the moving object at a certain frame rate; the acquired data is stored in the computer in the form of one file per frame.
优选地,对所述运动数据进行相邻帧数据配准的方法为采用非刚性匹配的方法实现,所述非刚性匹配方法为每一帧中的每一个点在下一帧中寻找一个对应点。Preferably, the method for registering the data of adjacent frames of the motion data is implemented by using a non-rigid matching method, and the non-rigid matching method finds a corresponding point in the next frame for each point in each frame.
优选地,对通过步骤S2配准后的数据进行运动轨迹数据提取的方法为,采用深度优先的方法将相邻的方向类似的相邻两帧之间运动轨迹相连生长,从而得到多帧之间点与点之间的运动轨迹。Preferably, the method of extracting the motion trajectory data of the data registered in step S2 is to use the depth-first method to connect and grow the motion trajectory between adjacent two adjacent frames with similar directions, so as to obtain The trajectory of movement between points.
优选地,对步骤S3所述的运动轨迹数据进行聚类分析的方法为,基于运动轨迹的距离公式,采用谱聚类或者kmean聚类法,根据运动轨迹数据的相似性将运动物体分割为不同的运动部分;Preferably, the method for performing cluster analysis on the motion trajectory data described in step S3 is, based on the distance formula of the motion trajectory, using spectral clustering or kmean clustering method, and dividing the moving object into different groups according to the similarity of the motion trajectory data. the movement part;
优选地,其特征在于,对步骤S4所述聚类分析后得到的数据进行一致性骨架提取还包括对分割完成的部分根据邻接关系计算出一致性的骨架的步骤。Preferably, it is characterized in that, extracting the consistent skeleton of the data obtained after the cluster analysis in step S4 further includes the step of calculating a consistent skeleton for the segmented part according to the adjacency relationship.
优选地,根据邻接关系计算出一致性的骨架的方法为,对骨架的节点,从相邻节点以及相邻的节点到下一帧的对应点中找到对应关系,从而将骨架的关键节点转换到下一帧,迭代进行,可以转换到N帧数据中。Preferably, the method of calculating the consistent skeleton according to the adjacency relationship is to find the corresponding relationship from the adjacent nodes and the adjacent nodes to the corresponding points of the next frame for the nodes of the skeleton, so as to convert the key nodes of the skeleton to The next frame, iteratively, can be converted into N frame data.
本发明公开的一种基于运动轨迹的四维运动点云分割与重建方法,通过获取运动数据,进行相邻数据配准,运动轨迹数据提取,运动轨迹数据聚类分析,聚类分析后的运动数据进行一致性骨架提取,实现了运动轨迹的骨架提取,本发明不需要事先定义模版,也不需要每一帧的数据首先进行骨架提取,对点云质量要求较低。A four-dimensional motion point cloud segmentation and reconstruction method based on motion trajectory disclosed by the present invention obtains motion data, performs adjacent data registration, motion trajectory data extraction, motion trajectory data cluster analysis, and motion data after cluster analysis Consistent skeleton extraction is carried out to realize the skeleton extraction of the motion track. The present invention does not need to define a template in advance, and does not need to first perform skeleton extraction on the data of each frame, and has lower requirements on point cloud quality.
附图说明Description of drawings
图1为本发明实施例1一种基于运动轨迹的四维运动点云分割与重建方法流程图;1 is a flowchart of a four-dimensional motion point cloud segmentation and reconstruction method based on motion trajectory in Embodiment 1 of the present invention;
图2为本发明实施例1四帧点云作为示例;Fig. 2 is the four-frame point cloud of Embodiment 1 of the present invention as an example;
图3为本发明实施例1相邻帧数据配准后的示例;FIG. 3 is an example after adjacent frame data registration in Embodiment 1 of the present invention;
图4为本发明实施例1点与对准后的点的连线关系;Fig. 4 is the connection relationship between point 1 and the point after alignment in the embodiment of the present invention;
图5为本发明实施例1多帧之间点与点之间的运动轨迹;Fig. 5 is the motion locus between points among multiple frames in Embodiment 1 of the present invention;
图6为本发明实施例1不同轨迹的距离定义直观展示图;Fig. 6 is a visual display diagram of the distance definitions of different trajectories in Embodiment 1 of the present invention;
图7为本发明实施例1聚类分析前的若干运动轨迹;Fig. 7 is some trajectories before the cluster analysis of Embodiment 1 of the present invention;
图8为本发明实施例1聚类分析后的运动轨迹。Fig. 8 is the motion trajectory after cluster analysis of Embodiment 1 of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明实施例提供了一种基于运动轨迹的四维运动点云分割与重建方法,包括:An embodiment of the present invention provides a four-dimensional motion point cloud segmentation and reconstruction method based on motion trajectory, including:
S1、获取运动数据;S1. Obtain motion data;
S2、对所述运动数据进行相邻帧数据配准;S2. Perform adjacent frame data registration on the motion data;
S3、对通过步骤S2配准后的数据进行运动轨迹数据提取;S3. Extracting motion track data from the data registered in step S2;
S4、对步骤S3所述的运动轨迹数据进行聚类分析。S4. Perform cluster analysis on the motion trajectory data described in step S3.
S5、对步骤S4所述聚类分析后得到的数据进行一致性骨架提取。S5. Extracting a consistent skeleton from the data obtained after the cluster analysis described in step S4.
本发明实施例通过获取运动数据,进行相邻数据配准,运动轨迹数据提取,运动轨迹数据聚类分析,聚类分析后的运动数据进行一致性骨架提取,实现了运动轨迹的骨架提取,本发明不需要事先定义模版,也不需要每一帧的数据首先进行骨架提取,对点云质量要求较低。下面对本发明进行详细阐述。The embodiment of the present invention realizes the skeleton extraction of the motion trajectory by acquiring the motion data, performing adjacent data registration, motion trajectory data extraction, and cluster analysis of the motion trajectory data, and performing consistent skeleton extraction on the motion data after the cluster analysis. The invention does not require a template to be defined in advance, nor does it need to extract the skeleton of each frame of data first, and has lower requirements on the quality of the point cloud. The present invention is described in detail below.
实施例1:Example 1:
请参阅图1所示,为本发明一种基于运动轨迹的四维运动点云分割与重建方法流程图。该方法包括下述步骤:Please refer to FIG. 1 , which is a flowchart of a four-dimensional motion point cloud segmentation and reconstruction method based on motion trajectory in the present invention. The method comprises the steps of:
S1、获取运动数据;S1. Obtain motion data;
本实施例提供一个四帧点云作为示例,如图2,采用基于激光扫描仪的运动数据捕获方法,激光扫描仪以一定的帧率连续的对运动物体进行点云数据扫描和获取;获取后的数据以每帧一个文件的形式存储于电脑中。This embodiment provides a four-frame point cloud as an example, as shown in Figure 2, using a motion data capture method based on a laser scanner, the laser scanner continuously scans and acquires point cloud data of moving objects at a certain frame rate; after acquisition The data is stored in the computer as one file per frame.
S2、对所述运动数据进行相邻帧数据配准;S2. Perform adjacent frame data registration on the motion data;
对运动数据进行相邻帧数据配准,采用非刚性匹配的方法实现,匹配方法为每一帧中的每一个点在下一帧中寻找一个对应点,如图3,每帧中右侧点为配准后的点,点与对准后的点的连线关系如图4。The adjacent frame data registration of motion data is realized by non-rigid matching method. The matching method is to find a corresponding point in the next frame for each point in each frame, as shown in Figure 3. The right point in each frame is The point after registration, the connection relationship between the point and the point after alignment is shown in Figure 4.
S3、对通过步骤S2配准后的数据进行运动轨迹数据提取;S3. Extracting motion track data from the data registered in step S2;
对通过步骤S2配准后的数据进行运动轨迹数据提取,采用深度优先的方法将相邻的方向类似的相邻两帧之间运动轨迹相连生长,从而得到多帧之间点与点之间的运动轨迹,如图5。Extract the motion trajectory data from the data registered in step S2, and use the depth-first method to connect and grow the motion trajectories between adjacent two adjacent frames with similar directions, so as to obtain the point-to-point distance between multiple frames. The trajectory of the movement is shown in Figure 5.
S4、对步骤S3所述的运动轨迹数据进行聚类分析;S4. Perform cluster analysis on the motion track data described in step S3;
对步骤S3所述的运动轨迹数据进行聚类分析,基于运动轨迹的距离公式,采用谱聚类或者kmean聚类法,根据运动轨迹数据的相似性将运动物体分割为不同的运动部分;Carrying out cluster analysis on the motion trajectory data described in step S3, based on the distance formula of the motion trajectory, using spectral clustering or kmean clustering method, dividing the moving object into different moving parts according to the similarity of the motion trajectory data;
运动轨迹数据之间的相似性计算采用欧式距离算法,考虑轨迹之间的欧式距离和运动方向之间的关系。聚类分析时,随机选取N条轨迹作为聚类中心,然后将相似的轨迹数据不断的添加到最近的聚类当中,同时更新聚类中心,此步骤迭代进行到所有的轨迹被聚类活满足用户指定的其他条件为止。不同距离的定义计算使用如下方法:The Euclidean distance algorithm is used to calculate the similarity between the trajectory data, considering the relationship between the Euclidean distance between the trajectories and the direction of motion. During cluster analysis, N trajectories are randomly selected as cluster centers, and then similar trajectory data are continuously added to the nearest cluster, and the cluster centers are updated at the same time. This step is iterated until all trajectories are clustered or satisfied. other conditions specified by the user. The definition calculations for different distances use the following methods:
d1=欧式距离;d1 = Euclidean distance;
d2=夹角α;d2 = angle α;
d=归一化(d1),归一化(d2)d = normalized(d1), normalized(d2)
不同轨迹的距离定义直观展示如图6。The distance definitions of different trajectories are intuitively shown in Figure 6.
聚类分析前的若干运动轨迹如图7,聚类分析后的运动轨迹,如图8Several motion trajectories before cluster analysis are shown in Figure 7, and motion trajectories after cluster analysis are shown in Figure 8
S5、对步骤S4所述聚类分析后得到的数据进行一致性骨架提取;S5. Performing consistent skeleton extraction on the data obtained after the cluster analysis described in step S4;
根据邻接关系计算出一致性的骨架,包括对骨架的节点,从相邻节点以及相邻的节点到下一帧的对应点中找到对应关系,从而将骨架的关键节点转换到下一帧,迭代进行,可以转换到N帧数据中。Calculate the consistent skeleton according to the adjacency relationship, including the nodes of the skeleton, find the corresponding relationship from the adjacent nodes and the adjacent nodes to the corresponding points of the next frame, so as to convert the key nodes of the skeleton to the next frame, and iterate It can be converted to N frame data.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention should be included in the protection of the present invention. within range.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310684707.4A CN103714555B (en) | 2013-12-13 | 2013-12-13 | A kind of four-dimensional motion point cloud segmentation and method for reconstructing based on movement locus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310684707.4A CN103714555B (en) | 2013-12-13 | 2013-12-13 | A kind of four-dimensional motion point cloud segmentation and method for reconstructing based on movement locus |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103714555A CN103714555A (en) | 2014-04-09 |
CN103714555B true CN103714555B (en) | 2017-06-13 |
Family
ID=50407498
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310684707.4A Active CN103714555B (en) | 2013-12-13 | 2013-12-13 | A kind of four-dimensional motion point cloud segmentation and method for reconstructing based on movement locus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103714555B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104504897B (en) * | 2014-09-28 | 2017-10-31 | 北京工业大学 | A kind of analysis of intersection traffic properties of flow and vehicle movement Forecasting Methodology based on track data |
CN105006007B (en) * | 2015-07-23 | 2018-06-29 | 北京理工大学 | A kind of action method for reconstructing of data-driven |
CN105912983B (en) * | 2016-04-01 | 2019-05-24 | 北京理工大学 | Movement method for reconstructing based on sparse input signal |
CN106204635B (en) * | 2016-06-27 | 2018-11-30 | 北京工业大学 | Based on L0The human body successive frame bone optimization method of minimum |
CN110378904B (en) * | 2018-07-09 | 2021-10-01 | 北京京东尚科信息技术有限公司 | Method and device for segmenting point cloud data |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102467753A (en) * | 2010-11-04 | 2012-05-23 | 中国科学院深圳先进技术研究院 | Time-varying point cloud reconstruction method and system based on skeleton registration |
CN103218817A (en) * | 2013-04-19 | 2013-07-24 | 深圳先进技术研究院 | Partition method and partition system of plant organ point clouds |
CN103268631A (en) * | 2013-05-23 | 2013-08-28 | 中国科学院深圳先进技术研究院 | Point cloud skeleton extraction method and device |
-
2013
- 2013-12-13 CN CN201310684707.4A patent/CN103714555B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102467753A (en) * | 2010-11-04 | 2012-05-23 | 中国科学院深圳先进技术研究院 | Time-varying point cloud reconstruction method and system based on skeleton registration |
CN103218817A (en) * | 2013-04-19 | 2013-07-24 | 深圳先进技术研究院 | Partition method and partition system of plant organ point clouds |
CN103268631A (en) * | 2013-05-23 | 2013-08-28 | 中国科学院深圳先进技术研究院 | Point cloud skeleton extraction method and device |
Non-Patent Citations (1)
Title |
---|
《基于结构相似度的轨迹聚类算法》;袁冠等;《通 信 学 报》;20110930;第32卷(第9期);103-110 * |
Also Published As
Publication number | Publication date |
---|---|
CN103714555A (en) | 2014-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Sankaranarayanan et al. | Learning from synthetic data: Addressing domain shift for semantic segmentation | |
CN105550678B (en) | Human action feature extracting method based on global prominent edge region | |
CN103714555B (en) | A kind of four-dimensional motion point cloud segmentation and method for reconstructing based on movement locus | |
Sankaranarayanan et al. | Unsupervised domain adaptation for semantic segmentation with gans | |
CN111461245A (en) | Wheeled robot semantic mapping method and system fusing point cloud and image | |
CN109614922A (en) | A kind of dynamic static gesture identification method and system | |
US11367195B2 (en) | Image segmentation method, image segmentation apparatus, image segmentation device | |
CN104766343B (en) | A kind of visual target tracking method based on rarefaction representation | |
CN104615986B (en) | The method that pedestrian detection is carried out to the video image of scene changes using multi-detector | |
CN108154104A (en) | A kind of estimation method of human posture based on depth image super-pixel union feature | |
CN106709870B (en) | Close-range image straight-line segment matching method | |
CN110930411B (en) | Human body segmentation method and system based on depth camera | |
CN108288062A (en) | A kind of method for tracking target based on core correlation filtering | |
CN106228109A (en) | A kind of action identification method based on skeleton motion track | |
CN104166988B (en) | A kind of stereo sync dividing method for incorporating sparse match information | |
CN104156729A (en) | Counting method for people in classroom | |
CN104200218B (en) | A kind of across visual angle action identification method and system based on timing information | |
CN105913423B (en) | A kind of deterministic models approximating method based on super-pixel | |
CN104978583B (en) | The recognition methods of figure action and device | |
CN103871089A (en) | Image superpixel meshing method based on fusion | |
CN108021921A (en) | Image characteristic point extraction system and its application | |
CN105096343B (en) | A kind of method for tracking moving target and device | |
CN113920254B (en) | Monocular RGB (Red Green blue) -based indoor three-dimensional reconstruction method and system thereof | |
CN114723883A (en) | Three-dimensional scene reconstruction method, device, equipment and storage medium | |
US20220101522A1 (en) | Method for cell image segmentation using scribble labels, recording medium and device for performing the method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20140409 Assignee: SHENZHEN YIHUO TECHNOLOGY CO.,LTD. Assignor: SHENZHEN INSTITUTES OF ADVANCED TECHNOLOGY CHINESE ACADEMY OF SCIENCES Contract record no.: X2023980043401 Denomination of invention: A four-dimensional motion point cloud segmentation and reconstruction method based on motion trajectory Granted publication date: 20170613 License type: Common License Record date: 20231013 |