Lines Matching refs:ConDens
159 cvConDensUpdateByTime( CvConDensation * ConDens ) in cvConDensUpdateByTime() argument
167 if( !ConDens ) in cvConDensUpdateByTime()
171 icvSetZero_32f( ConDens->Temp, ConDens->DP, 1 ); in cvConDensUpdateByTime()
174 for( i = 0; i < ConDens->SamplesNum; i++ ) in cvConDensUpdateByTime()
176 icvScaleVector_32f( ConDens->flSamples[i], ConDens->State, ConDens->DP, in cvConDensUpdateByTime()
177 ConDens->flConfidence[i] ); in cvConDensUpdateByTime()
178 icvAddVector_32f( ConDens->Temp, ConDens->State, ConDens->Temp, ConDens->DP ); in cvConDensUpdateByTime()
179 Sum += ConDens->flConfidence[i]; in cvConDensUpdateByTime()
180 ConDens->flCumulative[i] = Sum; in cvConDensUpdateByTime()
185 icvScaleVector_32f( ConDens->Temp, ConDens->Temp, ConDens->DP, 1.f / Sum ); in cvConDensUpdateByTime()
186 icvTransformVector_32f( ConDens->DynamMatr, ConDens->Temp, ConDens->State, ConDens->DP, in cvConDensUpdateByTime()
187 ConDens->DP ); in cvConDensUpdateByTime()
188 Sum = Sum / ConDens->SamplesNum; in cvConDensUpdateByTime()
191 for( i = 0; i < ConDens->SamplesNum; i++ ) in cvConDensUpdateByTime()
194 while( (ConDens->flCumulative[j] <= (float) i * Sum)&&(j<ConDens->SamplesNum-1)) in cvConDensUpdateByTime()
198 icvCopyVector_32f( ConDens->flSamples[j], ConDens->DP, ConDens->flNewSamples[i] ); in cvConDensUpdateByTime()
202 for( i = 0; i < ConDens->SamplesNum; i++ ) in cvConDensUpdateByTime()
204 for( j = 0; j < ConDens->DP; j++ ) in cvConDensUpdateByTime()
206 cvbRand( ConDens->RandS + j, ConDens->RandomSample + j, 1 ); in cvConDensUpdateByTime()
209 icvTransformVector_32f( ConDens->DynamMatr, ConDens->flNewSamples[i], in cvConDensUpdateByTime()
210 ConDens->flSamples[i], ConDens->DP, ConDens->DP ); in cvConDensUpdateByTime()
211 icvAddVector_32f( ConDens->flSamples[i], ConDens->RandomSample, ConDens->flSamples[i], in cvConDensUpdateByTime()
212 ConDens->DP ); in cvConDensUpdateByTime()