Reimplemented from Impala::Core::Tracking::SearcherBase. Definition at line 122 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. 00123 { 00124 if(mInputPyramid) 00125 delete mInputPyramid; 00126 mInputPyramid = new ImagePyramid(&image); 00127 mInputPyramid->ComputeLevels(0); 00128 00129 if(mTemplatePyramid) 00130 delete mTemplatePyramid; 00131 mTemplatePyramid = 0; 00132 Array::Array2dVec3Real64* obj = object.GetImage(); 00133 if(obj) 00134 { 00135 ILOG_DEBUG("obj not null"); 00136 mTemplatePyramid = new ImagePyramid(object.GetImage()); 00137 mTemplatePyramid->ComputeLevels(0); 00138 } 00139 else 00140 { 00141 ILOG_WARN("object image null!"); 00142 } 00143 00144 mLastPos = pos; 00145 }
Here is the call graph for this function:
|