41#pragma GCC system_header
86 const std::vector<float>&
in,
98 const std::vector<float>&
in,
113 for (
int i = 0; i <
d_; i++) {
164 std::cout <<
"GROW" << std::endl;
195 for (std::size_t i = 0; i <
key_size_; i++) {
220 return static_cast<int>(
filled_);
231 find(
const short* k,
bool create =
false)
243 for (std::size_t i = 0; i <
key_size_; i++)
Iterator class for point clouds with or without given indices.
HashTableOLD(int key_size, int n_elements)
const short * getKey(int i) const
std::size_t hash(const short *k)
int find(const short *k, bool create=false)
Implementation of a high-dimensional gaussian filtering using the permutohedral lattice.
void initOLD(const std::vector< float > &feature, const int feature_dimension, const int N)
Permutohedral()
Constructor for Permutohedral class.
int M_
Size of sparse discretized space.
int N_
Number of variables.
std::vector< float > barycentric_
Neighbors * blur_neighborsOLD_
std::vector< float > offsetTMP_
std::size_t generateHashKey(const std::vector< short > &k)
Pseudo radnom generator.
~Permutohedral()
Deconstructor for Permutohedral class.
std::vector< float > baryOLD_
int d_
Dimension of feature.
void compute(std::vector< float > &out, const std::vector< float > &in, int value_size, int in_offset=0, int out_offset=0, int in_size=-1, int out_size=-1) const
void init(const std::vector< float > &feature, const int feature_dimension, const int N)
Initialization.
std::vector< Neighbors > blur_neighbors_
void computeOLD(std::vector< float > &out, const std::vector< float > &in, int value_size, int in_offset=0, int out_offset=0, int in_size=-1, int out_size=-1) const
std::vector< float > offset_
#define PCL_MAKE_ALIGNED_OPERATOR_NEW
Macro to signal a class requires a custom allocator.
Defines functions, macros and traits for allocating and using memory.
Neighbors(int n1=0, int n2=0)