From acdb707ba4a336657a320c892e1682a456859551 Mon Sep 17 00:00:00 2001 From: shyama7004 Date: Sun, 8 Dec 2024 13:41:48 +0530 Subject: [PATCH] Fix typo: rename 'search_widow_size' to 'search_window_size' --- modules/photo/perf/perf_cuda.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/photo/perf/perf_cuda.cpp b/modules/photo/perf/perf_cuda.cpp index b179129962..c95aaa469c 100644 --- a/modules/photo/perf/perf_cuda.cpp +++ b/modules/photo/perf/perf_cuda.cpp @@ -71,7 +71,7 @@ PERF_TEST_P(Sz_Depth_Cn_WinSz_BlockSz, CUDA_NonLocalMeans, const cv::Size size = GET_PARAM(0); const int depth = GET_PARAM(1); const int channels = GET_PARAM(2); - const int search_widow_size = GET_PARAM(3); + const int search_window_size = GET_PARAM(3); const int block_size = GET_PARAM(4); const float h = 10; @@ -87,7 +87,7 @@ PERF_TEST_P(Sz_Depth_Cn_WinSz_BlockSz, CUDA_NonLocalMeans, const cv::cuda::GpuMat d_src(src); cv::cuda::GpuMat dst; - TEST_CYCLE() cv::cuda::nonLocalMeans(d_src, dst, h, search_widow_size, block_size, borderMode); + TEST_CYCLE() cv::cuda::nonLocalMeans(d_src, dst, h, search_window_size, block_size, borderMode); CUDA_SANITY_CHECK(dst); } @@ -114,7 +114,7 @@ PERF_TEST_P(Sz_Depth_Cn_WinSz_BlockSz, CUDA_FastNonLocalMeans, const cv::Size size = GET_PARAM(0); const int depth = GET_PARAM(1); - const int search_widow_size = GET_PARAM(2); + const int search_window_size = GET_PARAM(2); const int block_size = GET_PARAM(3); const float h = 10; @@ -128,7 +128,7 @@ PERF_TEST_P(Sz_Depth_Cn_WinSz_BlockSz, CUDA_FastNonLocalMeans, const cv::cuda::GpuMat d_src(src); cv::cuda::GpuMat dst; - TEST_CYCLE() cv::cuda::fastNlMeansDenoising(d_src, dst, h, search_widow_size, block_size); + TEST_CYCLE() cv::cuda::fastNlMeansDenoising(d_src, dst, h, search_window_size, block_size); CUDA_SANITY_CHECK(dst); } @@ -136,7 +136,7 @@ PERF_TEST_P(Sz_Depth_Cn_WinSz_BlockSz, CUDA_FastNonLocalMeans, { cv::Mat dst; - TEST_CYCLE() cv::fastNlMeansDenoising(src, dst, h, block_size, search_widow_size); + TEST_CYCLE() cv::fastNlMeansDenoising(src, dst, h, block_size, search_window_size); CPU_SANITY_CHECK(dst); } @@ -157,7 +157,7 @@ PERF_TEST_P(Sz_Depth_WinSz_BlockSz, CUDA_FastNonLocalMeansColored, const cv::Size size = GET_PARAM(0); const int depth = GET_PARAM(1); - const int search_widow_size = GET_PARAM(2); + const int search_window_size = GET_PARAM(2); const int block_size = GET_PARAM(3); const float h = 10; @@ -171,7 +171,7 @@ PERF_TEST_P(Sz_Depth_WinSz_BlockSz, CUDA_FastNonLocalMeansColored, const cv::cuda::GpuMat d_src(src); cv::cuda::GpuMat dst; - TEST_CYCLE() cv::cuda::fastNlMeansDenoisingColored(d_src, dst, h, h, search_widow_size, block_size); + TEST_CYCLE() cv::cuda::fastNlMeansDenoisingColored(d_src, dst, h, h, search_window_size, block_size); CUDA_SANITY_CHECK(dst); } @@ -179,7 +179,7 @@ PERF_TEST_P(Sz_Depth_WinSz_BlockSz, CUDA_FastNonLocalMeansColored, { cv::Mat dst; - TEST_CYCLE() cv::fastNlMeansDenoisingColored(src, dst, h, h, block_size, search_widow_size); + TEST_CYCLE() cv::fastNlMeansDenoisingColored(src, dst, h, h, block_size, search_window_size); CPU_SANITY_CHECK(dst); }