|
copy a piece of the input image and let the kalman filter decide what to do with it
Reimplemented from Impala::Core::Tracking::ObjectRepresentation.
Definition at line 40 of file KalmanTemplate.h.
References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CH(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW(), mKalman, Impala::Core::Array::Trait::FuncKalmanColor::mOcclusion, mScratch, mTemplate, mTemplatePrediction, Impala::Core::Array::Pattern::PatBinaryPixOp(), Impala::Core::Array::Pattern::PatSet(), Impala::Core::Tracking::Position::size, Impala::Core::Tracking::Position::translation, Impala::Core::Array::Trait::FuncKalmanColor::UpdateKalman(), Impala::Core::Tracking::Point::x, and Impala::Core::Tracking::Point::y. 00041 {
00042 Array::Array2dVec3Real64* temp = new Array::Array2dVec3Real64(pos.size.x, pos.size.y, 0, 0);
00043 Array::Pattern::PatSet(temp, &image, pos.translation.x, pos.translation.y, pos.size.x, pos.size.y, 0, 0);
00044 Array::Pattern::PatBinaryPixOp(mTemplatePrediction, mTemplate, temp, mKalman);
00045 delete temp;
00046 mKalman.UpdateKalman();
00047 if(!mKalman.mOcclusion)
00048 {
00049 Array::Pattern::PatSet(mTemplate, mTemplatePrediction, 0, 0, mTemplate->CW(), mTemplate->CH(), 0, 0);
00050 }
00051
00052 Array::Pattern::PatSet(mScratch,mTemplate,0,0,pos.size.x, pos.size.y,0,0);
00053 }
Here is the call graph for this function:
|