Home
last modified time | relevance | path

Searched refs:meanVal (Results 1 – 4 of 4) sorted by relevance

/external/opencv3/modules/video/src/opencl/
Dbgfg_mog2.cl246 T_MEAN meanVal = (T_MEAN)F_ZERO;
258 meanVal = mad(c_weight, c_mean, meanVal);
267 meanVal = meanVal / totalWeight;
269 meanVal = (T_MEAN)(0.f);
271 meanToFrame(meanVal, _dst);
/external/opencv3/modules/cudabgsegm/src/cuda/
Dmog2.cu388 WorkT meanVal = VecTraits<WorkT>::all(0.0f); in getBackgroundImage2() local
396 meanVal = meanVal + weight * mean; in getBackgroundImage2()
404 meanVal = meanVal * (1.f / totalWeight); in getBackgroundImage2()
406 dst(y, x) = saturate_cast<OutT>(meanVal); in getBackgroundImage2()
Dmog.cu374 WorkT meanVal = VecTraits<WorkT>::all(0.0f); in getBackgroundImage() local
382 meanVal = meanVal + weight * mean; in getBackgroundImage()
390 meanVal = meanVal * (1.f / totalWeight); in getBackgroundImage()
392 dst(y, x) = saturate_cast<OutT>(meanVal); in getBackgroundImage()
/external/opencv3/modules/video/src/
Dbgfg_gaussmix2.cpp873 std::vector<float> meanVal(nchannels, 0.f); in getBackgroundImage() local
886 meanVal[chn] += gaussian.weight * mean[meanPosition + chn]; in getBackgroundImage()
897 meanBackground.at<uchar>(row, col) = (uchar)(meanVal[0] * invWeight); in getBackgroundImage()
898 meanVal[0] = 0.f; in getBackgroundImage()
901 Vec3f& meanVec = *reinterpret_cast<Vec3f*>(&meanVal[0]); in getBackgroundImage()