@@ -71,7 +71,7 @@ PERF_TEST_P(Sz_Depth_Cn_WinSz_BlockSz, CUDA_NonLocalMeans,
7171 const cv::Size size = GET_PARAM (0 );
7272 const int depth = GET_PARAM (1 );
7373 const int channels = GET_PARAM (2 );
74- const int search_widow_size = GET_PARAM (3 );
74+ const int search_window_size = GET_PARAM (3 );
7575 const int block_size = GET_PARAM (4 );
7676
7777 const float h = 10 ;
@@ -87,7 +87,7 @@ PERF_TEST_P(Sz_Depth_Cn_WinSz_BlockSz, CUDA_NonLocalMeans,
8787 const cv::cuda::GpuMat d_src (src);
8888 cv::cuda::GpuMat dst;
8989
90- TEST_CYCLE () cv::cuda::nonLocalMeans (d_src, dst, h, search_widow_size , block_size, borderMode);
90+ TEST_CYCLE () cv::cuda::nonLocalMeans (d_src, dst, h, search_window_size , block_size, borderMode);
9191
9292 CUDA_SANITY_CHECK (dst);
9393 }
@@ -114,7 +114,7 @@ PERF_TEST_P(Sz_Depth_Cn_WinSz_BlockSz, CUDA_FastNonLocalMeans,
114114
115115 const cv::Size size = GET_PARAM (0 );
116116 const int depth = GET_PARAM (1 );
117- const int search_widow_size = GET_PARAM (2 );
117+ const int search_window_size = GET_PARAM (2 );
118118 const int block_size = GET_PARAM (3 );
119119
120120 const float h = 10 ;
@@ -128,15 +128,15 @@ PERF_TEST_P(Sz_Depth_Cn_WinSz_BlockSz, CUDA_FastNonLocalMeans,
128128 const cv::cuda::GpuMat d_src (src);
129129 cv::cuda::GpuMat dst;
130130
131- TEST_CYCLE () cv::cuda::fastNlMeansDenoising (d_src, dst, h, search_widow_size , block_size);
131+ TEST_CYCLE () cv::cuda::fastNlMeansDenoising (d_src, dst, h, search_window_size , block_size);
132132
133133 CUDA_SANITY_CHECK (dst);
134134 }
135135 else
136136 {
137137 cv::Mat dst;
138138
139- TEST_CYCLE () cv::fastNlMeansDenoising (src, dst, h, block_size, search_widow_size );
139+ TEST_CYCLE () cv::fastNlMeansDenoising (src, dst, h, block_size, search_window_size );
140140
141141 CPU_SANITY_CHECK (dst);
142142 }
@@ -157,7 +157,7 @@ PERF_TEST_P(Sz_Depth_WinSz_BlockSz, CUDA_FastNonLocalMeansColored,
157157
158158 const cv::Size size = GET_PARAM (0 );
159159 const int depth = GET_PARAM (1 );
160- const int search_widow_size = GET_PARAM (2 );
160+ const int search_window_size = GET_PARAM (2 );
161161 const int block_size = GET_PARAM (3 );
162162
163163 const float h = 10 ;
@@ -171,15 +171,15 @@ PERF_TEST_P(Sz_Depth_WinSz_BlockSz, CUDA_FastNonLocalMeansColored,
171171 const cv::cuda::GpuMat d_src (src);
172172 cv::cuda::GpuMat dst;
173173
174- TEST_CYCLE () cv::cuda::fastNlMeansDenoisingColored (d_src, dst, h, h, search_widow_size , block_size);
174+ TEST_CYCLE () cv::cuda::fastNlMeansDenoisingColored (d_src, dst, h, h, search_window_size , block_size);
175175
176176 CUDA_SANITY_CHECK (dst);
177177 }
178178 else
179179 {
180180 cv::Mat dst;
181181
182- TEST_CYCLE () cv::fastNlMeansDenoisingColored (src, dst, h, h, block_size, search_widow_size );
182+ TEST_CYCLE () cv::fastNlMeansDenoisingColored (src, dst, h, h, block_size, search_window_size );
183183
184184 CPU_SANITY_CHECK (dst);
185185 }
0 commit comments