Searched refs:gmm_weight (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/cudabgsegm/src/cuda/ |
D | mog.cu | 119 … const PtrStepf gmm_weight, const PtrStep<WorkT> gmm_mean, const PtrStep<WorkT> gmm_var, in mog_withoutLearning() argument 135 if (gmm_weight(k * frame.rows + y, x) < numeric_limits<float>::epsilon()) in mog_withoutLearning() 155 wsum += gmm_weight(k * frame.rows + y, x); in mog_withoutLearning() 192 … PtrStepf gmm_weight, PtrStepf gmm_sortKey, PtrStep<WorkT> gmm_mean, PtrStep<WorkT> gmm_var, in mog_withLearning() argument 214 float w = gmm_weight(k * frame.rows + y, x); in mog_withLearning() 236 gmm_weight(k * frame.rows + y, x) = weight_prev; in mog_withLearning() 249 float weight_next = gmm_weight(k1 * frame.rows + y, x); in mog_withLearning() 258 gmm_weight(k1 * frame.rows + y, x) = weight_prev; in mog_withLearning() 259 gmm_weight((k1 + 1) * frame.rows + y, x) = weight_next; in mog_withLearning() 271 weight_next = k1 > 0 ? gmm_weight((k1 - 1) * frame.rows + y, x) : 0.0f; in mog_withLearning() [all …]
|
D | mog2.cu | 135 PtrStepf gmm_weight, PtrStepf gmm_variance, PtrStep<WorkT> gmm_mean, in mog2() argument 165 float weight = alpha1 * gmm_weight(mode * frame.rows + y, x) + prune; in mog2() 214 if (weight < gmm_weight((i - 1) * frame.rows + y, x)) in mog2() 219 swap(gmm_weight, x, y, i - 1, frame.rows); in mog2() 235 …gmm_weight((mode - swap_count) * frame.rows + y, x) = weight; //update weight by the calculated va… in mog2() 243 gmm_weight(mode * frame.rows + y, x) *= totalWeight; in mog2() 255 gmm_weight(mode * frame.rows + y, x) = 1.f; in mog2() 258 gmm_weight(mode * frame.rows + y, x) = alphaT; in mog2() 263 gmm_weight(i * frame.rows + y, x) *= alpha1; in mog2() 277 if (alphaT < gmm_weight((i - 1) * frame.rows + y, x)) in mog2() [all …]
|