zxhproj v 2.2
zxhproj
|
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>
Public Member Functions | |
zxhMetricCC (void) | |
constructor | |
virtual | ~zxhMetricCC (void) |
virtual std::string | GetMetricType () |
GetMetricType()=0. | |
virtual zxhMetricBase * | Clone (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 |
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)
zxhMetricCC::~zxhMetricCC | ( | void | ) | [virtual] |
zxhMetricBase * zxhMetricCC::Clone | ( | zxhMetricBase *& | pRet | ) | [virtual] |
Reimplemented from zxhMetricBase.
Reimplemented in zxhMetricCCFFD2, and zxhMetricCCFFD2ConstDiscretePath.
int zxhMetricCC::GetValue | ( | zxhlfloat & | fValue | ) | [virtual] |