Lines Matching refs:SamplesNum

57 CV_IMPL CvConDensation* cvCreateConDensation( int DP, int MP, int SamplesNum )  in cvCreateConDensation()  argument
65 if( DP < 0 || MP < 0 || SamplesNum < 0 ) in cvCreateConDensation()
71 CD->SamplesNum = SamplesNum; in cvCreateConDensation()
75 CV_CALL( CD->flSamples = (float **) cvAlloc( sizeof( float * ) * SamplesNum )); in cvCreateConDensation()
76 CV_CALL( CD->flNewSamples = (float **) cvAlloc( sizeof( float * ) * SamplesNum )); in cvCreateConDensation()
77 CV_CALL( CD->flSamples[0] = (float *) cvAlloc( sizeof( float ) * SamplesNum * DP )); in cvCreateConDensation()
78 CV_CALL( CD->flNewSamples[0] = (float *) cvAlloc( sizeof( float ) * SamplesNum * DP )); in cvCreateConDensation()
81 for( i = 1; i < SamplesNum; i++ ) in cvCreateConDensation()
89 CV_CALL( CD->flConfidence = (float *) cvAlloc( sizeof( float ) * SamplesNum )); in cvCreateConDensation()
90 CV_CALL( CD->flCumulative = (float *) cvAlloc( sizeof( float ) * SamplesNum )); in cvCreateConDensation()
174 for( i = 0; i < ConDens->SamplesNum; i++ ) 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()
202 for( i = 0; i < ConDens->SamplesNum; i++ ) in cvConDensUpdateByTime()
237 float Prob = 1.f / conDens->SamplesNum; in cvConDensInitSampleSet()
266 for( j = 0; j < conDens->SamplesNum; j++ ) in cvConDensInitSampleSet()