CorrespondenceRejectorOneToOne implements a correspondence rejection method based on eliminating duplicate match indices in the correspondences. Correspondences with the same match index are removed and only the one with smallest distance between query and match are kept. That is, considering match->query 1-m correspondences are removed leaving only 1-1 correspondences. More...
#include <correspondence_rejection_one_to_one.h>
Public Types | |
typedef boost::shared_ptr < const CorrespondenceRejectorOneToOne > | ConstPtr |
typedef boost::shared_ptr < CorrespondenceRejectorOneToOne > | Ptr |
Public Member Functions | |
CorrespondenceRejectorOneToOne () | |
Empty constructor. | |
void | getRemainingCorrespondences (const pcl::Correspondences &original_correspondences, pcl::Correspondences &remaining_correspondences) |
Get a list of valid correspondences after rejection from the original set of correspondences. | |
Protected Member Functions | |
void | applyRejection (pcl::Correspondences &correspondences) |
Apply the rejection algorithm. |
CorrespondenceRejectorOneToOne implements a correspondence rejection method based on eliminating duplicate match indices in the correspondences. Correspondences with the same match index are removed and only the one with smallest distance between query and match are kept. That is, considering match->query 1-m correspondences are removed leaving only 1-1 correspondences.
Definition at line 58 of file correspondence_rejection_one_to_one.h.
typedef boost::shared_ptr<const CorrespondenceRejectorOneToOne> pcl::registration::CorrespondenceRejectorOneToOne::ConstPtr |
Reimplemented from pcl::registration::CorrespondenceRejector.
Definition at line 66 of file correspondence_rejection_one_to_one.h.
typedef boost::shared_ptr<CorrespondenceRejectorOneToOne> pcl::registration::CorrespondenceRejectorOneToOne::Ptr |
Reimplemented from pcl::registration::CorrespondenceRejector.
Definition at line 65 of file correspondence_rejection_one_to_one.h.
Empty constructor.
Definition at line 69 of file correspondence_rejection_one_to_one.h.
void pcl::registration::CorrespondenceRejectorOneToOne::applyRejection | ( | pcl::Correspondences & | correspondences | ) | [inline, protected, virtual] |
Apply the rejection algorithm.
[out] | correspondences | the set of resultant correspondences. |
Implements pcl::registration::CorrespondenceRejector.
Definition at line 87 of file correspondence_rejection_one_to_one.h.
void pcl::registration::CorrespondenceRejectorOneToOne::getRemainingCorrespondences | ( | const pcl::Correspondences & | original_correspondences, |
pcl::Correspondences & | remaining_correspondences | ||
) | [virtual] |
Get a list of valid correspondences after rejection from the original set of correspondences.
[in] | original_correspondences | the set of initial correspondences given |
[out] | remaining_correspondences | the resultant filtered set of remaining correspondences |
Implements pcl::registration::CorrespondenceRejector.
Definition at line 44 of file correspondence_rejection_one_to_one.cpp.