38 #ifndef PCL_REGISTRATION_CORRESPONDENCE_REJECTION_VAR_TRIMMED_H_
39 #define PCL_REGISTRATION_CORRESPONDENCE_REJECTION_VAR_TRIMMED_H_
48 namespace registration
65 using CorrespondenceRejector::input_correspondences_;
66 using CorrespondenceRejector::rejection_name_;
67 using CorrespondenceRejector::getClassName;
78 rejection_name_ =
"CorrespondenceRejectorVarTrimmed";
97 template <
typename Po
intT>
inline void
100 if (!data_container_)
109 template <
typename Po
intT>
inline void
112 if (!data_container_)
156 double trimmed_distance_;
176 typedef boost::shared_ptr<DataContainerInterface> DataContainerPtr;
179 DataContainerPtr data_container_;
185 float optimizeInlierRatio (std::vector <double> &dists);