43 #include <pcl/registration/correspondence_rejection.h>
46 namespace registration {
62 using Ptr = shared_ptr<CorrespondenceRejectorOneToOne>;
63 using ConstPtr = shared_ptr<const CorrespondenceRejectorOneToOne>;
68 rejection_name_ =
"CorrespondenceRejectorOneToOne";
87 getRemainingCorrespondences(*input_correspondences_, correspondences);
CorrespondenceRejector represents the base class for correspondence rejection methods
shared_ptr< const CorrespondenceRejector > ConstPtr
CorrespondencesConstPtr input_correspondences_
The input correspondences.
const std::string & getClassName() const
Get a string representation of the name of this class.
shared_ptr< CorrespondenceRejector > Ptr
std::string rejection_name_
The name of the rejection method.
CorrespondenceRejectorOneToOne implements a correspondence rejection method based on eliminating dupl...
CorrespondenceRejectorOneToOne()
Empty constructor.
void getRemainingCorrespondences(const pcl::Correspondences &original_correspondences, pcl::Correspondences &remaining_correspondences) override
Get a list of valid correspondences after rejection from the original set of correspondences.
void applyRejection(pcl::Correspondences &correspondences) override
Apply the rejection algorithm.
std::vector< pcl::Correspondence, Eigen::aligned_allocator< pcl::Correspondence > > Correspondences