Sets the initial value of vector[index]. Can also be used to reset the classifier. Definition at line 72 of file Classifier.h. References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CPB(), mDimensionality, mObjectVectors, and mSize. Referenced by Impala::Core::Tracking::TrackerBackFore::SetForeground(). 00073 { 00074 if(index >= mSize) 00075 std::cout << "[Classifier::SetVec] Classifier out of bounds" << std::endl; 00076 const double* vp = v.CPB(0,0); 00077 double* op = mObjectVectors->CPB(0,index); 00078 memcpy(op, vp, mDimensionality*sizeof(double)); 00079 }
Here is the call graph for this function:
|