Arrived at a new frame in a "normal" walk.
Reimplemented from Impala::Core::VideoSet::Listener. Definition at line 100 of file ShotSegmenter.h. References CalculateScores(), ComputeSSWeights(), Impala::Core::Stream::RgbDataSrc::FrameNr(), mRadius, mScores, mWindowSize, Predict(), Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::SetValue(), and UpdateHistograms(). 00101 { 00102 int processFrame = src->FrameNr(); 00103 int scoreFrame = processFrame - mRadius; 00104 int decisionFrame = processFrame - mWindowSize; 00105 int predictFrame = (decisionFrame > 0) ? decisionFrame : 0; 00106 00107 UpdateHistograms(src); 00108 00109 if (processFrame >= mWindowSize - 1) 00110 { 00111 ComputeSSWeights(); 00112 Real64 score = CalculateScores(); 00113 mScores->SetValue(score, scoreFrame, 0); 00114 } 00115 00116 Predict(predictFrame); 00117 }
Here is the call graph for this function:
|