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

nonSkinMixGauss Class Reference

#include <mixgauss.h>

Inheritance diagram for nonSkinMixGauss:

Inheritance graph
[legend]
Collaboration diagram for nonSkinMixGauss:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Private Attributes

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

Constructor & Destructor Documentation

nonSkinMixGauss  ) 
 

Definition at line 154 of file mixgauss.cpp.

References m_Covariances, m_Means, m_Weights, NONSKINCOVARIANCES, NONSKINMEANS, and NONSKINWEIGHTS.

00154                                   : mixGauss() {
00155         memcpy(m_Means, NONSKINMEANS, 16*3*sizeof(double));
00156         memcpy(m_Covariances, NONSKINCOVARIANCES, 16*3*sizeof(double));
00157         memcpy(m_Weights, NONSKINWEIGHTS, 16*sizeof(double));
00158 }

~nonSkinMixGauss  ) 
 

Definition at line 160 of file mixgauss.cpp.

00160 {}


Member Function Documentation

double getMixProb const RGBTRIPLE  rgbt  ) 
 

Definition at line 166 of file mixgauss.cpp.

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

00166                                                        {
00167         int rgb[3] = {(int)rgbt.rgbtRed, (int)rgbt.rgbtGreen, (int)rgbt.rgbtBlue};
00168         return(mixGauss::getMixProb(rgb, m_Means, m_Covariances, m_Weights));
00169 }

Here is the call graph for this function:

double getMixProb const int  rgb[]  ) 
 

Definition at line 162 of file mixgauss.cpp.

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

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

00162                                                   {
00163         return(mixGauss::getMixProb(rgb, m_Means, m_Covariances, m_Weights));
00164 }

Here is the call graph for this function:


Member Data Documentation

double m_Covariances[16][3] [private]
 

Definition at line 39 of file mixgauss.h.

Referenced by getMixProb(), and nonSkinMixGauss().

double m_Means[16][3] [private]
 

Definition at line 38 of file mixgauss.h.

Referenced by getMixProb(), and nonSkinMixGauss().

double m_Weights[16] [private]
 

Definition at line 40 of file mixgauss.h.

Referenced by getMixProb(), and nonSkinMixGauss().


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