Definition at line 119 of file FikSvm.h. References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), GetAMat(), GetBMat(), GetRowFromHMat(), mFikSvm, mNrBins, mRho, and Impala::Core::Matrix::SetRow(). Referenced by Impala::Persistency::FikSvmRepositoryInFile::Get(). 00120 { 00121 int featDim = h->CH(); 00122 FAC* c = new FAC(featDim, mNrBins); 00123 c->rho = mRho; 00124 mFikSvm.push_back(c); 00125 int idx = mFikSvm.size() - 1; 00126 for (int i=0 ; i<featDim ; i++) 00127 { 00128 Mat* row = GetRowFromHMat(idx, i); 00129 Matrix::SetRow(row, 0, h, i); 00130 delete row; 00131 } 00132 Mat* dstA = GetAMat(idx); 00133 Matrix::SetRow(dstA, 0, a, 0); 00134 delete dstA; 00135 Mat* dstB = GetBMat(idx); 00136 Matrix::SetRow(dstB, 0, b, 0); 00137 delete dstB; 00138 }
Here is the call graph for this function:
|