From a0691289f9b27e95e2eb28931ab8d24029dc0869 Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Thu, 15 Jan 2015 16:18:48 +0300 Subject: [PATCH] fix cudalegacy sanity test --- modules/cudalegacy/perf/perf_bgsegm.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/cudalegacy/perf/perf_bgsegm.cpp b/modules/cudalegacy/perf/perf_bgsegm.cpp index a37c4fde1..436791049 100644 --- a/modules/cudalegacy/perf/perf_bgsegm.cpp +++ b/modules/cudalegacy/perf/perf_bgsegm.cpp @@ -122,13 +122,6 @@ PERF_TEST_P(Video, FGDStatModel, d_fgd->apply(d_frame, foreground); } - -#ifdef HAVE_OPENCV_CUDAIMGPROC - cv::cuda::GpuMat background3, background; - d_fgd->getBackgroundImage(background3); - cv::cuda::cvtColor(background3, background, cv::COLOR_BGR2BGRA); - CUDA_SANITY_CHECK(background, 1e-2, ERROR_RELATIVE); -#endif } else {