40 #ifndef PCL_REGISTRATION_CORRESPONDENCE_REJECTION_TRIMMED_H_
41 #define PCL_REGISTRATION_CORRESPONDENCE_REJECTION_TRIMMED_H_
43 #include <pcl/registration/correspondence_rejection.h>
47 namespace registration
70 typedef boost::shared_ptr<CorrespondenceRejectorTrimmed>
Ptr;
71 typedef boost::shared_ptr<const CorrespondenceRejectorTrimmed>
ConstPtr;
75 overlap_ratio_ (0.5f),
76 nr_min_correspondences_ (0)
78 rejection_name_ =
"CorrespondenceRejectorTrimmed";
90 setOverlapRatio (
float ratio) { overlap_ratio_ = std::min (1.0f, std::max (0.0f, ratio)); };
126 getRemainingCorrespondences (*input_correspondences_, correspondences);
139 #include <pcl/registration/impl/correspondence_rejection_trimmed.hpp>
141 #endif // PCL_REGISTRATION_CORRESPONDENCE_REJECTION_TRIMMED_H_