Point Cloud Library (PCL)
1.11.1-dev
|
42 #include <pcl/registration/icp.h>
52 template <
typename Po
intSource,
typename Po
intTarget,
typename Scalar =
float>
77 using Ptr = shared_ptr<JointIterativeClosestPoint<PointSource, PointTarget, Scalar>>;
79 shared_ptr<const JointIterativeClosestPoint<PointSource, PointTarget, Scalar>>;
132 reg_name_ =
"JointIterativeClosestPoint";
144 PCL_WARN(
"[pcl::%s::setInputSource] Warning; JointIterativeClosestPoint expects "
145 "multiple clouds. Please use addInputSource.\n",
170 PCL_WARN(
"[pcl::%s::setInputTarget] Warning; JointIterativeClosestPoint expects "
171 "multiple clouds. Please use addInputTarget.\n",
248 #include <pcl/registration/impl/joint_icp.hpp>
void setInputSource(const PointCloudSourceConstPtr &) override
Provide a pointer to the input source (e.g., the point cloud that we want to align to the target)
~JointIterativeClosestPoint()
Empty destructor.
PointIndices::Ptr PointIndicesPtr
double euclidean_fitness_epsilon_
The maximum allowed Euclidean error between two consecutive steps in the ICP loop,...
std::vector< PointCloudTargetConstPtr > targets_
void clearCorrespondenceEstimations()
Reset my list of correspondence estimation methods.
shared_ptr< JointIterativeClosestPoint< PointSource, PointTarget, Scalar > > Ptr
IterativeClosestPoint provides a base implementation of the Iterative Closest Point algorithm.
Matrix4 previous_transformation_
The previous transformation matrix estimated by the registration method (used internally).
bool use_reciprocal_correspondence_
The correspondence type used for correspondence estimation.
const std::string & getClassName() const
Abstract class get name method.
Abstract CorrespondenceEstimationBase class.
int min_number_correspondences_
The minimum number of correspondences that the algorithm needs before attempting to estimate the tran...
void setInputSource(const PointCloudSourceConstPtr &cloud) override
Provide a pointer to the input source (e.g., the point cloud that we want to align to the target)
JointIterativeClosestPoint()
Empty constructor.
shared_ptr< KdTree< PointT, Tree > > Ptr
double transformation_epsilon_
The maximum difference between two consecutive transformations in order to consider convergence (user...
typename KdTree::Ptr KdTreeReciprocalPtr
shared_ptr< const ::pcl::PointIndices > ConstPtr
void setInputTarget(const PointCloudTargetConstPtr &cloud) override
Provide a pointer to the input target (e.g., the point cloud that we want to align to the target)
shared_ptr< CorrespondenceEstimationBase< PointSource, PointTarget, Scalar > > Ptr
typename IterativeClosestPoint< PointSource, PointTarget, Scalar >::PointCloudTarget PointCloudTarget
shared_ptr< const CorrespondenceEstimationBase< PointSource, PointTarget, Scalar > > ConstPtr
void computeTransformation(PointCloudSource &output, const Matrix4 &guess) override
Rigid transformation computation method with initial guess.
std::vector< PointCloudSourceConstPtr > sources_
void setInputTarget(const PointCloudTargetConstPtr &) override
Provide a pointer to the input target (e.g., the point cloud that we want to align to the target)
shared_ptr< const JointIterativeClosestPoint< PointSource, PointTarget, Scalar > > ConstPtr
void addInputSource(const PointCloudSourceConstPtr &cloud)
Add a source cloud to the joint solver.
void determineRequiredBlobData() override
Looks at the Estimators and Rejectors and determines whether their blob-setter methods need to be cal...
void addInputTarget(const PointCloudTargetConstPtr &cloud)
Add a target cloud to the joint solver.
search::KdTree is a wrapper class which inherits the pcl::KdTree class for performing search function...
void clearInputTargets()
Reset my list of input targets.
std::vector< CorrespondenceRejectorPtr > correspondence_rejectors_
The list of correspondence rejectors to use.
void addCorrespondenceEstimation(CorrespondenceEstimationPtr ce)
Add a manual correspondence estimator If you choose to do this, you must add one for each input sourc...
typename IterativeClosestPoint< PointSource, PointTarget, Scalar >::PointCloudSource PointCloudSource
shared_ptr< ::pcl::PointIndices > Ptr
typename PointCloudSource::Ptr PointCloudSourcePtr
typename PointCloudTarget::Ptr PointCloudTargetPtr
PointIndices::ConstPtr PointIndicesConstPtr
JointIterativeClosestPoint extends ICP to multiple frames which share the same transform.
TransformationEstimationPtr transformation_estimation_
A TransformationEstimation object, used to calculate the 4x4 rigid transformation.
typename Registration< PointSource, PointTarget, Scalar >::Matrix4 Matrix4
typename KdTree::Ptr KdTreePtr
std::vector< CorrespondenceEstimationPtr > correspondence_estimations_
typename PointCloudTarget::ConstPtr PointCloudTargetConstPtr
typename CorrespondenceEstimation::ConstPtr CorrespondenceEstimationConstPtr
void clearInputSources()
Reset my list of input sources.
typename CorrespondenceEstimation::Ptr CorrespondenceEstimationPtr
typename PointCloudSource::ConstPtr PointCloudSourceConstPtr
std::string reg_name_
The registration method name.
CorrespondenceEstimationPtr correspondence_estimation_
A CorrespondenceEstimation object, used to estimate correspondences between the source and the target...
typename IterativeClosestPoint< PointSource, PointTarget, Scalar >::Matrix4 Matrix4