43 namespace registration {
62 double relative_rmse = 1e-6,
63 int max_iteration = 30)
64 : relative_fitness_(relative_fitness),
65 relative_rmse_(relative_rmse),
66 max_iteration_(max_iteration) {}
89 : transformation_(transformation), inlier_rmse_(0.0), fitness_(0.0) {}
125 double max_correspondence_distance,
141 double max_correspondence_distance,
int max_iteration_
Maximum iteration before iteration stops.
Definition: Registration.h:77
double relative_fitness_
Definition: Registration.h:72
Class that defines the convergence criteria of ICP.
Definition: Registration.h:49
core::Tensor correspondence_set_
Definition: Registration.h:106
core::Tensor transformation_
The estimated transformation matrix.
Definition: Registration.h:98
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:118
double fitness_
Definition: Registration.h:111
ICPConvergenceCriteria(double relative_fitness=1e-6, double relative_rmse=1e-6, int max_iteration=30)
Parameterized Constructor. ICP algorithm stops if the relative change of fitness and rmse hit relativ...
Definition: Registration.h:61
double inlier_rmse_
RMSE of all inlier correspondences. Lower is better.
Definition: Registration.h:108
A pointcloud contains a set of 3D points.
Definition: PointCloud.h:94
bool IsBetterRANSACThan(const RegistrationResult &other) const
Definition: Registration.h:91
static const Dtype Float32
Definition: Dtype.h:42
Definition: PinholeCameraIntrinsic.cpp:35
~RegistrationResult()
Definition: Registration.h:90
~ICPConvergenceCriteria()
Definition: Registration.h:67
core::Tensor correspondence_select_bool_
Definition: Registration.h:102
double relative_rmse_
Definition: Registration.h:75
static Tensor Eye(int64_t n, Dtype dtype, const Device &device)
Create a identity matrix of size n x n.
Definition: Tensor.cpp:194
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:134
RegistrationResult(const core::Tensor &transformation)
Parameterized Constructor.
Definition: Registration.h:88
Definition: Registration.h:83