42 size_t Num()
const {
return data_.cols(); }
49 std::shared_ptr<Feature>
SelectByIndex(
const std::vector<size_t> &indices,
50 bool invert =
false)
const;
89 bool mutual_filter =
false,
90 float mutual_consistency_ratio = 0.1);
A 3D cloud and its associated features (color, normals, scalar fields, etc.)
KDTree search parameters for pure KNN search.
Base class for KDTree search parameters.
Class to store featrues for registration.
std::shared_ptr< Feature > SelectByIndex(const std::vector< size_t > &indices, bool invert=false) const
Selects features from input Feature group, with indices in indices, and returns a new Feature group w...
size_t Dimension() const
Returns feature dimensions per point.
void Resize(int dim, int n)
size_t Num() const
Returns number of points.
Eigen::MatrixXd data_
Data buffer storing features.
std::vector< Eigen::Vector2i > CorrespondenceSet
constexpr nullopt_t nullopt
std::shared_ptr< Feature > ComputeFPFHFeature(const ccPointCloud &input, const geometry::KDTreeSearchParam &search_param=geometry::KDTreeSearchParamKNN(), const utility::optional< std::vector< size_t >> &indices=utility::nullopt)
CorrespondenceSet CorrespondencesFromFeatures(const Feature &source_features, const Feature &target_features, bool mutual_filter=false, float mutual_consistency_ratio=0.1)
Function to find correspondences via 1-nearest neighbor feature matching. Target is used to construct...
Generic file read and write utility for python interface.