Searched refs:weights_ (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/cudalegacy/src/cuda/ |
D | gmg.cu | 173 …(const PtrStep<SrcT> frame, PtrStepb fgmask, PtrStepi colors_, PtrStepf weights_, PtrStepi nfeatur… in update() argument 191 … const float weight = findFeature(newFeatureColor, colors_, weights_, x, y, nfeatures); in update() 204 weights_(fy, x) *= 1.0f - learningRate; in update() 206 … bool inserted = insertFeature(newFeatureColor, learningRate, colors_, weights_, x, y, nfeatures); in update() 210 normalizeHistogram(weights_, x, y, nfeatures); in update() 219 insertFeature(newFeatureColor, 1.0f, colors_, weights_, x, y, nfeatures); in update() 222 normalizeHistogram(weights_, x, y, nfeatures); in update()
|
/external/opencv3/modules/cudalegacy/src/ |
D | gmg.cpp | 142 GpuMat weights_; member in __anon6738254a0111::GMGImpl 214 …funcs[frame.depth()][frame.channels() - 1](frame, fgmask, colors_, weights_, nfeatures_, frameNum_, in apply() 258 weights_.create(maxFeatures_ * frameSize_.height, frameSize_.width, CV_32FC1); in initialize()
|