CorrespondenceRejectoVarTrimmed implements a simple correspondence rejection method by considering as inliers a certain percentage of correspondences with the least distances.
More...
#include <pcl/registration/correspondence_rejection_var_trimmed.h>
CorrespondenceRejectoVarTrimmed implements a simple correspondence rejection method by considering as inliers a certain percentage of correspondences with the least distances.
The percentage of inliers is computed internally as mentioned in the paper 'Outlier Robust ICP for minimizing Fractional RMSD, J. M. Philips et al'
- Note
- If setInputCloud and setInputTarget are given, then the distances between correspondences will be estimated using the given XYZ data, and not read from the set of input correspondences.
- Author
- Aravindhan K Krishnan. This code is ported from libpointmatcher (https://github.com/ethz-asl/libpointmatcher)
Definition at line 63 of file correspondence_rejection_var_trimmed.h.
| pcl::registration::CorrespondenceRejectorVarTrimmed::CorrespondenceRejectorVarTrimmed |
( |
| ) |
|
|
inline |
| void pcl::registration::CorrespondenceRejector::getCorrespondences |
( |
pcl::Correspondences & |
correspondences | ) |
|
|
inlineinherited |
Run correspondence rejection.
- Parameters
-
| [out] | correspondences | Vector of correspondences that have not been rejected. |
Definition at line 84 of file correspondence_rejection.h.
Get a pointer to the vector of the input correspondences.
- Returns
- correspondences the const boost shared pointer to a correspondence vector
Definition at line 78 of file correspondence_rejection.h.
| double pcl::registration::CorrespondenceRejectorVarTrimmed::getMaxRatio |
( |
| ) |
const |
|
inline |
| double pcl::registration::CorrespondenceRejectorVarTrimmed::getMinRatio |
( |
| ) |
const |
|
inline |
| void pcl::registration::CorrespondenceRejector::getRejectedQueryIndices |
( |
const pcl::Correspondences & |
correspondences, |
|
|
std::vector< int > & |
indices |
|
) |
| |
|
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.
- Parameters
-
| [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.
| double pcl::registration::CorrespondenceRejectorVarTrimmed::getTrimFactor |
( |
| ) |
const |
|
inline |
| double pcl::registration::CorrespondenceRejectorVarTrimmed::getTrimmedDistance |
( |
| ) |
const |
|
inline |
template<typename PointT >
| void pcl::registration::CorrespondenceRejectorVarTrimmed::setInputCloud |
( |
const typename pcl::PointCloud< PointT >::ConstPtr & |
cloud | ) |
|
|
inline |
Provide a source point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.
- Parameters
-
| [in] | cloud | a cloud containing XYZ data |
Definition at line 98 of file correspondence_rejection_var_trimmed.h.
| virtual void pcl::registration::CorrespondenceRejector::setInputCorrespondences |
( |
const CorrespondencesConstPtr & |
correspondences | ) |
|
|
inlinevirtualinherited |
Provide a pointer to the vector of the input correspondences.
- Parameters
-
| [in] | correspondences | the const boost shared pointer to a correspondence vector |
Definition at line 69 of file correspondence_rejection.h.
template<typename PointT >
| void pcl::registration::CorrespondenceRejectorVarTrimmed::setInputTarget |
( |
const typename pcl::PointCloud< PointT >::ConstPtr & |
target | ) |
|
|
inline |
Provide a target point cloud dataset (must contain XYZ data!), used to compute the correspondence distance.
- Parameters
-
| [in] | target | a cloud containing XYZ data |
Definition at line 110 of file correspondence_rejection_var_trimmed.h.
| void pcl::registration::CorrespondenceRejectorVarTrimmed::setMaxRatio |
( |
double |
ratio | ) |
|
|
inline |
| void pcl::registration::CorrespondenceRejectorVarTrimmed::setMinRatio |
( |
double |
ratio | ) |
|
|
inline |
The documentation for this class was generated from the following files: