Point Cloud Library (PCL)
1.14.1-dev
|
TransformationValidation represents the base class for methods that validate the correctness of a transformation found through TransformationEstimation. More...
#include <pcl/registration/transformation_validation.h>
Public Types | |
using | Matrix4 = Eigen::Matrix< Scalar, 4, 4 > |
using | Ptr = shared_ptr< TransformationValidation< PointSource, PointTarget, Scalar > > |
using | ConstPtr = shared_ptr< const TransformationValidation< PointSource, PointTarget, Scalar > > |
using | PointCloudSource = pcl::PointCloud< PointSource > |
using | PointCloudSourcePtr = typename PointCloudSource::Ptr |
using | PointCloudSourceConstPtr = typename PointCloudSource::ConstPtr |
using | PointCloudTarget = pcl::PointCloud< PointTarget > |
using | PointCloudTargetPtr = typename PointCloudTarget::Ptr |
using | PointCloudTargetConstPtr = typename PointCloudTarget::ConstPtr |
Public Member Functions | |
TransformationValidation ()=default | |
virtual | ~TransformationValidation ()=default |
virtual double | validateTransformation (const PointCloudSourceConstPtr &cloud_src, const PointCloudTargetConstPtr &cloud_tgt, const Matrix4 &transformation_matrix) const =0 |
Validate the given transformation with respect to the input cloud data, and return a score. More... | |
virtual bool | operator() (const double &score1, const double &score2) const =0 |
Comparator function for deciding which score is better after running the validation on multiple transforms. More... | |
virtual bool | isValid (const PointCloudSourceConstPtr &cloud_src, const PointCloudTargetConstPtr &cloud_tgt, const Matrix4 &transformation_matrix) const =0 |
Check if the score is valid for a specific transformation. More... | |
TransformationValidation represents the base class for methods that validate the correctness of a transformation found through TransformationEstimation.
The inputs for a validation estimation can take any or all of the following:
The output is in the form of a score or a confidence measure.
Definition at line 68 of file transformation_validation.h.
using pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::ConstPtr = shared_ptr<const TransformationValidation<PointSource, PointTarget, Scalar> > |
Definition at line 72 of file transformation_validation.h.
using pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::Matrix4 = Eigen::Matrix<Scalar, 4, 4> |
Definition at line 70 of file transformation_validation.h.
using pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::PointCloudSource = pcl::PointCloud<PointSource> |
Definition at line 75 of file transformation_validation.h.
using pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::PointCloudSourceConstPtr = typename PointCloudSource::ConstPtr |
Definition at line 77 of file transformation_validation.h.
using pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::PointCloudSourcePtr = typename PointCloudSource::Ptr |
Definition at line 76 of file transformation_validation.h.
using pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::PointCloudTarget = pcl::PointCloud<PointTarget> |
Definition at line 79 of file transformation_validation.h.
using pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::PointCloudTargetConstPtr = typename PointCloudTarget::ConstPtr |
Definition at line 81 of file transformation_validation.h.
using pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::PointCloudTargetPtr = typename PointCloudTarget::Ptr |
Definition at line 80 of file transformation_validation.h.
using pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::Ptr = shared_ptr<TransformationValidation<PointSource, PointTarget, Scalar> > |
Definition at line 71 of file transformation_validation.h.
|
default |
|
virtualdefault |
|
pure virtual |
Check if the score is valid for a specific transformation.
Pure virtual.
[in] | cloud_src | the source point cloud dataset |
[in] | cloud_tgt | the target point cloud dataset |
[out] | transformation_matrix | the transformation matrix |
|
pure virtual |
Comparator function for deciding which score is better after running the validation on multiple transforms.
Pure virtual.
[in] | score1 | the first value |
[in] | score2 | the second value |
|
pure virtual |
Validate the given transformation with respect to the input cloud data, and return a score.
Pure virtual.
[in] | cloud_src | the source point cloud dataset |
[in] | cloud_tgt | the target point cloud dataset |
[out] | transformation_matrix | the transformation matrix |