Lines Matching refs:fgmask
61 void update_gpu(PtrStepSzb frame, PtrStepb fgmask, PtrStepSzi colors, PtrStepf weights, PtrStepi nfeatures,
73 void apply(InputArray image, OutputArray fgmask, double learningRate=-1);
74 void apply(InputArray image, OutputArray fgmask, double learningRate, Stream& stream);
163 void GMGImpl::apply(InputArray image, OutputArray fgmask, double learningRate)
165 apply(image, fgmask, learningRate, Stream::Null());
172 typedef void (*func_t)(PtrStepSzb frame, PtrStepb fgmask, PtrStepSzi colors, PtrStepf weights, PtrStepi nfeatures,
210 GpuMat fgmask = _fgmask.getGpuMat();
212 fgmask.setTo(Scalar::all(0), stream);
214 funcs[frame.depth()][frame.channels() - 1](frame, fgmask, colors_, weights_, nfeatures_, frameNum_,
221 boxFilter_->apply(fgmask, buf_, stream);
224 cuda::threshold(buf_, fgmask, thresh, 255.0, THRESH_BINARY, stream);