40 #ifndef PCL_PAIRWISE_POTENTIAL_H_
41 #define PCL_PAIRWISE_POTENTIAL_H_
45 #include <pcl/ml/permutohedral.h>
57 PairwisePotential (
const std::vector<float> &feature,
const int D,
const int N,
const float w);
64 compute (std::vector<float> &out,
const std::vector<float> &in,
65 std::vector<float> &tmp,
int value_size)
const;
Implementation of a high-dimensional gaussian filtering using the permutohedral lattice.
std::vector< float > bary_
This file defines compatibility wrappers for low level I/O functions.
Permutohedral lattice_
Permutohedral lattice.
std::vector< float > norm_
norm
std::vector< float > features_
PairwisePotential(const std::vector< float > &feature, const int D, const int N, const float w)
Constructor for DenseCrf class.
~PairwisePotential()
Deconstructor for DenseCrf class.
void compute(std::vector< float > &out, const std::vector< float > &in, std::vector< float > &tmp, int value_size) const
int N_
Number of variables.