ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
Feature.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <Optional.h>
11 
13 
14 namespace cloudViewer {
15 namespace t {
16 
17 namespace geometry {
18 class PointCloud;
19 }
20 
21 namespace pipelines {
22 namespace registration {
23 
38 core::Tensor ComputeFPFHFeature(
39  const geometry::PointCloud &input,
40  const utility::optional<int> max_nn = 100,
41  const utility::optional<double> radius = utility::nullopt,
42  const utility::optional<core::Tensor> &indices = utility::nullopt);
43 
60 core::Tensor CorrespondencesFromFeatures(const core::Tensor &source_features,
61  const core::Tensor &target_features,
62  bool mutual_filter = false,
63  float mutual_consistency_ratio = 0.1);
64 } // namespace registration
65 } // namespace pipelines
66 } // namespace t
67 } // namespace cloudViewer
::ccPointCloud PointCloud
Definition: PointCloud.h:19
core::Tensor ComputeFPFHFeature(const geometry::PointCloud &input, const utility::optional< int > max_nn, const utility::optional< double > radius, const utility::optional< core::Tensor > &indices)
Definition: Feature.cpp:23
core::Tensor CorrespondencesFromFeatures(const core::Tensor &source_features, const core::Tensor &target_features, bool mutual_filter, float mutual_consistent_ratio)
Function to find correspondences via 1-nearest neighbor feature matching. Target is used to construct...
Definition: Feature.cpp:280
constexpr nullopt_t nullopt
Definition: Optional.h:136
Generic file read and write utility for python interface.