Lines Matching refs:nmixtures
120 const int nmixtures, const float varThreshold, const float backgroundRatio)
133 for (int k = 0; k < nmixtures; ++k)
153 for (int k = 0; k < nmixtures; ++k)
170 int nmixtures, float varThreshold, float backgroundRatio, cudaStream_t stream)
179 nmixtures, varThreshold, backgroundRatio);
193 const int nmixtures, const float varThreshold, const float backgroundRatio, const float learningRate, const float minVar)
212 for (; k < nmixtures; ++k)
289 kHit = k = ::min(k, nmixtures - 1);
299 for( ; k < nmixtures; k++)
305 for (k = 0; k < nmixtures; ++k)
322 int nmixtures, float varThreshold, float backgroundRatio, float learningRate, float minVar,
332 nmixtures, varThreshold, backgroundRatio, learningRate, minVar);
343 void mog_gpu(PtrStepSzb frame, int cn, PtrStepSzb fgmask, PtrStepSzf weight, PtrStepSzf sortKey, PtrStepSzb mean, PtrStepSzb var, int nmixtures, float varThreshold, float learningRate, float backgroundRatio, float noiseSigma, cudaStream_t stream)
345 typedef void (*withoutLearning_t)(PtrStepSzb frame, PtrStepSzb fgmask, PtrStepSzf weight, PtrStepSzb mean, PtrStepSzb var, int nmixtures, float varThreshold, float backgroundRatio, cudaStream_t stream);
346 typedef void (*withLearning_t)(PtrStepSzb frame, PtrStepSzb fgmask, PtrStepSzf weight, PtrStepSzf sortKey, PtrStepSzb mean, PtrStepSzb var, int nmixtures, float varThreshold, float backgroundRatio, float learningRate, float minVar, cudaStream_t stream);
360 withLearning[cn](frame, fgmask, weight, sortKey, mean, var, nmixtures, varThreshold, backgroundRatio, learningRate, minVar, stream);
362 withoutLearning[cn](frame, fgmask, weight, mean, var, nmixtures, varThreshold, backgroundRatio, stream);
366 __global__ void getBackgroundImage(const PtrStepf gmm_weight, const PtrStep<WorkT> gmm_mean, PtrStepSz<OutT> dst, const int nmixtures, const float backgroundRatio)
377 for (int mode = 0; mode < nmixtures
396 void getBackgroundImage_caller(PtrStepSzf weight, PtrStepSzb mean, PtrStepSzb dst, int nmixtures, float backgroundRatio, cudaStream_t stream)
403 getBackgroundImage<WorkT, OutT><<<grid, block, 0, stream>>>(weight, (PtrStepSz<WorkT>) mean, (PtrStepSz<OutT>) dst, nmixtures, backgroundRatio);
410 void getBackgroundImage_gpu(int cn, PtrStepSzf weight, PtrStepSzb mean, PtrStepSzb dst, int nmixtures, float backgroundRatio, cudaStream_t stream)
412 typedef void (*func_t)(PtrStepSzf weight, PtrStepSzb mean, PtrStepSzb dst, int nmixtures, float backgroundRatio, cudaStream_t stream);
419 funcs[cn](weight, mean, dst, nmixtures, backgroundRatio, stream);