Inshaping: include/RigidRigsteration.h Source File

Inshaping

Inshaping  0.1
RigidRigsteration.h
Go to the documentation of this file.
1 #pragma once
2 #include<TriSparse.h>
3 #include <pcl/registration/transformation_estimation_svd.h>
4 #include <pcl/registration/correspondence_rejection_sample_consensus.h>
5 #include <pcl/registration/correspondence_estimation.h>
6 #include <pcl/registration/icp.h>
7 #include<Normal.h>
8 #include<RegistrationTools.h>
9 #include<HyperCloud.h>
10 #include<iostream>
11 #include<unordered_map>
12 
13 
14 namespace Inshape
15 {
18 
19  //��data �任�� model�����Խ�������data.apply
20  Eigen::Matrix4f ICPRigsteration(pcl::PointCloud<pcl::PointXYZ>::Ptr& data, pcl::PointCloud<pcl::PointXYZ>::Ptr& model);
21 
22  Eigen::Matrix4f NICPRigsteration(pcl::PointCloud<pcl::PointXYZ>::Ptr & data, pcl::PointCloud<pcl::PointXYZ>::Ptr & model);
23 
24  Eigen::Matrix4f SVDRegistration(pcl::PointCloud<pcl::PointXYZ>::Ptr& sub_data, pcl::PointCloud<pcl::PointXYZ>::Ptr& sub_model);
25 
26  void AlignWithFace(pcl::PointCloud<pcl::PointXYZ>::Ptr& body, pcl::PointCloud<pcl::PointXYZ>::Ptr& head_cloud, pcl::PointCloud<pcl::PointXYZ>::Ptr& face);
27 
28  //�������ֱ����ICP
29  void rigidRigsterWithoutMatch(pcl::PointCloud<pcl::PointXYZ>::Ptr& body, MyMesh& head_mesh,pcl::PointCloud<pcl::PointXYZ>::Ptr& face);
30 
31 
32  //�ȶ�ӦȻ����face icp
33  void rigidRigsterWithMatch(pcl::PointCloud<pcl::PointXYZ>::Ptr& body, MyMesh& head_mesh, pcl::PointCloud<pcl::PointXYZ>::Ptr& face, pcl::PointCloud<pcl::PointXYZ>::Ptr& sub_head, pcl::PointCloud<pcl::PointXYZ>::Ptr& sub_body);
34 
36 }
void AlignWithFace(pcl::PointCloud< pcl::PointXYZ >::Ptr &body, pcl::PointCloud< pcl::PointXYZ >::Ptr &head_cloud, pcl::PointCloud< pcl::PointXYZ >::Ptr &face)
Definition: AfterProcess.h:9
Eigen::Matrix4f ICPRigsteration(pcl::PointCloud< pcl::PointXYZ >::Ptr &data, pcl::PointCloud< pcl::PointXYZ >::Ptr &model)
void rigidRigsterWithMatch(pcl::PointCloud< pcl::PointXYZ >::Ptr &body, MyMesh &head_mesh, pcl::PointCloud< pcl::PointXYZ >::Ptr &face, pcl::PointCloud< pcl::PointXYZ >::Ptr &sub_head, pcl::PointCloud< pcl::PointXYZ >::Ptr &sub_body)
Eigen::Matrix4f SVDRegistration(pcl::PointCloud< pcl::PointXYZ >::Ptr &sub_data, pcl::PointCloud< pcl::PointXYZ >::Ptr &sub_model)
void rigidRigsterWithoutMatch(pcl::PointCloud< pcl::PointXYZ >::Ptr &body, MyMesh &head_mesh, pcl::PointCloud< pcl::PointXYZ >::Ptr &face)
OpenMesh::PolyMesh_ArrayKernelT MyMesh
Definition: Common.h:23
Eigen::Matrix4f NICPRigsteration(pcl::PointCloud< pcl::PointXYZ >::Ptr &data, pcl::PointCloud< pcl::PointXYZ >::Ptr &model)
Generated by   doxygen 1.8.14