TransformationValidation represents the base class for methods that validate the correctness of a transformation found through TransformationEstimation. More...
#include <transformation_validation.h>
Public Types | |
typedef boost::shared_ptr < const TransformationValidation < PointSource, PointTarget, Scalar > > | ConstPtr |
typedef Eigen::Matrix< Scalar, 4, 4 > | Matrix4 |
typedef pcl::PointCloud < PointSource > | PointCloudSource |
typedef PointCloudSource::ConstPtr | PointCloudSourceConstPtr |
typedef PointCloudSource::Ptr | PointCloudSourcePtr |
typedef pcl::PointCloud < PointTarget > | PointCloudTarget |
typedef PointCloudTarget::ConstPtr | PointCloudTargetConstPtr |
typedef PointCloudTarget::Ptr | PointCloudTargetPtr |
typedef boost::shared_ptr < TransformationValidation < PointSource, PointTarget, Scalar > > | Ptr |
Public Member Functions | |
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. Pure virtual. | |
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. Pure virtual. | |
TransformationValidation () | |
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. Pure virtual. | |
virtual | ~TransformationValidation () |
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.
typedef boost::shared_ptr<const TransformationValidation<PointSource, PointTarget, Scalar> > pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::ConstPtr |
Definition at line 73 of file transformation_validation.h.
typedef Eigen::Matrix<Scalar, 4, 4> pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::Matrix4 |
Definition at line 71 of file transformation_validation.h.
typedef pcl::PointCloud<PointSource> pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::PointCloudSource |
Definition at line 75 of file transformation_validation.h.
typedef PointCloudSource::ConstPtr pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::PointCloudSourceConstPtr |
Definition at line 77 of file transformation_validation.h.
typedef PointCloudSource::Ptr pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::PointCloudSourcePtr |
Definition at line 76 of file transformation_validation.h.
typedef pcl::PointCloud<PointTarget> pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::PointCloudTarget |
Definition at line 79 of file transformation_validation.h.
typedef PointCloudTarget::ConstPtr pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::PointCloudTargetConstPtr |
Definition at line 81 of file transformation_validation.h.
typedef PointCloudTarget::Ptr pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::PointCloudTargetPtr |
Definition at line 80 of file transformation_validation.h.
typedef boost::shared_ptr<TransformationValidation<PointSource, PointTarget, Scalar> > pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::Ptr |
Definition at line 72 of file transformation_validation.h.
pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::TransformationValidation | ( | ) | [inline] |
Definition at line 83 of file transformation_validation.h.
virtual pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::~TransformationValidation | ( | ) | [inline, virtual] |
Definition at line 84 of file transformation_validation.h.
virtual bool pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::isValid | ( | const PointCloudSourceConstPtr & | cloud_src, |
const PointCloudTargetConstPtr & | cloud_tgt, | ||
const Matrix4 & | transformation_matrix | ||
) | const [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 |
virtual bool pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::operator() | ( | const double & | score1, |
const double & | score2 | ||
) | const [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 |
virtual double pcl::registration::TransformationValidation< PointSource, PointTarget, Scalar >::validateTransformation | ( | const PointCloudSourceConstPtr & | cloud_src, |
const PointCloudTargetConstPtr & | cloud_tgt, | ||
const Matrix4 & | transformation_matrix | ||
) | const [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 |