|
Point Cloud Library (PCL)
1.6.0
|
CorrespondenceRejectorTrimmed implements a correspondence rejection for ICP-like registration algorithms that uses only the best 'k' correspondences where 'k' is some estimate of the overlap between the two point clouds being registered. More...
#include <pcl/registration/correspondence_rejection_trimmed.h>


Public Member Functions | |
| CorrespondenceRejectorTrimmed () | |
| Empty constructor. More... | |
| virtual | ~CorrespondenceRejectorTrimmed () |
| Destructor. More... | |
| virtual void | setOverlapRadio (float ratio) |
| Set the expected ratio of overlap between point clouds (in terms of correspondences). More... | |
| float | getOverlapRadio () |
| Get the maximum distance used for thresholding in correspondence rejection. More... | |
| void | setMinCorrespondences (unsigned int min_correspondences) |
| Set a minimum number of correspondences. More... | |
| unsigned int | getMinCorrespondences () |
| Get the minimum number of correspondences. More... | |
| 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. More... | |
| virtual void | setInputCorrespondences (const CorrespondencesConstPtr &correspondences) |
| Provide a pointer to the vector of the input correspondences. More... | |
| CorrespondencesConstPtr | getInputCorrespondences () |
| Get a pointer to the vector of the input correspondences. More... | |
| void | getCorrespondences (pcl::Correspondences &correspondences) |
| Run correspondence rejection. More... | |
| void | getRejectedQueryIndices (const pcl::Correspondences &correspondences, std::vector< int > &indices) |
| Determine the indices of query points of correspondences that have been rejected, i.e., the difference between the input correspondences (set via setInputCorrespondences) and the given correspondence vector. More... | |
CorrespondenceRejectorTrimmed implements a correspondence rejection for ICP-like registration algorithms that uses only the best 'k' correspondences where 'k' is some estimate of the overlap between the two point clouds being registered.
Reference: 'The Trimmed Iterative Closest Point Algorithm' by D. Chetverikov, D. Svirko, D. Stepanov, and Pavel Krsek. In Proceedings of the 16th International Conference on Pattern Recognition (ICPR 2002).
Definition at line 61 of file correspondence_rejection_trimmed.h.
|
inline |
Empty constructor.
Definition at line 70 of file correspondence_rejection_trimmed.h.
|
inlinevirtual |
Destructor.
Definition at line 78 of file correspondence_rejection_trimmed.h.
|
inlineinherited |
Run correspondence rejection.
| [out] | correspondences | Vector of correspondences that have not been rejected. |
Definition at line 84 of file correspondence_rejection.h.
|
inlineinherited |
Get a pointer to the vector of the input correspondences.
Definition at line 78 of file correspondence_rejection.h.
|
inline |
Get the minimum number of correspondences.
Definition at line 103 of file correspondence_rejection_trimmed.h.
|
inline |
Get the maximum distance used for thresholding in correspondence rejection.
Definition at line 90 of file correspondence_rejection_trimmed.h.
|
inlineinherited |
Determine the indices of query points of correspondences that have been rejected, i.e., the difference between the input correspondences (set via setInputCorrespondences) and the given correspondence vector.
| [in] | correspondences | Vector of correspondences after rejection |
| [out] | indices | Vector of query point indices of those correspondences that have been rejected. |
Definition at line 112 of file correspondence_rejection.h.
|
inlinevirtual |
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 43 of file correspondence_rejection_trimmed.hpp.
|
inlinevirtualinherited |
Provide a pointer to the vector of the input correspondences.
| [in] | correspondences | the const boost shared pointer to a correspondence vector |
Definition at line 69 of file correspondence_rejection.h.
|
inline |
Set a minimum number of correspondences.
If the specified overlap ratio causes to have less correspondences, CorrespondenceRejectorTrimmed will try to return at least nr_min_correspondences_ correspondences (or all correspondences in case nr_min_correspondences_ is less than the number of given correspondences).
| [in] | min_correspondences | the minimum number of correspondences |
Definition at line 99 of file correspondence_rejection_trimmed.h.
|
inlinevirtual |
Set the expected ratio of overlap between point clouds (in terms of correspondences).
| [in] | ratio | ratio of overlap between 0 (no overlap, no correspondences) and 1 (full overlap, all correspondences) |
Definition at line 86 of file correspondence_rejection_trimmed.h.
1.8.3.1