Definition at line 276 of file Classifier.h. References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CPB(), mBackgroundMean, mDimensionality, and mObjectVectors. Referenced by UpdateClassifiers(). 00277 { 00278 const double* object = mObjectVectors->CPB(0, index); 00279 const double* backMean = mBackgroundMean->CPB(); 00280 double* dst = vector->CPB(); 00281 for(int i=0 ; i<mDimensionality ; i++) 00282 { 00283 dst[i] = object[i] - backMean[i]; 00284 } 00285 }
Here is the call graph for this function:
|