Inheritance diagram for w2img::GMMFilter::GMM:
After the GMM fit, the total P() will sum to 1, so multiplying by the scale will allow the sum to be the same as the original blob that was fit.
Public Member Functions | |
double | getScaling () const |
GMM () | |
GMM (const GaussianMixtureModel::GaussianComponent &a, double s) | |
double | getWeight () const |
double | getCx () const |
double | getCy () const |
double | getSigmax () const |
double | getSigmay () const |
double | getSigmaxy () const |
double | computeProbabilityDensityAt (double x, double y) const |
Value of Normal function at x,y given these parameters. | |
bool | isValid () const |
Friends | |
std::ostream & | operator<< (std::ostream &os, const GaussianComponent &obj) |
w2img::GMMFilter::GMM::GMM | ( | ) | [inline] |
w2img::GMMFilter::GMM::GMM | ( | const GaussianMixtureModel::GaussianComponent & | a, | |
double | s | |||
) | [inline] |
double w2img::GaussianMixtureModel::GaussianComponent::computeProbabilityDensityAt | ( | double | x, | |
double | y | |||
) | const [inherited] |
Value of Normal function at x,y given these parameters.
You typically want to weight this contribution by getWeight() This goes into the E-step in E-M.
double w2img::GaussianMixtureModel::GaussianComponent::getCx | ( | ) | const [inline, inherited] |
double w2img::GaussianMixtureModel::GaussianComponent::getCy | ( | ) | const [inline, inherited] |
double w2img::GMMFilter::GMM::getScaling | ( | ) | const [inline] |
double w2img::GaussianMixtureModel::GaussianComponent::getSigmax | ( | ) | const [inline, inherited] |
double w2img::GaussianMixtureModel::GaussianComponent::getSigmaxy | ( | ) | const [inline, inherited] |
double w2img::GaussianMixtureModel::GaussianComponent::getSigmay | ( | ) | const [inline, inherited] |
double w2img::GaussianMixtureModel::GaussianComponent::getWeight | ( | ) | const [inline, inherited] |
bool w2img::GaussianMixtureModel::GaussianComponent::isValid | ( | ) | const [inline, inherited] |
std::ostream& operator<< | ( | std::ostream & | os, | |
const GaussianComponent & | obj | |||
) | [friend, inherited] |