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

void Impala::Core::Tracking::SearcherPyramid::Reset ( Array::Array2dVec3Real64 image,
ObjectRepresentation object,
const Position pos 
) [inline, virtual]

Reimplemented from Impala::Core::Tracking::SearcherBase.

Definition at line 132 of file SearcherPyramid.h.

References Impala::Core::Tracking::ImagePyramid::ComputeLevels(), Impala::Core::Tracking::ObjectRepresentation::GetImage(), ILOG_DEBUG, ILOG_WARN, mInputPyramid, Impala::Core::Tracking::SearcherBase::mLastPos, and mTemplatePyramid.

00134     {
00135         if(mInputPyramid)
00136             delete mInputPyramid;
00137         mInputPyramid = new ImagePyramid(&image);
00138         mInputPyramid->ComputeLevels(0);
00139 
00140         if(mTemplatePyramid)
00141             delete mTemplatePyramid;
00142         mTemplatePyramid = 0;
00143         Array::Array2dVec3Real64* obj = object.GetImage();
00144         if(obj)
00145         {
00146             ILOG_DEBUG("obj not null");
00147             mTemplatePyramid = new ImagePyramid(object.GetImage());
00148             mTemplatePyramid->ComputeLevels(0);
00149         }
00150         else
00151         {
00152             ILOG_WARN("object image null!");
00153         }
00154 
00155         mLastPos = pos;
00156     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:21:06 2011 for ImpalaSrc by  doxygen 1.5.1