From: Andrey Morozov Date: Sat, 21 Aug 2010 18:30:14 +0000 (+0000) Subject: fixed test with small size gpu memory X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~8759 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f1fa323456b56cc4a8ee95f9fe552b9ba511d9ba;p=platform%2Fupstream%2Fopencv.git fixed test with small size gpu memory --- diff --git a/tests/gpu/src/stereo_bp.cpp b/tests/gpu/src/stereo_bp.cpp index 7ad2ab0..00ee0e8 100644 --- a/tests/gpu/src/stereo_bp.cpp +++ b/tests/gpu/src/stereo_bp.cpp @@ -63,7 +63,7 @@ void CV_GpuStereoBP::run(int ) cv::Mat img_template = cv::imread(std::string(ts->get_data_path()) + "stereobp/aloe-disp.png", 0); cv::gpu::GpuMat disp; - cv::gpu::StereoBeliefPropagation bpm(128, 8, 4, 25, 0.1f, 15, 1); + cv::gpu::StereoBeliefPropagation bpm(64, 8, 2, 25, 0.1f, 15, 1, CV_16S); bpm(cv::gpu::GpuMat(img_l), cv::gpu::GpuMat(img_r), disp); @@ -77,3 +77,4 @@ void CV_GpuStereoBP::run(int ) CV_GpuStereoBP CV_GpuStereoBP_test; +