Public Member Functions | Public Attributes
GMM Class Reference

#include <gmm.h>

List of all members.

Public Member Functions

void alloc (const int number_of_kernel)
void dispparams () const
void free ()
 GMM (const double em_threshold=5.0e-2, const int max_iterations=50, const int min_iterations=5)
 GMM (const GMM &x)
double GmmEm (const std::vector< GMMFloatPnt > &pts)
float grabCutLikelihood (const GMMFloatPnt &x) const
void initkernels (const std::vector< GMMFloatPnt > &pts, const float sigma)
void kmeansInit (const std::vector< GMMFloatPnt > &pts, const float sigma)
double learn (const std::vector< GMMFloatPnt > &pts)
void loadgmm (const fs::path &loadfilepath)
float maxProbability (const GMMFloatPnt &x) const
float minl2clustercenterdist (const GMMFloatPnt &x) const
GMMoperator= (const GMM &x)
float probability (const GMMFloatPnt &x) const
void savegmm (const fs::path &savefilepath) const
int which_kernel (const GMMFloatPnt &x) const
 ~GMM ()

Public Attributes

double em_thresh
Gaussiankernel
double max_iter
double min_iter
int nk
float * w

Detailed Description

Definition at line 201 of file gmm.h.


Constructor & Destructor Documentation

GMM::GMM ( const double  em_threshold = 5.0e-2,
const int  max_iterations = 50,
const int  min_iterations = 5 
) [inline]

Definition at line 211 of file gmm.h.

GMM::GMM ( const GMM x) [inline]

Definition at line 217 of file gmm.h.

GMM::~GMM ( ) [inline]

Definition at line 247 of file gmm.h.


Member Function Documentation

void GMM::alloc ( const int  number_of_kernel) [inline]

Definition at line 253 of file gmm.h.

void GMM::dispparams ( ) const [inline]

Definition at line 334 of file gmm.h.

void GMM::free ( ) [inline]

Definition at line 266 of file gmm.h.

double GMM::GmmEm ( const std::vector< GMMFloatPnt > &  pts)

Definition at line 233 of file gmm.cpp.

float GMM::grabCutLikelihood ( const GMMFloatPnt x) const [inline]

Definition at line 301 of file gmm.h.

void GMM::initkernels ( const std::vector< GMMFloatPnt > &  pts,
const float  sigma 
)

Definition at line 384 of file gmm.cpp.

void GMM::kmeansInit ( const std::vector< GMMFloatPnt > &  pts,
const float  sigma 
)

Definition at line 273 of file gmm.cpp.

double GMM::learn ( const std::vector< GMMFloatPnt > &  pts)

Definition at line 105 of file gmm.cpp.

void GMM::loadgmm ( const fs::path loadfilepath)

Definition at line 439 of file gmm.cpp.

float GMM::maxProbability ( const GMMFloatPnt x) const [inline]

Definition at line 287 of file gmm.h.

float GMM::minl2clustercenterdist ( const GMMFloatPnt x) const [inline]

Definition at line 316 of file gmm.h.

GMM& GMM::operator= ( const GMM x) [inline]

Definition at line 228 of file gmm.h.

float GMM::probability ( const GMMFloatPnt x) const [inline]

Definition at line 278 of file gmm.h.

void GMM::savegmm ( const fs::path savefilepath) const

Definition at line 419 of file gmm.cpp.

int GMM::which_kernel ( const GMMFloatPnt x) const

Definition at line 85 of file gmm.cpp.


Member Data Documentation

Definition at line 206 of file gmm.h.

Definition at line 205 of file gmm.h.

double GMM::max_iter

Definition at line 207 of file gmm.h.

double GMM::min_iter

Definition at line 208 of file gmm.h.

int GMM::nk

Definition at line 203 of file gmm.h.

float* GMM::w

Definition at line 204 of file gmm.h.


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


tabletop_pushing
Author(s): Tucker Hermans
autogenerated on Wed Nov 27 2013 11:59:45