CorrespondenceEstimationBackprojection computes correspondences as points in the target cloud which have minimum More...
#include <pcl/registration/correspondence_estimation_backprojection.h>


Public Types | |
| typedef boost::shared_ptr < CorrespondenceEstimationBackProjection < PointSource, PointTarget, NormalT, Scalar > > | Ptr |
| typedef boost::shared_ptr < const CorrespondenceEstimationBackProjection < PointSource, PointTarget, NormalT, Scalar > > | ConstPtr |
| typedef pcl::search::KdTree < PointTarget > | KdTree |
| typedef pcl::search::KdTree < PointTarget >::Ptr | KdTreePtr |
| typedef pcl::PointCloud < PointSource > | PointCloudSource |
| typedef PointCloudSource::Ptr | PointCloudSourcePtr |
| typedef PointCloudSource::ConstPtr | PointCloudSourceConstPtr |
| typedef pcl::PointCloud < PointTarget > | PointCloudTarget |
| typedef PointCloudTarget::Ptr | PointCloudTargetPtr |
| typedef PointCloudTarget::ConstPtr | PointCloudTargetConstPtr |
| typedef pcl::PointCloud< NormalT > | PointCloudNormals |
| typedef PointCloudNormals::Ptr | NormalsPtr |
| typedef PointCloudNormals::ConstPtr | NormalsConstPtr |
Public Member Functions | |
| CorrespondenceEstimationBackProjection () | |
| Empty constructor. | |
| virtual | ~CorrespondenceEstimationBackProjection () |
| Empty destructor. | |
| void | setSourceNormals (const NormalsConstPtr &normals) |
| Set the normals computed on the source point cloud. | |
| NormalsConstPtr | getSourceNormals () const |
| Get the normals of the source point cloud. | |
| void | setTargetNormals (const NormalsConstPtr &normals) |
| Set the normals computed on the target point cloud. | |
| NormalsConstPtr | getTargetNormals () const |
| Get the normals of the target point cloud. | |
| void | determineCorrespondences (pcl::Correspondences &correspondences, double max_distance=std::numeric_limits< double >::max()) |
| Determine the correspondences between input and target cloud. | |
| virtual void | determineReciprocalCorrespondences (pcl::Correspondences &correspondences, double max_distance=std::numeric_limits< double >::max()) |
| Determine the reciprocal correspondences between input and target cloud. | |
| void | setKSearch (unsigned int k) |
| Set the number of nearest neighbours to be considered in the target point cloud. | |
| void | getKSearch () const |
| Get the number of nearest neighbours considered in the target point cloud for computing correspondences. | |
Protected Member Functions | |
| bool | initCompute () |
| Internal computation initalization. | |
CorrespondenceEstimationBackprojection computes correspondences as points in the target cloud which have minimum
Definition at line 56 of file correspondence_estimation_backprojection.h.
| typedef boost::shared_ptr<const CorrespondenceEstimationBackProjection<PointSource, PointTarget, NormalT, Scalar> > pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::ConstPtr |
Reimplemented from pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >.
Definition at line 60 of file correspondence_estimation_backprojection.h.
| typedef pcl::search::KdTree<PointTarget> pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::KdTree |
Reimplemented from pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >.
Definition at line 72 of file correspondence_estimation_backprojection.h.
| typedef pcl::search::KdTree<PointTarget>::Ptr pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::KdTreePtr |
Reimplemented from pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >.
Definition at line 73 of file correspondence_estimation_backprojection.h.
| typedef PointCloudNormals::ConstPtr pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::NormalsConstPtr |
Definition at line 85 of file correspondence_estimation_backprojection.h.
| typedef PointCloudNormals::Ptr pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::NormalsPtr |
Definition at line 84 of file correspondence_estimation_backprojection.h.
| typedef pcl::PointCloud<NormalT> pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::PointCloudNormals |
Definition at line 83 of file correspondence_estimation_backprojection.h.
| typedef pcl::PointCloud<PointSource> pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::PointCloudSource |
Reimplemented from pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >.
Definition at line 75 of file correspondence_estimation_backprojection.h.
| typedef PointCloudSource::ConstPtr pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::PointCloudSourceConstPtr |
Reimplemented from pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >.
Definition at line 77 of file correspondence_estimation_backprojection.h.
| typedef PointCloudSource::Ptr pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::PointCloudSourcePtr |
Reimplemented from pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >.
Definition at line 76 of file correspondence_estimation_backprojection.h.
| typedef pcl::PointCloud<PointTarget> pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::PointCloudTarget |
Reimplemented from pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >.
Definition at line 79 of file correspondence_estimation_backprojection.h.
| typedef PointCloudTarget::ConstPtr pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::PointCloudTargetConstPtr |
Reimplemented from pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >.
Definition at line 81 of file correspondence_estimation_backprojection.h.
| typedef PointCloudTarget::Ptr pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::PointCloudTargetPtr |
Reimplemented from pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >.
Definition at line 80 of file correspondence_estimation_backprojection.h.
| typedef boost::shared_ptr<CorrespondenceEstimationBackProjection<PointSource, PointTarget, NormalT, Scalar> > pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::Ptr |
Reimplemented from pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >.
Definition at line 59 of file correspondence_estimation_backprojection.h.
| pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::CorrespondenceEstimationBackProjection | ( | ) | [inline] |
Empty constructor.
Definition at line 92 of file correspondence_estimation_backprojection.h.
References pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >::corr_name_.
| virtual pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::~CorrespondenceEstimationBackProjection | ( | ) | [inline, virtual] |
Empty destructor.
Definition at line 102 of file correspondence_estimation_backprojection.h.
| void pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::determineCorrespondences | ( | pcl::Correspondences & | correspondences, | |
| double | max_distance = std::numeric_limits<double>::max () | |||
| ) | [inline, virtual] |
Determine the correspondences between input and target cloud.
| [out] | correspondences | the found correspondences (index of query point, index of target point, distance) |
| [in] | max_distance | maximum distance between the normal on the source point cloud and the corresponding point in the target point cloud |
Implements pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >.
Definition at line 57 of file correspondence_estimation_backprojection.hpp.
References pcl::PCLBase< PointSource >::deinitCompute(), pcl::Correspondence::distance, pcl::Correspondence::index_match, pcl::Correspondence::index_query, pcl::PCLBase< PointSource >::indices_, pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::initCompute(), pcl::PCLBase< PointSource >::input_, and pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >::tree_.
| void pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::determineReciprocalCorrespondences | ( | pcl::Correspondences & | correspondences, | |
| double | max_distance = std::numeric_limits<double>::max () | |||
| ) | [inline, virtual] |
Determine the reciprocal correspondences between input and target cloud.
A correspondence is considered reciprocal if both Src_i has Tgt_i as a correspondence, and Tgt_i has Src_i as one.
| [out] | correspondences | the found correspondences (index of query and target point, distance) |
| [in] | max_distance | maximum allowed distance between correspondences |
Implements pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >.
Definition at line 158 of file correspondence_estimation_backprojection.hpp.
References pcl::PCLBase< PointSource >::deinitCompute(), pcl::Correspondence::distance, pcl::Correspondence::index_match, pcl::Correspondence::index_query, pcl::PCLBase< PointSource >::indices_, pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::initCompute(), pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >::initComputeReciprocal(), pcl::PCLBase< PointSource >::input_, pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >::target_, pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >::tree_, and pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >::tree_reciprocal_.
| void pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::getKSearch | ( | ) | const [inline] |
Get the number of nearest neighbours considered in the target point cloud for computing correspondences.
By default we use k = 10 nearest neighbors.
Definition at line 159 of file correspondence_estimation_backprojection.h.
| NormalsConstPtr pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::getSourceNormals | ( | ) | const [inline] |
Get the normals of the source point cloud.
Definition at line 113 of file correspondence_estimation_backprojection.h.
| NormalsConstPtr pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::getTargetNormals | ( | ) | const [inline] |
Get the normals of the target point cloud.
Definition at line 124 of file correspondence_estimation_backprojection.h.
| bool pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::initCompute | ( | ) | [inline, protected] |
Internal computation initalization.
Reimplemented from pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >.
Definition at line 44 of file correspondence_estimation_backprojection.hpp.
References pcl::registration::CorrespondenceEstimationBase< PointSource, PointTarget, Scalar >::getClassName().
Referenced by pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::determineCorrespondences(), and pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::determineReciprocalCorrespondences().
| void pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::setKSearch | ( | unsigned int | k | ) | [inline] |
Set the number of nearest neighbours to be considered in the target point cloud.
By default, we use k = 10 nearest neighbors.
| [in] | k | the number of nearest neighbours to be considered |
Definition at line 152 of file correspondence_estimation_backprojection.h.
| void pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::setSourceNormals | ( | const NormalsConstPtr & | normals | ) | [inline] |
Set the normals computed on the source point cloud.
| [in] | normals | the normals computed for the source cloud |
Definition at line 108 of file correspondence_estimation_backprojection.h.
| void pcl::registration::CorrespondenceEstimationBackProjection< PointSource, PointTarget, NormalT, Scalar >::setTargetNormals | ( | const NormalsConstPtr & | normals | ) | [inline] |
Set the normals computed on the target point cloud.
| [in] | normals | the normals computed for the target cloud |
Definition at line 119 of file correspondence_estimation_backprojection.h.