43 #ifndef __RGB_COLOR_MODEL_H__ 44 #define __RGB_COLOR_MODEL_H__ 74 void Reset(
int nMaxNumberOfTriplets);
void SetFactor(float fFactor)
Data structure for the representation of a 3D vector.
void CalculateColorModel()
Mat3d inverse_rgb_covariance
void SetInverseCovariance(const Mat3d &inverse_covariance)
void SetMean(const Vec3d &mean)
float CalculateColorProbability(const Vec3d &rgb)
bool AddRGBTriplet(int r, int g, int b)
void Reset(int nMaxNumberOfTriplets)
GLdouble GLdouble GLdouble r
bool LoadFromFile(const char *pFileName)
bool SaveToFile(const char *pFileName)
int m_nMaxNumberOfTriplets
Data structure for the representation of a 3x3 matrix.
Training and application of an RGB color model on the basis of the Mahalanobis distance.
float CalculateColorDistanceSquared(int r, int g, int b)