CorrespondenceRejectorMedianDistance implements a simple correspondence rejection method based on thresholding based on the median distance between the correspondences.
More...
#include <pcl/registration/correspondence_rejection_median_distance.h>
CorrespondenceRejectorMedianDistance implements a simple correspondence rejection method based on thresholding based on the median distance between the correspondences.
- 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 60 of file correspondence_rejection_median_distance.h.
| pcl::registration::CorrespondenceRejectorMedianDistance::CorrespondenceRejectorMedianDistance |
( |
| ) |
|
|
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::CorrespondenceRejectorMedianDistance::getMedianDistance |
( |
| ) |
const |
|
inline |
| double pcl::registration::CorrespondenceRejectorMedianDistance::getMedianFactor |
( |
| ) |
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.
template<typename PointT >
| void pcl::registration::CorrespondenceRejectorMedianDistance::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 93 of file correspondence_rejection_median_distance.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::CorrespondenceRejectorMedianDistance::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 105 of file correspondence_rejection_median_distance.h.
| void pcl::registration::CorrespondenceRejectorMedianDistance::setMedianFactor |
( |
double |
factor | ) |
|
|
inline |
The documentation for this class was generated from the following files: