26 namespace registration {
46 double relative_rmse = 1e-6,
47 int max_iteration = 30)
82 double confidence = 0.999)
104 const Eigen::Matrix4d &transformation = Eigen::Matrix4d::Identity())
137 double max_correspondence_distance,
138 const Eigen::Matrix4d &transformation = Eigen::Matrix4d::Identity());
153 double max_correspondence_distance,
154 const Eigen::Matrix4d &init = Eigen::Matrix4d::Identity(),
175 double max_correspondence_distance,
179 const std::vector<std::reference_wrapper<const CorrespondenceChecker>>
181 const RANSACConvergenceCriteria &criteria =
182 RANSACConvergenceCriteria());
200 const Feature &source_features,
201 const Feature &target_features,
203 double max_correspondence_distance,
204 const TransformationEstimation &estimation =
205 TransformationEstimationPointToPoint(
false),
207 const std::vector<std::reference_wrapper<const CorrespondenceChecker>>
209 const RANSACConvergenceCriteria &criteria =
210 RANSACConvergenceCriteria());
220 double max_correspondence_distance,
221 const Eigen::Matrix4d &transformation);
A point cloud consists of point coordinates, and optionally point colors and point normals.
Definition: PointCloud.h:36
Class that defines the convergence criteria of ICP.
Definition: Registration.h:36
double relative_rmse_
Definition: Registration.h:59
ICPConvergenceCriteria(double relative_fitness=1e-6, double relative_rmse=1e-6, int max_iteration=30)
Parameterized Constructor.
Definition: Registration.h:45
~ICPConvergenceCriteria()
Definition: Registration.h:51
int max_iteration_
Maximum iteration before iteration stops.
Definition: Registration.h:61
double relative_fitness_
Definition: Registration.h:56
Class that defines the convergence criteria of RANSAC.
Definition: Registration.h:74
double confidence_
Desired probability of success.
Definition: Registration.h:92
RANSACConvergenceCriteria(int max_iteration=100000, double confidence=0.999)
Parameterized Constructor.
Definition: Registration.h:81
~RANSACConvergenceCriteria()
Definition: Registration.h:86
int max_iteration_
Maximum iteration before iteration stops.
Definition: Registration.h:90
Definition: Registration.h:98
bool IsBetterRANSACThan(const RegistrationResult &other) const
Definition: Registration.h:107
RegistrationResult(const Eigen::Matrix4d &transformation=Eigen::Matrix4d::Identity())
Parameterized Constructor.
Definition: Registration.h:103
CorrespondenceSet correspondence_set_
Correspondence set between source and target point cloud.
Definition: Registration.h:116
~RegistrationResult()
Definition: Registration.h:106
double fitness_
Definition: Registration.h:123
Eigen::Matrix4d_u transformation_
The estimated transformation matrix.
Definition: Registration.h:114
double inlier_rmse_
RMSE of all inlier correspondences. Lower is better.
Definition: Registration.h:118
Eigen::Matrix6d GetInformationMatrixFromPointClouds(const geometry::PointCloud &source, const geometry::PointCloud &target, double max_correspondence_distance, const Eigen::Matrix4d &transformation)
Definition: Registration.cpp:306
RegistrationResult EvaluateRegistration(const geometry::PointCloud &source, const geometry::PointCloud &target, double max_correspondence_distance, const Eigen::Matrix4d &transformation)
Function for evaluating registration between point clouds.
Definition: Registration.cpp:92
RegistrationResult RegistrationRANSACBasedOnCorrespondence(const geometry::PointCloud &source, const geometry::PointCloud &target, const CorrespondenceSet &corres, double max_correspondence_distance, const TransformationEstimation &estimation, int ransac_n, const std::vector< std::reference_wrapper< const CorrespondenceChecker >> &checkers, const RANSACConvergenceCriteria &criteria)
Function for global RANSAC registration based on a given set of correspondences.
Definition: Registration.cpp:170
std::vector< Eigen::Vector2i > CorrespondenceSet
Definition: Feature.h:25
RegistrationResult RegistrationICP(const geometry::PointCloud &source, const geometry::PointCloud &target, double max_correspondence_distance, const Eigen::Matrix4d &init, const TransformationEstimation &estimation, const ICPConvergenceCriteria &criteria)
Functions for ICP registration.
Definition: Registration.cpp:108
RegistrationResult RegistrationRANSACBasedOnFeatureMatching(const geometry::PointCloud &source, const geometry::PointCloud &target, const Feature &source_features, const Feature &target_features, bool mutual_filter, double max_correspondence_distance, const TransformationEstimation &estimation, int ransac_n, const std::vector< std::reference_wrapper< const CorrespondenceChecker >> &checkers, const RANSACConvergenceCriteria &criteria)
Function for global RANSAC registration based on feature matching.
Definition: Registration.cpp:280
Definition: PinholeCameraIntrinsic.cpp:16