Point Cloud Library (PCL)  1.7.0
Public Member Functions
pcl::segmentation::grabcut::GaussianFitter Class Reference

Helper class that fits a single Gaussian to color samples. More...

#include <pcl/segmentation/grabcut.h>

List of all members.

Public Member Functions

 GaussianFitter (float epsilon=0.0001)
void add (const Color &c)
 Add a color sample.
void fit (Gaussian &g, std::size_t total_count, bool compute_eigens=false) const
 Build the gaussian out of all the added color samples.
float getEpsilon ()
void setEpsilon (float epsilon)
 set epsilon which will be added to the covariance matrix diagonal which avoids singular covariance matrix

Detailed Description

Helper class that fits a single Gaussian to color samples.

Definition at line 260 of file grabcut.h.


Constructor & Destructor Documentation

pcl::segmentation::grabcut::GaussianFitter::GaussianFitter ( float  epsilon = 0.0001) [inline]

Definition at line 263 of file grabcut.h.


Member Function Documentation

Add a color sample.

void pcl::segmentation::grabcut::GaussianFitter::fit ( Gaussian g,
std::size_t  total_count,
bool  compute_eigens = false 
) const

Build the gaussian out of all the added color samples.

Returns:
epsilon

Definition at line 278 of file grabcut.h.

set epsilon which will be added to the covariance matrix diagonal which avoids singular covariance matrix

Parameters:
[in]epsilonuser defined epsilon

Definition at line 284 of file grabcut.h.


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