User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Math - Statistics - MeanCovariance2dC
 

  PUBLIC
MeanCovariance2dC::MeanCovariance2dC(void)
MeanCovariance2dC::MeanCovariance2dC(const FMeanCovarianceC<2> &)
MeanCovariance2dC::MeanCovariance2dC(const FVectorC<2> &)
MeanCovariance2dC::MeanCovariance2dC(const FMeanC<2> &)
MeanCovariance2dC::MeanCovariance2dC(SizeT,const FVectorC<2> &,const FMatrixC<2,2> &)
FMeanCovarianceC::Copy(void) const
FMeanCovarianceC::Number(void) const
FMeanCovarianceC::Mean(void) const
FMeanCovarianceC::Covariance(void) const
FMeanCovarianceC::SetZero(void)
FMeanCovarianceC::operator +=(const FVectorC &)
FMeanCovarianceC::operator -=(const FVectorC &)
FMeanCovarianceC::operator +=(const FMeanC &)
FMeanCovarianceC::operator -=(const FMeanC &)
FMeanCovarianceC::operator +=(const FMeanCovarianceC &)
FMeanCovarianceC::operator -=(const FMeanCovarianceC &)
FMeanCovarianceC::Add(const FVectorC &,const FVectorC &)
FMeanCovarianceC::Remove(const FVectorC &,const FVectorC &)
FMeanCovarianceC::SetSum(const FMeanCovarianceC &,const FMeanCovarianceC &)
FMeanCovarianceC::operator *(const FMeanCovarianceC &) const

   MeanCovariance2dC   
 
Mean covariance in 2 dimentions.
 
include "Ravl/MeanCovariance2d.hh"
Created:30/4/2002 
User Level:Normal
Library:RavlMath
In Scope:RavlN

Parent Classes: Methods:
MeanCovariance2dC()
Default constructor.
Creates zero mean and zero covariance matrix representing the fixed-dimensional set containing no data points.

MeanCovariance2dC(const FMeanCovarianceC<2> & mc)
Construct from base class.

MeanCovariance2dC(const FVectorC<2> & point)
Constructor
Creates the mean vector and zero covariance matrix representing the data set containing just one data point.

MeanCovariance2dC(const FMeanC<2> & mean)
Creates the mean vector and zero covariance matrix representing the data set represented by the 'mean'.

MeanCovariance2dC(SizeT n,const FVectorC<2> & mean,const FMatrixC<2,2> & ncov)
Creates the mean vector and zero covariance matrix representing the data set containing 'n' points and represented by the 'mean' and the covariance matrix 'cov'.

#include "Ravl/FMeanCovariance.hh"
FMeanCovarianceC<2> Copy() const
Returns a new physical copy of this object.

Information about an object
SizeT Number() const
Returns the number of data points which are represented by this object.

const FVectorC<2> & Mean() const
Access the mean.
Returns the mean vector of data points which are represented by this object.

const FMatrixC<2,2> & Covariance() const
Access the covariance.
Returns the covariance matrix of data points which are represented by this object. Object modification -------------------

const FMeanCovarianceC<2> & SetZero()
Total initialization of this object resulting in the representation the empty set of data points.

const FMeanCovarianceC<2> & operator +=(const FVectorC<2> & point)
Adds one point to the set of data points.

const FMeanCovarianceC<2> & operator -=(const FVectorC<2> & point)
Removes one point from the set of data points.
Be carefull to remove a point which was already added to the set, otherwise the representation will not describe a real set.

const FMeanCovarianceC<2> & operator +=(const FMeanC<2> & mean)
Adds a number of data poits represented by the 'mean' and zero covariance matrix to this set.

const FMeanCovarianceC<2> & operator -=(const FMeanC<2> & mean)
Removes a number of data poits represented by the 'mean' and zero covariance matrix from this set.
Be carefull to remove points which were already added to the set, otherwise the representation will not describe a real set.

const FMeanCovarianceC<2> & operator +=(const FMeanCovarianceC<2> & meanCov)
Adds a number of data points represented by the 'meanCov' structure to this set.

const FMeanCovarianceC<2> & operator -=(const FMeanCovarianceC<2> & meanCov)
Removes a number of data points represented by the 'meanCov' structure from this set.
Be carefull to remove points which were already added to the set, otherwise the representation will not describe a real set.

const FMeanCovarianceC<2> & Add(const FVectorC<2> & point,const FVectorC<2> & var)
Updates the mean and the covariance matrix by adding one N-d point whose coordinates are known with the error described by the diagonal convariance matrix represented byt the vector 'var'.

const FMeanCovarianceC<2> & Remove(const FVectorC<2> & point,const FVectorC<2> & var)
Updates the mean and the covariance matrix by removing one N-d point whose coordinates are known with the error described by the diagonal convariance matrix represented byt the vector 'var'. Be carefull to remove the point which was already added to the set, otherwise the representation will not describe a real set.

const FMeanCovarianceC<2> & SetSum(const FMeanCovarianceC<2> & meanCov1,const FMeanCovarianceC<2> & meanCov2)
This object is set to be the union of two set of data points 'meanCov1' and 'meanCov2'.

FMeanCovarianceC<2> operator *(const FMeanCovarianceC<2> & oth) const
Calculate the product of the two probability density functions.
This assumes the estimates of the distributions are accurate. (The number of samples is ignored)


Maintainer:Charles Galambos, Created: 30/4/2002, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002