Commit f1fa3234 authored by Andrey Morozov's avatar Andrey Morozov

fixed test with small size gpu memory

parent 69e62948
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment