zxhproj v 2.2
zxhproj

zxhMetricCC Class Reference

use square of correlation coefficient = ( SumAB - SumA*SumB/N )^2 /( (SumA2 - SumA*SumA/N)*(SumB2-SumB*SumB/N) ) ; OR use minus sum square difference = -(sumA2+sumB2-2*sumAB) More...

#include <zxhMetricCC.h>

Inheritance diagram for zxhMetricCC:
zxhMetricBase zxhMetricCCFFD2 zxhMetricCCFFD2ConstDiscretePath

List of all members.

Public Member Functions

 zxhMetricCC (void)
 constructor
virtual ~zxhMetricCC (void)
virtual std::string GetMetricType ()
 GetMetricType()=0.
virtual zxhMetricBaseClone (zxhMetricBase *&pRet)
virtual int GetValue (zxhlfloat &fValue)
virtual void SetMetricToSquareCC ()
virtual void SetMetricToMinusSSD ()
virtual bool IsSquareCCMetric ()

Protected Attributes

bool m_bIsCC
 compute square cc or sum square difference

Detailed Description

use square of correlation coefficient = ( SumAB - SumA*SumB/N )^2 /( (SumA2 - SumA*SumA/N)*(SumB2-SumB*SumB/N) ) ; OR use minus sum square difference = -(sumA2+sumB2-2*sumAB)


Constructor & Destructor Documentation

zxhMetricCC::~zxhMetricCC ( void  ) [virtual]
Returns:

Member Function Documentation

zxhMetricBase * zxhMetricCC::Clone ( zxhMetricBase *&  pRet) [virtual]
Returns:

Reimplemented from zxhMetricBase.

Reimplemented in zxhMetricCCFFD2, and zxhMetricCCFFD2ConstDiscretePath.

int zxhMetricCC::GetValue ( zxhlfloat &  fValue) [virtual]
Returns:

Implements zxhMetricBase.

Reimplemented in zxhMetricCCFFD2.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs