/external/opencv3/modules/cudabgsegm/src/ |
D | mog.cpp | 59 … int nmixtures, float varThreshold, float learningRate, float backgroundRatio, float noiseSigma, 79 void apply(InputArray image, OutputArray fgmask, double learningRate=-1); 80 void apply(InputArray image, OutputArray fgmask, double learningRate, Stream& stream); 129 void MOGImpl::apply(InputArray image, OutputArray fgmask, double learningRate) in apply() argument 131 apply(image, fgmask, learningRate, Stream::Null()); in apply() 134 void MOGImpl::apply(InputArray _frame, OutputArray _fgmask, double learningRate, Stream& stream) in apply() argument 145 …if (nframes_ == 0 || learningRate >= 1.0 || frame.size() != frameSize_ || work_ch != mean_.channel… in apply() 152 …learningRate = learningRate >= 0 && nframes_ > 1 ? learningRate : 1.0 / std::min(nframes_, history… in apply() 153 CV_Assert( learningRate >= 0 ); in apply() 156 varThreshold_, (float) learningRate, backgroundRatio_, noiseSigma_, in apply()
|
D | mog2.cpp | 86 void apply(InputArray image, OutputArray fgmask, double learningRate=-1); 87 void apply(InputArray image, OutputArray fgmask, double learningRate, Stream& stream); 174 void MOG2Impl::apply(InputArray image, OutputArray fgmask, double learningRate) in apply() argument 176 apply(image, fgmask, learningRate, Stream::Null()); in apply() 179 … void MOG2Impl::apply(InputArray _frame, OutputArray _fgmask, double learningRate, Stream& stream) in apply() argument 188 …if (nframes_ == 0 || learningRate >= 1.0 || frame.size() != frameSize_ || work_ch != mean_.channel… in apply() 197 …learningRate = learningRate >= 0 && nframes_ > 1 ? learningRate : 1.0 / std::min(2 * nframes_, his… in apply() 198 CV_Assert( learningRate >= 0 ); in apply() 201 …(float) learningRate, static_cast<float>(-learningRate * ct_), detectShadows_, StreamAccessor::get… in apply()
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
D | gmg.cu | 174 … const int frameNum, const float learningRate, const bool updateBackgroundModel) in update() argument 204 weights_(fy, x) *= 1.0f - learningRate; in update() 206 … bool inserted = insertFeature(newFeatureColor, learningRate, colors_, weights_, x, y, nfeatures); in update() 228 … int frameNum, float learningRate, bool updateBackgroundModel, cudaStream_t stream) in update_gpu() argument 235 …PtrStepSz<SrcT>) frame, fgmask, colors, weights, nfeatures, frameNum, learningRate, updateBackgrou… in update_gpu() 243 …Szi colors, PtrStepf weights, PtrStepi nfeatures, int frameNum, float learningRate, bool updateBac… 244 …Szi colors, PtrStepf weights, PtrStepi nfeatures, int frameNum, float learningRate, bool updateBac… 245 …Szi colors, PtrStepf weights, PtrStepi nfeatures, int frameNum, float learningRate, bool updateBac… 247 …Szi colors, PtrStepf weights, PtrStepi nfeatures, int frameNum, float learningRate, bool updateBac… 248 …Szi colors, PtrStepf weights, PtrStepi nfeatures, int frameNum, float learningRate, bool updateBac… [all …]
|
/external/opencv3/modules/cudabgsegm/src/cuda/ |
D | mog.cu | 96 … __device__ __forceinline__ float clamp(float var, float learningRate, float diff, float minVar) in clamp() argument 98 return ::fmaxf(var + learningRate * (diff * diff - var), minVar); in clamp() 100 …__device__ __forceinline__ float3 clamp(const float3& var, float learningRate, const float3& diff,… in clamp() argument 102 return make_float3(::fmaxf(var.x + learningRate * (diff.x * diff.x - var.x), minVar), in clamp() 103 ::fmaxf(var.y + learningRate * (diff.y * diff.y - var.y), minVar), in clamp() 104 ::fmaxf(var.z + learningRate * (diff.z * diff.z - var.z), minVar)); in clamp() 106 …__device__ __forceinline__ float4 clamp(const float4& var, float learningRate, const float4& diff,… in clamp() argument 108 return make_float4(::fmaxf(var.x + learningRate * (diff.x * diff.x - var.x), minVar), in clamp() 109 ::fmaxf(var.y + learningRate * (diff.y * diff.y - var.y), minVar), in clamp() 110 ::fmaxf(var.z + learningRate * (diff.z * diff.z - var.z), minVar), in clamp() [all …]
|
/external/opencv3/modules/video/src/ |
D | bgfg_gaussmix2.cpp | 177 void apply(InputArray image, OutputArray fgmask, double learningRate=-1); 383 bool ocl_apply(InputArray _image, OutputArray _fgmask, double learningRate=-1); 752 …ackgroundSubtractorMOG2Impl::ocl_apply(InputArray _image, OutputArray _fgmask, double learningRate) in ocl_apply() argument 755 …learningRate = learningRate >= 0 && nframes > 1 ? learningRate : 1./std::min( 2*nframes, history ); in ocl_apply() 756 CV_Assert(learningRate >= 0); in ocl_apply() 761 const double alpha1 = 1.0f - learningRate; in ocl_apply() 776 idxArg = kernel_apply.set(idxArg, (float)learningRate); //alphaT in ocl_apply() 778 idxArg = kernel_apply.set(idxArg, (float)(-learningRate*fCT)); //prune in ocl_apply() 822 …id BackgroundSubtractorMOG2Impl::apply(InputArray _image, OutputArray _fgmask, double learningRate) in apply() argument 824 …bool needToInitialize = nframes == 0 || learningRate >= 1 || _image.size() != frameSize || _image.… in apply() [all …]
|
D | bgfg_KNN.cpp | 120 void apply(InputArray image, OutputArray fgmask, double learningRate=-1); 560 void BackgroundSubtractorKNNImpl::apply(InputArray _image, OutputArray _fgmask, double learningRate) in apply() argument 563 …bool needToInitialize = nframes == 0 || learningRate >= 1 || image.size() != frameSize || image.ty… in apply() 572 …learningRate = learningRate >= 0 && nframes > 1 ? learningRate : 1./std::min( 2*nframes, history ); in apply() 573 CV_Assert(learningRate >= 0); in apply() 589 (float)learningRate, in apply()
|
/external/opencv3/modules/java/src/ |
D | video+BackgroundSubtractor.java | 36 public void apply(Mat image, Mat fgmask, double learningRate) in apply() argument 39 apply_0(nativeObj, image.nativeObj, fgmask.nativeObj, learningRate); in apply() 65 …ive void apply_0(long nativeObj, long image_nativeObj, long fgmask_nativeObj, double learningRate); in apply_0() argument
|
D | video.cpp | 161 …Env* env, jclass , jlong self, jlong image_nativeObj, jlong fgmask_nativeObj, jdouble learningRate) in Java_org_opencv_video_BackgroundSubtractor_apply_10() argument 169 (*me)->apply( image, fgmask, (double)learningRate ); in Java_org_opencv_video_BackgroundSubtractor_apply_10()
|
/external/opencv3/modules/cudalegacy/src/ |
D | gmg.cpp | 62 … int frameNum, float learningRate, bool updateBackgroundModel, cudaStream_t stream); 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) in apply() argument 165 apply(image, fgmask, learningRate, Stream::Null()); in apply() 173 … int frameNum, float learningRate, bool updateBackgroundModel, cudaStream_t stream); in apply()
|
D | fgd.cpp | 582 void apply(InputArray image, OutputArray fgmask, double learningRate=-1);
|
/external/opencv3/modules/cudabgsegm/include/opencv2/ |
D | cudabgsegm.hpp | 85 … virtual void apply(InputArray image, OutputArray fgmask, double learningRate, Stream& stream) = 0; 132 … virtual void apply(InputArray image, OutputArray fgmask, double learningRate, Stream& stream) = 0;
|
/external/opencv3/modules/cudabgsegm/perf/ |
D | perf_bgsegm.cpp | 78 const float learningRate = static_cast<float>(GET_PARAM(2)); variable 105 d_mog->apply(d_frame, foreground, learningRate); 131 d_mog->apply(d_frame, foreground, learningRate); 154 d_mog->apply(d_frame, foreground, learningRate);
|
/external/opencv3/modules/video/include/opencv2/video/ |
D | background_segm.hpp | 72 CV_WRAP virtual void apply(InputArray image, OutputArray fgmask, double learningRate=-1) = 0;
|
/external/opencv3/modules/cudalegacy/include/opencv2/ |
D | cudalegacy.hpp | 92 … virtual void apply(InputArray image, OutputArray fgmask, double learningRate, Stream& stream) = 0;
|