Fixed support of translation in the GPU-based plane warper

This commit is contained in:
Alexey Spizhevoy
2011-10-03 07:42:16 +00:00
parent 607a7fd2c2
commit dce50b67fc
5 changed files with 24 additions and 21 deletions

View File

@@ -367,7 +367,7 @@ PERF_TEST_P(DevInfo_Size, buildWarpPlaneMaps, testing::Combine(testing::ValuesIn
SIMPLE_TEST_CYCLE()
{
buildWarpPlaneMaps(size, Rect(0, 0, size.width, size.height), Mat::eye(3, 3, CV_32FC1),
Mat::ones(3, 3, CV_32FC1), 1.0, map_x, map_y);
Mat::ones(3, 3, CV_32FC1), Mat::zeros(1, 3, CV_32F), 1.0, map_x, map_y);
}
Mat map_x_host(map_x);