CorrespondenceRejectorDistance implements a simple correspondence rejection method based on thresholding the distances between the correspondences.
More...
#include <pcl/registration/correspondence_rejection_distance.h>
CorrespondenceRejectorDistance implements a simple correspondence rejection method based on thresholding the distances 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
- Dirk Holz, Radu B. Rusu
Definition at line 59 of file correspondence_rejection_distance.h.
| pcl::registration::CorrespondenceRejectorDistance::CorrespondenceRejectorDistance |
( |
) | |
|
|
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.
| float pcl::registration::CorrespondenceRejectorDistance::getMaximumDistance |
( |
) | |
|
|
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::CorrespondenceRejectorDistance::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 99 of file correspondence_rejection_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::CorrespondenceRejectorDistance::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 111 of file correspondence_rejection_distance.h.
| virtual void pcl::registration::CorrespondenceRejectorDistance::setMaximumDistance |
( |
float |
distance) | |
|
|
inlinevirtual |
Set the maximum distance used for thresholding in correspondence rejection.
- Parameters
-
| [in] | distance | Distance to be used as maximum distance between correspondences. Correspondences with larger distances are rejected. |
- Note
- Internally, the distance will be stored squared.
Definition at line 88 of file correspondence_rejection_distance.h.
The documentation for this class was generated from the following files: