Definition at line 411 of file TrackerBackFore.h. References Impala::Core::Tracking::KernelSet::Apply(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CPB(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW(), Impala::Core::Geometry::Rectangle::Height(), ILOG_DEBUG, mBack, mGabor, mInput, mSampleSpacing, and Impala::Core::Geometry::Rectangle::Width(). Referenced by NewPosition(), and UpdateObject(). 00412 { 00413 // get response of the background (eq.5) 00414 int count = 0; 00415 for(int b=0 ; b<4 ; b++) 00416 { 00417 int w,h; 00418 w = mBack[b].Width()/mSampleSpacing; 00419 h = mBack[b].Height()/mSampleSpacing; 00420 ILOG_DEBUG("rect = "<<mBack[b]<<", w="<<w<<", h="<<h); 00421 int i,j; 00422 for(j=1 ; j<h ; j++) 00423 { 00424 for(i=1 ; i<w; i++) 00425 { 00426 double* data = background.CPB(0, count); 00427 count++; 00428 mGabor.Apply(data, *mInput, 00429 mBack[b].mLeft+(i*mSampleSpacing), 00430 mBack[b].mTop+(j*mSampleSpacing)); 00431 } 00432 } 00433 ILOG_DEBUG("count = "<<count); 00434 } 00435 while(count < background.CH()) // this actually never occurs 00436 { 00437 double* data = background.CPB(0, count); 00438 for(int j=0 ; j<background.CW() ; j++) 00439 data[j] = 0; 00440 count++; 00441 } 00442 }
Here is the call graph for this function:
|