minor fix of gpu perf tests
This commit is contained in:
@@ -25,7 +25,7 @@ GPU_PERF_TEST(Remap, cv::gpu::DeviceInfo, cv::Size, MatType, Interpolation, Bord
|
|||||||
|
|
||||||
cv::remap(src, dst, xmap, ymap, interpolation, borderMode);
|
cv::remap(src, dst, xmap, ymap, interpolation, borderMode);
|
||||||
|
|
||||||
declare.time(3.0);
|
declare.time(20.0);
|
||||||
|
|
||||||
TEST_CYCLE()
|
TEST_CYCLE()
|
||||||
{
|
{
|
||||||
@@ -62,7 +62,7 @@ GPU_PERF_TEST(Resize, cv::gpu::DeviceInfo, cv::Size, MatType, Interpolation, Sca
|
|||||||
|
|
||||||
cv::resize(src, dst, cv::Size(), f, f, interpolation);
|
cv::resize(src, dst, cv::Size(), f, f, interpolation);
|
||||||
|
|
||||||
declare.time(1.0);
|
declare.time(20.0);
|
||||||
|
|
||||||
TEST_CYCLE()
|
TEST_CYCLE()
|
||||||
{
|
{
|
||||||
@@ -101,6 +101,8 @@ GPU_PERF_TEST(WarpAffine, cv::gpu::DeviceInfo, cv::Size, MatType, Interpolation,
|
|||||||
|
|
||||||
cv::warpAffine(src, dst, M, size, interpolation, borderMode);
|
cv::warpAffine(src, dst, M, size, interpolation, borderMode);
|
||||||
|
|
||||||
|
declare.time(20.0);
|
||||||
|
|
||||||
TEST_CYCLE()
|
TEST_CYCLE()
|
||||||
{
|
{
|
||||||
cv::warpAffine(src, dst, M, size, interpolation, borderMode);
|
cv::warpAffine(src, dst, M, size, interpolation, borderMode);
|
||||||
@@ -139,6 +141,8 @@ GPU_PERF_TEST(WarpPerspective, cv::gpu::DeviceInfo, cv::Size, MatType, Interpola
|
|||||||
|
|
||||||
cv::warpPerspective(src, dst, M, size, interpolation, borderMode);
|
cv::warpPerspective(src, dst, M, size, interpolation, borderMode);
|
||||||
|
|
||||||
|
declare.time(20.0);
|
||||||
|
|
||||||
TEST_CYCLE()
|
TEST_CYCLE()
|
||||||
{
|
{
|
||||||
cv::warpPerspective(src, dst, M, size, interpolation, borderMode);
|
cv::warpPerspective(src, dst, M, size, interpolation, borderMode);
|
||||||
|
Reference in New Issue
Block a user