Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Matrix::Mat* Impala::Core::Training::TrainDataSrcKernelTable::MakeDataCopy ( int  maxCol,
int  maxRow 
) [inline, virtual]

Reimplemented from Impala::Core::Training::TrainDataSrc.

Definition at line 70 of file TrainDataSrcKernelTable.h.

References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::GetColumn2(), mTable, and Impala::Core::Array::Pattern::PatSet().

00071     {
00072         Matrix::Mat* storage = mTable->GetColumn2()->GetStorage();
00073         if(maxCol == -1 || maxCol > storage->CW())
00074             maxCol = storage->CW();
00075         if(maxRow == -1 || maxRow > storage->CH())
00076             maxRow = storage->CH();
00077         Matrix::Mat* m = new Matrix::Mat(maxCol, maxRow, 0, 0);
00078         Array::Pattern::PatSet(m, storage, 0, 0, maxCol, maxRow, 0, 0);
00079         return m;
00080     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:25:10 2010 for ImpalaSrc by  doxygen 1.5.1