resize area with block scan

This commit is contained in:
Marina Kolpakova
2012-06-18 09:00:32 +00:00
parent 9a9f212db0
commit 81c6adb959
2 changed files with 156 additions and 30 deletions

View File

@@ -195,19 +195,19 @@ TEST_P(ResizeArea, Accuracy)
cv::resize(src, dst_cpu, cv::Size(), coeff, coeff, interpolation);
// cv::Mat gpu_buff;
// buffer.download(gpu_buff);
cv::Mat gpu_buff;
buffer.download(gpu_buff);
// cv::Mat gpu;
// dst.download(gpu);
cv::Mat gpu;
dst.download(gpu);
// std::cout << src
// << std::endl << std::endl
// << gpu_buff
// << std::endl << std::endl
// << gpu
// << std::endl << std::endl
// << dst_cpu<< std::endl;
// std::cout << src
// << std::endl << std::endl
// << gpu_buff
// << std::endl << std::endl
// << gpu
// << std::endl << std::endl
// << dst_cpu<< std::endl;
EXPECT_MAT_NEAR(dst_cpu, dst, src.depth() == CV_32F ? 1e-2 : 1.0);