Point Cloud Library (PCL)
1.14.1-dev
|
Helper class that fits a single Gaussian to color samples. More...
#include <pcl/segmentation/grabcut_segmentation.h>
Public Member Functions | |
GaussianFitter (float epsilon=0.0001f) | |
void | add (const Color &c) |
Add a color sample. More... | |
void | fit (Gaussian &g, std::size_t total_count, bool compute_eigens=false) const |
Build the gaussian out of all the added color samples. More... | |
float | getEpsilon () |
void | setEpsilon (float epsilon) |
set epsilon which will be added to the covariance matrix diagonal which avoids singular covariance matrix More... | |
Helper class that fits a single Gaussian to color samples.
Definition at line 256 of file grabcut_segmentation.h.
|
inline |
Definition at line 259 of file grabcut_segmentation.h.
void pcl::segmentation::grabcut::GaussianFitter::add | ( | const Color & | c | ) |
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.
|
inline |
Definition at line 271 of file grabcut_segmentation.h.
|
inline |
set epsilon which will be added to the covariance matrix diagonal which avoids singular covariance matrix
[in] | epsilon | user defined epsilon |
Definition at line 277 of file grabcut_segmentation.h.