40 #include <pcl/correspondence.h>
59 float max_correspondence_distance_error = 0.2f;
65 Eigen::Affine3f transformation = Eigen::Affine3f::Identity ();
97 int max_no_of_tested_combinations,
int max_no_of_results,
105 int max_no_of_tested_combinations,
int max_no_of_results,
calculate 3D transformation based on point correspondences
void estimatePosesUsing3Correspondences(const PointCorrespondences6DVector &correspondences, int max_no_of_tested_combinations, int max_no_of_results, PoseEstimatesVector &pose_estimates) const
Use triples of 6DOF correspondences to estimate transformations between the coordinate systems.
void estimatePosesUsing1Correspondence(const PointCorrespondences6DVector &correspondences, int max_no_of_results, PoseEstimatesVector &pose_estimates) const
Use single 6DOF correspondences to estimate transformations between the coordinate systems.
void estimatePosesUsing2Correspondences(const PointCorrespondences6DVector &correspondences, int max_no_of_tested_combinations, int max_no_of_results, PoseEstimatesVector &pose_estimates) const
Use pairs of 6DOF correspondences to estimate transformations between the coordinate systems.
std::vector< PoseEstimate, Eigen::aligned_allocator< PoseEstimate > > PoseEstimatesVector
Parameters & getParameters()
Get a reference to the parameters struct.
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.
Defines functions, macros and traits for allocating and using memory.
IndicesAllocator<> Indices
Type used for indices in PCL.
std::vector< PointCorrespondence6D, Eigen::aligned_allocator< PointCorrespondence6D > > PointCorrespondences6DVector
Defines all the PCL and non-PCL macros used.
Parameters used in this class.
bool operator()(const PoseEstimate &pe1, const PoseEstimate &pe2) const
A result of the pose estimation process.
float score
An estimate in [0,1], how good the estimated pose is.
Indices correspondence_indices
The indices of the used correspondences.
Defines basic non-point types used by PCL.