#include <sparsetv.h>
Classes | |
| struct | DecayFunction |
| Kernel methods. More... | |
Public Types | |
| using | DP = typename PM::DataPoints |
| enum | Encoding : std::uint8_t { ZERO, UBALL, BALL, SBALL, UPLATE, PLATE, SPLATE, USTICK, STICK, SSTICK, AWARE_TENSOR } |
| using | Field = Eigen::Matrix< Tensor, Eigen::Dynamic, 1 > |
| using | Index = typename NNS::Index |
| using | IndexMatrix = typename NNS::IndexMatrix |
| using | InvalidField = typename DP::InvalidField |
| using | Matrix = typename PM::Matrix |
| using | Matrix33 = Eigen::Matrix< T, 3, 3 > |
| using | NNS = Nabo::NearestNeighbourSearch< T > |
| using | PM = PointMatcher< T > |
| using | SparseTensor = Eigen::Matrix< T, 4, 1 > |
| using | SparseTensors = Eigen::Matrix< SparseTensor, Eigen::Dynamic, 1 > |
| using | Tensor = Eigen::Matrix< T, 3, 3 > |
| using | Tensors = Eigen::Matrix< Tensor, Eigen::Dynamic, 1 > |
| using | Vector = typename PM::Vector |
| using | Vector3 = Eigen::Matrix< T, 3, 1 > |
Public Member Functions | |
| void | ballVote (const DP &pts, bool doKnn=true) |
| void | cfvote (const DP &pts, bool doKnn=true) |
| void | decompose () |
| void | disableBallComponent () |
| void | encode (const DP &pts, Encoding encoding=Encoding::UBALL) |
| void | plateVote (const DP &pts, bool doKnn=true) |
| void | refine (const DP &pts) |
| void | stickVote (const DP &pts, bool doKnn=true) |
| TensorVoting (T sigma_=T(0.2), std::size_t k_=50) | |
| void | toDescriptors () |
| void | vote (const DP &pts) |
| Voting methods. More... | |
| ~TensorVoting () | |
Public Attributes | |
| Matrix | balls |
| Matrix | curveness |
| std::size_t | k |
| Matrix | normals |
| Matrix | plates |
| Matrix | pointness |
| const T | sigma |
| SparseTensors | sparseBall |
| SparseTensors | sparsePlate |
| SparseTensors | sparseStick |
| Matrix | sticks |
| Matrix | surfaceness |
| Matrix | tangents |
| Tensors | tensors |
Private Member Functions | |
| void | computeKnn (const DP &pts) |
Private Attributes | |
| Matrix | dist |
| IndexMatrix | indices |
Definition at line 52 of file sparsetv.h.
| using TensorVoting< T >::DP = typename PM::DataPoints |
Definition at line 56 of file sparsetv.h.
| using TensorVoting< T >::Field = Eigen::Matrix< Tensor, Eigen::Dynamic, 1> |
Definition at line 63 of file sparsetv.h.
| using TensorVoting< T >::Index = typename NNS::Index |
Definition at line 74 of file sparsetv.h.
| using TensorVoting< T >::IndexMatrix = typename NNS::IndexMatrix |
Definition at line 75 of file sparsetv.h.
| using TensorVoting< T >::InvalidField = typename DP::InvalidField |
Definition at line 58 of file sparsetv.h.
| using TensorVoting< T >::Matrix = typename PM::Matrix |
Definition at line 70 of file sparsetv.h.
| using TensorVoting< T >::Matrix33 = Eigen::Matrix<T, 3, 3> |
Definition at line 68 of file sparsetv.h.
| using TensorVoting< T >::NNS = Nabo::NearestNeighbourSearch<T> |
Definition at line 73 of file sparsetv.h.
| using TensorVoting< T >::PM = PointMatcher<T> |
Definition at line 55 of file sparsetv.h.
| using TensorVoting< T >::SparseTensor = Eigen::Matrix<T, 4, 1> |
Definition at line 60 of file sparsetv.h.
| using TensorVoting< T >::SparseTensors = Eigen::Matrix< SparseTensor, Eigen::Dynamic, 1> |
Definition at line 65 of file sparsetv.h.
| using TensorVoting< T >::Tensor = Eigen::Matrix<T, 3, 3> |
Definition at line 61 of file sparsetv.h.
| using TensorVoting< T >::Tensors = Eigen::Matrix< Tensor, Eigen::Dynamic, 1> |
Definition at line 64 of file sparsetv.h.
| using TensorVoting< T >::Vector = typename PM::Vector |
Definition at line 71 of file sparsetv.h.
| using TensorVoting< T >::Vector3 = Eigen::Matrix<T, 3, 1> |
Definition at line 67 of file sparsetv.h.
| enum TensorVoting::Encoding : std::uint8_t |
| Enumerator | |
|---|---|
| ZERO | |
| UBALL | |
| BALL | |
| SBALL | |
| UPLATE | |
| PLATE | |
| SPLATE | |
| USTICK | |
| STICK | |
| SSTICK | |
| AWARE_TENSOR | |
Definition at line 77 of file sparsetv.h.
| TensorVoting< T >::TensorVoting | ( | T | sigma_ = T(0.2), |
| std::size_t | k_ = 50 |
||
| ) |
Definition at line 38 of file sparsetv.hpp.
| TensorVoting< T >::~TensorVoting |
Definition at line 43 of file sparsetv.hpp.
| void TensorVoting< T >::ballVote | ( | const DP & | pts, |
| bool | doKnn = true |
||
| ) |
Definition at line 215 of file sparsetv.hpp.
| void TensorVoting< T >::cfvote | ( | const DP & | pts, |
| bool | doKnn = true |
||
| ) |
Definition at line 381 of file sparsetv.hpp.
|
private |
Definition at line 510 of file sparsetv.hpp.
| void TensorVoting< T >::decompose |
Definition at line 427 of file sparsetv.hpp.
| void TensorVoting< T >::disableBallComponent |
Definition at line 173 of file sparsetv.hpp.
| void TensorVoting< T >::encode | ( | const DP & | pts, |
| Encoding | encoding = Encoding::UBALL |
||
| ) |
Definition at line 55 of file sparsetv.hpp.
| void TensorVoting< T >::plateVote | ( | const DP & | pts, |
| bool | doKnn = true |
||
| ) |
Definition at line 312 of file sparsetv.hpp.
| void TensorVoting< T >::refine | ( | const DP & | pts | ) |
Definition at line 187 of file sparsetv.hpp.
| void TensorVoting< T >::stickVote | ( | const DP & | pts, |
| bool | doKnn = true |
||
| ) |
Definition at line 252 of file sparsetv.hpp.
| void TensorVoting< T >::toDescriptors |
Definition at line 474 of file sparsetv.hpp.
| void TensorVoting< T >::vote | ( | const DP & | pts | ) |
Voting methods.
Definition at line 49 of file sparsetv.hpp.
| Matrix TensorVoting< T >::balls |
Definition at line 101 of file sparsetv.h.
| Matrix TensorVoting< T >::curveness |
Definition at line 93 of file sparsetv.h.
|
private |
Definition at line 105 of file sparsetv.h.
|
private |
Definition at line 104 of file sparsetv.h.
| std::size_t TensorVoting< T >::k |
Definition at line 82 of file sparsetv.h.
| Matrix TensorVoting< T >::normals |
Definition at line 96 of file sparsetv.h.
| Matrix TensorVoting< T >::plates |
Definition at line 100 of file sparsetv.h.
| Matrix TensorVoting< T >::pointness |
Definition at line 94 of file sparsetv.h.
| const T TensorVoting< T >::sigma |
Definition at line 81 of file sparsetv.h.
| SparseTensors TensorVoting< T >::sparseBall |
Definition at line 88 of file sparsetv.h.
| SparseTensors TensorVoting< T >::sparsePlate |
Definition at line 87 of file sparsetv.h.
| SparseTensors TensorVoting< T >::sparseStick |
Definition at line 86 of file sparsetv.h.
| Matrix TensorVoting< T >::sticks |
Definition at line 99 of file sparsetv.h.
| Matrix TensorVoting< T >::surfaceness |
Definition at line 92 of file sparsetv.h.
| Matrix TensorVoting< T >::tangents |
Definition at line 97 of file sparsetv.h.
| Tensors TensorVoting< T >::tensors |
Definition at line 84 of file sparsetv.h.