Public Member Functions | Private Attributes
pcl::segmentation::grabcut::GMM Class Reference

#include <grabcut.h>

List of all members.

Public Member Functions

std::size_t getK () const
 GMM ()
 Initialize GMM with ddesired number of gaussians.
 GMM (std::size_t K)
 Initialize GMM with ddesired number of gaussians.
Gaussianoperator[] (std::size_t pos)
const Gaussianoperator[] (std::size_t pos) const
float probabilityDensity (const Color &c)
float probabilityDensity (std::size_t i, const Color &c)
void resize (std::size_t K)
 resize gaussians
 ~GMM ()
 Destructor.

Private Attributes

std::vector< Gaussiangaussians_
 array of gaussians

Detailed Description

Definition at line 226 of file grabcut.h.


Constructor & Destructor Documentation

Initialize GMM with ddesired number of gaussians.

Definition at line 230 of file grabcut.h.

pcl::segmentation::grabcut::GMM::GMM ( std::size_t  K) [inline]

Initialize GMM with ddesired number of gaussians.

Definition at line 232 of file grabcut.h.

Destructor.

Definition at line 234 of file grabcut.h.


Member Function Documentation

std::size_t pcl::segmentation::grabcut::GMM::getK ( ) const [inline]
Returns:
K

Definition at line 237 of file grabcut.h.

Gaussian& pcl::segmentation::grabcut::GMM::operator[] ( std::size_t  pos) [inline]
Returns:
a reference to the gaussian at a given position

Definition at line 243 of file grabcut.h.

const Gaussian& pcl::segmentation::grabcut::GMM::operator[] ( std::size_t  pos) const [inline]
Returns:
a const reference to the gaussian at a given position

Definition at line 246 of file grabcut.h.

Returns:
the computed probability density of a color in this GMM

Definition at line 617 of file grabcut.cpp.

float pcl::segmentation::grabcut::GMM::probabilityDensity ( std::size_t  i,
const Color c 
)
Returns:
the computed probability density of a color in just one Gaussian

Definition at line 628 of file grabcut.cpp.

void pcl::segmentation::grabcut::GMM::resize ( std::size_t  K) [inline]

resize gaussians

Definition at line 240 of file grabcut.h.


Member Data Documentation

array of gaussians

Definition at line 256 of file grabcut.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:47:04