The Machine Perception Toolbox

[Introduction]- [News]- [Download]- [Screenshots]- [Manual (pdf)]- [Forums]- [API Reference]- [Repository ]

 

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

skinMixGauss Class Reference

#include <mixgauss.h>

Inheritance diagram for skinMixGauss:

Inheritance graph
[legend]
Collaboration diagram for skinMixGauss:

Collaboration graph
[legend]
List of all members.

Public Member Functions

double getMixProb (const RGBTRIPLE rgbt)
double getMixProb (const int rgb[])
 skinMixGauss ()
 ~skinMixGauss ()

Private Attributes

double m_Covariances [16][3]
double m_Means [16][3]
double m_Weights [16]

Constructor & Destructor Documentation

skinMixGauss  ) 
 

Definition at line 137 of file mixgauss.cpp.

References m_Covariances, m_Means, m_Weights, SKINCOVARIANCES, SKINMEANS, and SKINWEIGHTS.

00137                             : mixGauss() {
00138         memcpy(m_Means, SKINMEANS, 16*3*sizeof(double));
00139         memcpy(m_Covariances, SKINCOVARIANCES, 16*3*sizeof(double));
00140         memcpy(m_Weights, SKINWEIGHTS, 16*sizeof(double));
00141 }

~skinMixGauss  ) 
 

Definition at line 143 of file mixgauss.cpp.

00143 {}


Member Function Documentation

double getMixProb const RGBTRIPLE  rgbt  ) 
 

Definition at line 149 of file mixgauss.cpp.

References mixGauss::getMixProb(), m_Covariances, m_Means, and m_Weights.

00149                                                     {
00150         int rgb[3] = {(int)rgbt.rgbtRed, (int)rgbt.rgbtGreen, (int)rgbt.rgbtBlue};
00151         return(mixGauss::getMixProb(rgb, m_Means, m_Covariances, m_Weights));
00152 }

Here is the call graph for this function:

double getMixProb const int  rgb[]  ) 
 

Definition at line 145 of file mixgauss.cpp.

References mixGauss::getMixProb(), m_Covariances, m_Means, and m_Weights.

Referenced by MPHistogramHue::InitColorModel(), and MPHistogram< float, NUMBINS >::InitColorModel().

00145                                                {
00146         return(mixGauss::getMixProb(rgb, m_Means, m_Covariances, m_Weights));
00147 }

Here is the call graph for this function:


Member Data Documentation

double m_Covariances[16][3] [private]
 

Definition at line 26 of file mixgauss.h.

Referenced by getMixProb(), and skinMixGauss().

double m_Means[16][3] [private]
 

Definition at line 25 of file mixgauss.h.

Referenced by getMixProb(), and skinMixGauss().

double m_Weights[16] [private]
 

Definition at line 27 of file mixgauss.h.

Referenced by getMixProb(), and skinMixGauss().


The documentation for this class was generated from the following files:
Generated on Mon Nov 8 17:08:42 2004 for MPT by  doxygen 1.3.9.1