/external/opencv3/modules/java/src/ |
video+BackgroundSubtractor.java | 32 // C++: void apply(Mat image, Mat& fgmask, double learningRate = -1) 35 //javadoc: BackgroundSubtractor::apply(image, fgmask, learningRate) 36 public void apply(Mat image, Mat fgmask, double learningRate) 39 apply_0(nativeObj, image.nativeObj, fgmask.nativeObj, learningRate); 44 //javadoc: BackgroundSubtractor::apply(image, fgmask) 45 public void apply(Mat image, Mat fgmask) 48 apply_1(nativeObj, image.nativeObj, fgmask.nativeObj); 64 // C++: void apply(Mat image, Mat& fgmask, double learningRate = -1)
|
video.cpp | 155 // void apply(Mat image, Mat& fgmask, double learningRate = -1) 168 Mat& fgmask = *((Mat*)fgmask_nativeObj); local 169 (*me)->apply( image, fgmask, (double)learningRate ); 191 Mat& fgmask = *((Mat*)fgmask_nativeObj); local 192 (*me)->apply( image, fgmask ); [all...] |
/external/opencv3/samples/cpp/ |
bgfg_segm.cpp | 64 Mat img0, img, fgmask, fgimg; local 79 bg_model->apply(img, fgmask, update_bg_model ? -1 : 0); 82 GaussianBlur(fgmask, fgmask, Size(11, 11), 3.5, 3.5); 83 threshold(fgmask, fgmask, 10, 255, THRESH_BINARY); 87 img.copyTo(fgimg, fgmask); 93 imshow("foreground mask", fgmask);
|
/external/opencv3/samples/tapi/ |
bgfg_segm.cpp | 58 UMat frame, fgmask, fgimg; local 68 knn->apply(frame, fgmask); 72 mog2->apply(frame, fgmask); 90 knn->apply(frame, fgmask); 94 mog2->apply(frame, fgmask); 102 frame.copyTo(fgimg, fgmask); 105 imshow("foreground mask", fgmask);
|
/external/opencv3/modules/cudalegacy/src/ |
gmg.cpp | 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) [all...] |
fgd.cpp | 582 void apply(InputArray image, OutputArray fgmask, double learningRate=-1); 630 void FGDImpl::apply(InputArray _frame, OutputArray fgmask, double) 669 foreground_.copyTo(fgmask);
|
/external/opencv3/modules/cudalegacy/src/cuda/ |
gmg.cu | 173 __global__ void update(const PtrStep<SrcT> frame, PtrStepb fgmask, PtrStepi colors_, PtrStepf weights_, PtrStepi nfeatures_, 197 fgmask(y, x) = (uchar)(-isForeground); 227 void update_gpu(PtrStepSzb frame, PtrStepb fgmask, PtrStepSzi colors, PtrStepf weights, PtrStepi nfeatures, 235 update<SrcT><<<grid, block, 0, stream>>>((PtrStepSz<SrcT>) frame, fgmask, colors, weights, nfeatures, frameNum, learningRate, updateBackgroundModel); 243 template void update_gpu<uchar >(PtrStepSzb frame, PtrStepb fgmask, PtrStepSzi colors, PtrStepf weights, PtrStepi nfeatures, int frameNum, float learningRate, bool updateBackgroundModel, cudaStream_t stream); 244 template void update_gpu<uchar3 >(PtrStepSzb frame, PtrStepb fgmask, PtrStepSzi colors, PtrStepf weights, PtrStepi nfeatures, int frameNum, float learningRate, bool updateBackgroundModel, cudaStream_t stream); 245 template void update_gpu<uchar4 >(PtrStepSzb frame, PtrStepb fgmask, PtrStepSzi colors, PtrStepf weights, PtrStepi nfeatures, int frameNum, float learningRate, bool updateBackgroundModel, cudaStream_t stream); 247 template void update_gpu<ushort >(PtrStepSzb frame, PtrStepb fgmask, PtrStepSzi colors, PtrStepf weights, PtrStepi nfeatures, int frameNum, float learningRate, bool updateBackgroundModel, cudaStream_t stream); 248 template void update_gpu<ushort3>(PtrStepSzb frame, PtrStepb fgmask, PtrStepSzi colors, PtrStepf weights, PtrStepi nfeatures, int frameNum, float learningRate, bool updateBackgroundModel, cudaStream_t stream); 249 template void update_gpu<ushort4>(PtrStepSzb frame, PtrStepb fgmask, PtrStepSzi colors, PtrStepf weights, PtrStepi nfeatures, int frameNum, float learningRate, bool u (…) [all...] |
/external/opencv3/modules/cudabgsegm/include/opencv2/ |
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/src/ |
mog2.cpp | 59 void mog2_gpu(PtrStepSzb frame, int cn, PtrStepSzb fgmask, PtrStepSzb modesUsed, PtrStepSzf weight, PtrStepSzf variance, PtrStepSzb mean, float alphaT, float prune, bool detectShadows, cudaStream_t stream); 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) 176 apply(image, fgmask, learningRate, Stream::Null()); 192 GpuMat fgmask = _fgmask.getGpuMat(); 194 fgmask.setTo(Scalar::all(0), stream); 200 mog2_gpu(frame, frame.channels(), fgmask, bgmodelUsedModes_, weight_, variance_, mean_,
|
mog.cpp | 58 void mog_gpu(PtrStepSzb frame, int cn, PtrStepSzb fgmask, PtrStepSzf weight, PtrStepSzf sortKey, PtrStepSzb mean, PtrStepSzb var, 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) 131 apply(image, fgmask, learningRate, Stream::Null()); 149 GpuMat fgmask = _fgmask.getGpuMat(); 155 mog_gpu(frame, ch, fgmask, weight_, sortKey_, mean_, var_, nmixtures_,
|
/external/opencv3/samples/gpu/ |
bgfg_segm.cpp | 83 Mat fgmask; local 153 d_fgmask.download(fgmask); 159 imshow("foreground mask", fgmask);
|
/external/opencv3/modules/cudabgsegm/src/cuda/ |
mog.cu | 118 __global__ void mog_withoutLearning(const PtrStepSz<SrcT> frame, PtrStepb fgmask, 165 fgmask(y, x) = (uchar) (-(kHit < 0 || kHit >= kForeground)); 169 void mog_withoutLearning_caller(PtrStepSzb frame, PtrStepSzb fgmask, PtrStepSzf weight, PtrStepSzb mean, PtrStepSzb var, 177 mog_withoutLearning<SrcT, WorkT><<<grid, block, 0, stream>>>((PtrStepSz<SrcT>) frame, fgmask, 191 __global__ void mog_withLearning(const PtrStepSz<SrcT> frame, PtrStepb fgmask, 317 fgmask(y, x) = (uchar)(-(kHit >= kForeground)); 321 void mog_withLearning_caller(PtrStepSzb frame, PtrStepSzb fgmask, PtrStepSzf weight, PtrStepSzf sortKey, PtrStepSzb mean, PtrStepSzb var, 330 mog_withLearning<SrcT, WorkT><<<grid, block, 0, stream>>>((PtrStepSz<SrcT>) frame, fgmask, 343 void mog_gpu(PtrStepSzb frame, int cn, PtrStepSzb fgmask, PtrStepSzf weight, PtrStepSzf sortKey, PtrStepSzb mean, PtrStepSzb var, int nmixtures, float varThreshold, float learningRate, float backgroundRatio, float noiseSigma, cudaStream_t stream) 345 typedef void (*withoutLearning_t)(PtrStepSzb frame, PtrStepSzb fgmask, PtrStepSzf weight, PtrStepSzb mean, PtrStepSzb var, int nmixtures, float varThreshold, float back (…) [all...] |
mog2.cu | 134 __global__ void mog2(const PtrStepSz<SrcT> frame, PtrStepb fgmask, PtrStepb modesUsed, 329 fgmask(y, x) = background ? 0 : isShadow ? c_shadowVal : 255; 333 void mog2_caller(PtrStepSzb frame, PtrStepSzb fgmask, PtrStepSzb modesUsed, PtrStepSzf weight, PtrStepSzf variance, PtrStepSzb mean, 345 mog2<true, SrcT, WorkT><<<grid, block, 0, stream>>>((PtrStepSz<SrcT>) frame, fgmask, modesUsed, 353 mog2<false, SrcT, WorkT><<<grid, block, 0, stream>>>((PtrStepSz<SrcT>) frame, fgmask, modesUsed, 364 void mog2_gpu(PtrStepSzb frame, int cn, PtrStepSzb fgmask, PtrStepSzb modesUsed, PtrStepSzf weight, PtrStepSzf variance, PtrStepSzb mean, 367 typedef void (*func_t)(PtrStepSzb frame, PtrStepSzb fgmask, PtrStepSzb modesUsed, PtrStepSzf weight, PtrStepSzf variance, PtrStepSzb mean, float alphaT, float prune, bool detectShadows, cudaStream_t stream); 374 funcs[cn](frame, fgmask, modesUsed, weight, variance, mean, alphaT, prune, detectShadows, stream);
|
/external/opencv3/modules/video/include/opencv2/video/ |
background_segm.hpp | 66 @param fgmask The output foreground mask as an 8-bit binary image. 72 CV_WRAP virtual void apply(InputArray image, OutputArray fgmask, double learningRate=-1) = 0;
|
/external/opencv3/modules/video/src/ |
bgfg_KNN.cpp | 120 void apply(InputArray image, OutputArray fgmask, double learningRate=-1); 569 Mat fgmask = _fgmask.getMat(); local 576 // KNNInvoker(image, fgmask, 577 icvUpdatePixelBackgroundNP(image, fgmask,
|
bgfg_gaussmix2.cpp | 70 // bg_model(img, fgmask); 177 void apply(InputArray image, OutputArray fgmask, double learningRate=-1); 759 UMat fgmask = _fgmask.getUMat(); local 774 idxArg = kernel_apply.set(idxArg, ocl::KernelArg::WriteOnlyNoSize(fgmask)); 839 Mat fgmask = _fgmask.getMat(); local [all...] |
/external/opencv3/modules/cudalegacy/include/opencv2/ |
cudalegacy.hpp | 92 virtual void apply(InputArray image, OutputArray fgmask, double learningRate, Stream& stream) = 0;
|
/external/opencv/cvaux/include/ |
cvaux.h | [all...] |
/cts/apps/CtsVerifier/libs/ |
opencv3-android.jar | |