/external/opencv3/modules/cudabgsegm/perf/ |
perf_bgsegm.cpp | 168 // MOG2 265 cv::Ptr<cv::BackgroundSubtractorMOG2> mog2 = cv::createBackgroundSubtractorMOG2(); local 266 mog2->setDetectShadows(false); 270 mog2->apply(frame, foreground); 294 mog2->apply(frame, foreground); 315 mog2->apply(frame, foreground); 376 cv::Ptr<cv::BackgroundSubtractor> mog2 = cv::createBackgroundSubtractorMOG2(); local 394 mog2->apply(frame, foreground); 399 TEST_CYCLE() mog2->getBackgroundImage(background);
|
/external/opencv3/modules/cudabgsegm/test/ |
test_bgsegm.cpp | 63 // MOG2 73 PARAM_TEST_CASE(MOG2, cv::cuda::DeviceInfo, std::string, UseGray, DetectShadow, UseRoi) 93 CUDA_TEST_P(MOG2, Update) 102 cv::Ptr<cv::BackgroundSubtractorMOG2> mog2 = cv::cuda::createBackgroundSubtractorMOG2(); local 103 mog2->setDetectShadows(detectShadow); 122 mog2->apply(loadMat(frame, useRoi), foreground); 137 CUDA_TEST_P(MOG2, getBackgroundImage) 147 cv::Ptr<cv::BackgroundSubtractorMOG2> mog2 = cv::cuda::createBackgroundSubtractorMOG2(); local 148 mog2->setDetectShadows(detectShadow); 160 mog2->apply(loadMat(frame, useRoi), foreground) [all...] |
/external/opencv3/modules/video/perf/opencl/ |
perf_bgfg_mog2.cpp | 23 //////////////////////////// Mog2////////////////////////// 55 OCL_PERF_TEST_P(MOG2_Apply, Mog2, Combine(Values("gpu/video/768x576.avi", "gpu/video/1920x1080.avi"), Values(1,3))) 74 Ptr<cv::BackgroundSubtractorMOG2> mog2 = createBackgroundSubtractorMOG2(); local 75 mog2->setDetectShadows(false); 79 mog2->apply(frame_buffer[i], u_foreground); 85 OCL_PERF_TEST_P(MOG2_GetBackgroundImage, Mog2, Combine(Values("gpu/video/768x576.avi", "gpu/video/1920x1080.avi"), Values(3))) 104 Ptr<cv::BackgroundSubtractorMOG2> mog2 = createBackgroundSubtractorMOG2(); local 105 mog2->setDetectShadows(false); 110 mog2->apply(frame_buffer[i], u_foreground); 112 mog2->getBackgroundImage(u_background) [all...] |
/external/opencv3/samples/tapi/ |
bgfg_segm.cpp | 22 "{ t type | mog2 | method's type (knn, mog2) }" 38 if (method != "mog" && method != "mog2") 44 int m = method == "mog2" ? M_MOG2 : M_KNN; 63 Ptr<BackgroundSubtractorMOG2> mog2 = createBackgroundSubtractorMOG2(); local 72 mog2->apply(frame, fgmask); 94 mog2->apply(frame, fgmask);
|
/external/opencv3/samples/gpu/ |
bgfg_segm.cpp | 18 MOG2, 28 "{ m method | mog | method (mog, mog2, gmg, fgd) }" 43 && method != "mog2" 52 method == "mog2" ? MOG2 : 75 Ptr<BackgroundSubtractor> mog2 = cuda::createBackgroundSubtractorMOG2(); local 93 case MOG2: 94 mog2->apply(d_frame, d_fgmask); 131 case MOG2: 132 mog2->apply(d_frame, d_fgmask) [all...] |
/external/opencv3/samples/gpu/performance/ |
tests.cpp | 1245 TEST(MOG2) 1255 cv::Ptr<cv::BackgroundSubtractor> mog2 = cv::createBackgroundSubtractorMOG2(); local 1259 mog2->apply(frame, foreground); 1260 mog2->getBackgroundImage(background); 1268 mog2->apply(frame, foreground); 1269 mog2->getBackgroundImage(background);
|