Helper class that fits a single Gaussian to color samples.
More...
#include <pcl/segmentation/grabcut.h>
|
| | GaussianFitter (float epsilon=0.0001) |
| |
| 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 260 of file grabcut.h.
| pcl::segmentation::grabcut::GaussianFitter::GaussianFitter |
( |
float |
epsilon = 0.0001 | ) |
|
|
inline |
| void pcl::segmentation::grabcut::GaussianFitter::add |
( |
const Color & |
c | ) |
|
| 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.
| float pcl::segmentation::grabcut::GaussianFitter::getEpsilon |
( |
| ) |
|
|
inline |
| void pcl::segmentation::grabcut::GaussianFitter::setEpsilon |
( |
float |
epsilon | ) |
|
|
inline |
set epsilon which will be added to the covariance matrix diagonal which avoids singular covariance matrix
- Parameters
-
| [in] | epsilon | user defined epsilon |
Definition at line 284 of file grabcut.h.
The documentation for this class was generated from the following file:
- /builddir/build/BUILD/pcl-pcl-1.7.1/segmentation/include/pcl/segmentation/grabcut.h