Point Cloud Library (PCL)  1.9.1-dev
List of all members | Classes | Public Member Functions | Public Attributes
pcl::Permutohedral Class Reference

Implementation of a high-dimensional gaussian filtering using the permutohedral lattice. More...

#include <pcl/ml/permutohedral.h>

Classes

struct  Neighbors
 

Public Member Functions

 Permutohedral ()
 Constructor for Permutohedral class. More...
 
 ~Permutohedral ()
 Deconstructor for Permutohedral class. More...
 
void init (const std::vector< float > &feature, const int feature_dimension, const int N)
 initialization More...
 
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 initOLD (const std::vector< float > &feature, const int feature_dimension, const int N)
 
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
 
void debug ()
 
size_t generateHashKey (const std::vector< short > &k)
 

Public Attributes

int N_
 Number of variables. More...
 
std::vector< Neighborsblur_neighbors_
 
int M_
 size of sparse discretized space More...
 
int d_
 dimension of feature More...
 
std::vector< float > offset_
 
std::vector< float > offsetTMP_
 
std::vector< float > barycentric_
 
Neighborsblur_neighborsOLD_
 
int * offsetOLD_
 
float * barycentricOLD_
 
std::vector< float > baryOLD_
 

Detailed Description

Implementation of a high-dimensional gaussian filtering using the permutohedral lattice.

Author
Christian Potthast (potth.nosp@m.ast@.nosp@m.usc.e.nosp@m.du)

Adams_fasthigh-dimensional author = {Andrew Adams and Jongmin Baek and Myers Abraham Davis}, title = {Fast high-dimensional filtering using the permutohedral lattice}, booktitle = {Computer Graphics Forum (EG 2010 Proceedings}, year = {}, pages = {2010} }

Definition at line 69 of file permutohedral.h.

Constructor & Destructor Documentation

pcl::Permutohedral::Permutohedral ( )

Constructor for Permutohedral class.

Referenced by pcl::Permutohedral::Neighbors::Neighbors().

pcl::Permutohedral::~Permutohedral ( )
inline

Deconstructor for Permutohedral class.

Definition at line 84 of file permutohedral.h.

References compute(), computeOLD(), debug(), init(), and initOLD().

Member Function Documentation

void pcl::Permutohedral::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

Referenced by ~Permutohedral().

void pcl::Permutohedral::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

Referenced by ~Permutohedral().

void pcl::Permutohedral::debug ( )

Referenced by ~Permutohedral().

size_t pcl::Permutohedral::generateHashKey ( const std::vector< short > &  k)
inline

Definition at line 109 of file permutohedral.h.

References d_.

void pcl::Permutohedral::init ( const std::vector< float > &  feature,
const int  feature_dimension,
const int  N 
)

initialization

Referenced by ~Permutohedral().

void pcl::Permutohedral::initOLD ( const std::vector< float > &  feature,
const int  feature_dimension,
const int  N 
)

Referenced by ~Permutohedral().

Member Data Documentation

std::vector<float> pcl::Permutohedral::barycentric_

Definition at line 136 of file permutohedral.h.

float* pcl::Permutohedral::barycentricOLD_

Definition at line 140 of file permutohedral.h.

std::vector<float> pcl::Permutohedral::baryOLD_

Definition at line 141 of file permutohedral.h.

std::vector<Neighbors> pcl::Permutohedral::blur_neighbors_

Definition at line 126 of file permutohedral.h.

Neighbors* pcl::Permutohedral::blur_neighborsOLD_

Definition at line 138 of file permutohedral.h.

int pcl::Permutohedral::d_

dimension of feature

Definition at line 132 of file permutohedral.h.

Referenced by generateHashKey().

int pcl::Permutohedral::M_

size of sparse discretized space

Definition at line 129 of file permutohedral.h.

int pcl::Permutohedral::N_

Number of variables.

Definition at line 124 of file permutohedral.h.

std::vector<float> pcl::Permutohedral::offset_

Definition at line 134 of file permutohedral.h.

int* pcl::Permutohedral::offsetOLD_

Definition at line 139 of file permutohedral.h.

std::vector<float> pcl::Permutohedral::offsetTMP_

Definition at line 135 of file permutohedral.h.


The documentation for this class was generated from the following file: