#include <pcl/segmentation/grabcut_segmentation.h>
Public Member Functions |
|
GMM () | |
Initialize GMM with ddesired number of gaussians. More... |
|
GMM (std::size_t K) | |
Initialize GMM with ddesired number of gaussians. More... |
|
~GMM () | |
Destructor. More... |
|
std::size_t | getK () const |
void | resize (std::size_t K) |
resize gaussians More... |
|
Gaussian & | operator[] (std::size_t pos) |
const Gaussian & | operator[] (std::size_t pos) const |
float | probabilityDensity (const Color &c) |
float | probabilityDensity (std::size_t i, const Color &c) |
Detailed Description
Definition at line 222 of file grabcut_segmentation.h.
Constructor & Destructor Documentation
GMM() [1/2]
|
inline |
Initialize GMM with ddesired number of gaussians.
Definition at line 226 of file grabcut_segmentation.h.
GMM() [2/2]
|
inline |
Initialize GMM with ddesired number of gaussians.
Definition at line 228 of file grabcut_segmentation.h.
~GMM()
|
inline |
Destructor.
Definition at line 230 of file grabcut_segmentation.h.
Member Function Documentation
getK()
|
inline |
- Returns
- K
Definition at line 233 of file grabcut_segmentation.h.
operator[]() [1/2]
|
inline |
- Returns
- a reference to the gaussian at a given position
Definition at line 239 of file grabcut_segmentation.h.
operator[]() [2/2]
|
inline |
- Returns
- a const reference to the gaussian at a given position
Definition at line 242 of file grabcut_segmentation.h.
probabilityDensity() [1/2]
float pcl::segmentation::grabcut::GMM::probabilityDensity | ( | const Color & | c | ) |
- Returns
- the computed probability density of a color in this GMM
probabilityDensity() [2/2]
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
resize()
|
inline |
The documentation for this class was generated from the following file:
- pcl/segmentation/grabcut_segmentation.h
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1segmentation_1_1grabcut_1_1_g_m_m.html