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

template<class DstArrayT, class SrcArrayT>
void Impala::Core::Array::Pattern::PatSet ( DstArrayT *&  dst,
SrcArrayT *  src,
int  srcX,
int  srcY,
int  width,
int  height,
int  dstX,
int  dstY,
int  minimalBW = 0,
int  minimalBH = 0 
) [inline]

Definition at line 55 of file PatSet.h.

References FuncSet(), PX_COUT, PX_ENDL, PxArrayForceNonDistributed(), and PxRunParallel().

Referenced by Impala::Core::Array::CheckBorderSize(), Impala::Core::Tracking::TrackerBackFore::FillSearchArea(), Impala::Core::Tracking::ImagePyramid::ImagePyramid(), Impala::Core::Tracking::TrackerGeneralised::Initialize(), Impala::Core::Tracking::TrackerBackFore::Initialize(), Impala::Core::Training::TrainDataSrcKernelTable::MakeDataCopy(), Impala::Core::Array::MakeFromData(), Impala::Core::Array::MakeFromData2(), Impala::Core::Array::MakeIntegral(), Impala::Core::Tracking::TrackerGeneralised::Process(), Impala::Core::Tracking::TrackerBackFore::Process(), Impala::Core::Tracking::KalmanTemplate::Reset(), Impala::Core::Array::Reverse(), Impala::Core::Tracking::SearcherPyramid::SearchObject(), Impala::Core::Tracking::SearcherAroundLastPos::SearchObject(), Impala::Core::Array::Set(), Impala::Core::Array::SetPart(), Impala::Core::Array::Sort(), Impala::Core::Training::LogisticRegression::Train(), and Impala::Core::Tracking::KalmanTemplate::Update().

00058 {
00059     if (dst == 0)
00060         dst = ArrayClone<DstArrayT>(src, minimalBW, minimalBH);
00061 
00062     // todo : check core array sizes
00063 
00064 #ifdef PX_HORUS_USED
00065     if (!PxRunParallel()) {                         // run sequential
00066 #endif
00067         FuncSet(dst, src, srcX, srcY, width, height, dstX, dstY);
00068 
00069 #ifdef PX_HORUS_USED
00070     } else {                                        // run parallel
00071         PX_COUT << "NOTE: CxPatSet NOT PARALLELIZED YET!"
00072                 << PX_ENDL;
00073         PxArrayForceNonDistributed(src);
00074         PxArrayForceNonDistributed(dst);
00075         FuncSet(dst, src, srcX, srcY, width, height, dstX, dstY);
00076     }
00077 #endif
00078 }

Here is the call graph for this function:


Generated on Fri Mar 19 11:02:24 2010 for ImpalaSrc by  doxygen 1.5.1