#include <gmm.h>
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 | 
| GMM & | operator= (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 | 
| Gaussian * | kernel | 
| double | max_iter | 
| double | min_iter | 
| int | nk | 
| float * | w | 
| GMM::GMM | ( | const double | em_threshold = 5.0e-2,  | 
        
| const int | max_iterations = 50,  | 
        ||
| const int | min_iterations = 5  | 
        ||
| ) |  [inline] | 
        
| void GMM::alloc | ( | const int | number_of_kernel | ) |  [inline] | 
        
| void GMM::dispparams | ( | ) |  const [inline] | 
        
| double GMM::GmmEm | ( | const std::vector< GMMFloatPnt > & | pts | ) | 
| float GMM::grabCutLikelihood | ( | const GMMFloatPnt & | x | ) |  const [inline] | 
        
| void GMM::initkernels | ( | const std::vector< GMMFloatPnt > & | pts, | 
| const float | sigma | ||
| ) | 
| void GMM::kmeansInit | ( | const std::vector< GMMFloatPnt > & | pts, | 
| const float | sigma | ||
| ) | 
| double GMM::learn | ( | const std::vector< GMMFloatPnt > & | pts | ) | 
| void GMM::loadgmm | ( | const fs::path & | loadfilepath | ) | 
| float GMM::maxProbability | ( | const GMMFloatPnt & | x | ) |  const [inline] | 
        
| float GMM::minl2clustercenterdist | ( | const GMMFloatPnt & | x | ) |  const [inline] | 
        
| float GMM::probability | ( | const GMMFloatPnt & | x | ) |  const [inline] | 
        
| void GMM::savegmm | ( | const fs::path & | savefilepath | ) | const | 
| int GMM::which_kernel | ( | const GMMFloatPnt & | x | ) | const | 
| double GMM::em_thresh | 
| double GMM::max_iter | 
| double GMM::min_iter |