An inner class containing pointers to the source and target feature clouds and the parameters needed to perform the correspondence search. This class extends FeatureContainerInterface, which contains abstract methods for any methods that do not depend on the FeatureT --- these methods can thus be called from a pointer to FeatureContainerInterface without casting to the derived class. More...
#include <correspondence_rejection_features.h>
Public Types | |
typedef pcl::PointCloud < FeatureT >::ConstPtr | FeatureCloudConstPtr |
typedef pcl::PointRepresentation < FeatureT >::ConstPtr | PointRepresentationConstPtr |
typedef boost::function< int(const pcl::PointCloud< FeatureT > &, int, std::vector< int > &, std::vector< float > &)> | SearchMethod |
Public Member Functions | |
FeatureContainer () | |
virtual double | getCorrespondenceScore (int index) |
Obtain a score between a pair of correspondences. | |
FeatureCloudConstPtr | getSourceFeature () |
FeatureCloudConstPtr | getTargetFeature () |
virtual bool | isCorrespondenceValid (int index) |
Check whether the correspondence pair at the given index is valid by computing the score and testing it against the user given threshold. | |
virtual bool | isValid () |
void | setDistanceThreshold (double thresh) |
void | setFeatureRepresentation (const PointRepresentationConstPtr &fr) |
Provide a boost shared pointer to a PointRepresentation to be used when comparing features. | |
void | setSourceFeature (const FeatureCloudConstPtr &source_features) |
void | setTargetFeature (const FeatureCloudConstPtr &target_features) |
Private Attributes | |
PointRepresentationConstPtr | feature_representation_ |
The internal point feature representation used. | |
SearchMethod | search_method_ |
FeatureCloudConstPtr | source_features_ |
FeatureCloudConstPtr | target_features_ |
double | thresh_ |
The L2 squared Euclidean threshold. |
An inner class containing pointers to the source and target feature clouds and the parameters needed to perform the correspondence search. This class extends FeatureContainerInterface, which contains abstract methods for any methods that do not depend on the FeatureT --- these methods can thus be called from a pointer to FeatureContainerInterface without casting to the derived class.
Definition at line 168 of file correspondence_rejection_features.h.
typedef pcl::PointCloud<FeatureT>::ConstPtr pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::FeatureCloudConstPtr |
Definition at line 171 of file correspondence_rejection_features.h.
typedef pcl::PointRepresentation<FeatureT>::ConstPtr pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::PointRepresentationConstPtr |
Definition at line 175 of file correspondence_rejection_features.h.
typedef boost::function<int (const pcl::PointCloud<FeatureT> &, int, std::vector<int> &, std::vector<float> &)> pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::SearchMethod |
Definition at line 173 of file correspondence_rejection_features.h.
pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::FeatureContainer | ( | ) | [inline] |
Definition at line 177 of file correspondence_rejection_features.h.
virtual double pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::getCorrespondenceScore | ( | int | index | ) | [inline, virtual] |
Obtain a score between a pair of correspondences.
[in] | the | index to check in the list of correspondences |
Implements pcl::registration::CorrespondenceRejectorFeatures::FeatureContainerInterface.
Definition at line 235 of file correspondence_rejection_features.h.
FeatureCloudConstPtr pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::getSourceFeature | ( | ) | [inline] |
Definition at line 188 of file correspondence_rejection_features.h.
FeatureCloudConstPtr pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::getTargetFeature | ( | ) | [inline] |
Definition at line 200 of file correspondence_rejection_features.h.
virtual bool pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::isCorrespondenceValid | ( | int | index | ) | [inline, virtual] |
Check whether the correspondence pair at the given index is valid by computing the score and testing it against the user given threshold.
[in] | the | index to check in the list of correspondences |
Implements pcl::registration::CorrespondenceRejectorFeatures::FeatureContainerInterface.
Definition at line 268 of file correspondence_rejection_features.h.
virtual bool pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::isValid | ( | ) | [inline, virtual] |
Implements pcl::registration::CorrespondenceRejectorFeatures::FeatureContainerInterface.
Definition at line 212 of file correspondence_rejection_features.h.
void pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::setDistanceThreshold | ( | double | thresh | ) | [inline] |
Definition at line 206 of file correspondence_rejection_features.h.
void pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::setFeatureRepresentation | ( | const PointRepresentationConstPtr & | fr | ) | [inline] |
Provide a boost shared pointer to a PointRepresentation to be used when comparing features.
[in] | fr | the point feature representation to be used |
Definition at line 225 of file correspondence_rejection_features.h.
void pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::setSourceFeature | ( | const FeatureCloudConstPtr & | source_features | ) | [inline] |
Definition at line 182 of file correspondence_rejection_features.h.
void pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::setTargetFeature | ( | const FeatureCloudConstPtr & | target_features | ) | [inline] |
Definition at line 194 of file correspondence_rejection_features.h.
PointRepresentationConstPtr pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::feature_representation_ [private] |
The internal point feature representation used.
Definition at line 284 of file correspondence_rejection_features.h.
SearchMethod pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::search_method_ [private] |
Definition at line 278 of file correspondence_rejection_features.h.
FeatureCloudConstPtr pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::source_features_ [private] |
Definition at line 277 of file correspondence_rejection_features.h.
FeatureCloudConstPtr pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::target_features_ [private] |
Definition at line 277 of file correspondence_rejection_features.h.
double pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer< FeatureT >::thresh_ [private] |
The L2 squared Euclidean threshold.
Definition at line 281 of file correspondence_rejection_features.h.