diff options
Diffstat (limited to 'src/runtime/CL/functions/CLHarrisCorners.cpp')
-rw-r--r-- | src/runtime/CL/functions/CLHarrisCorners.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/CL/functions/CLHarrisCorners.cpp b/src/runtime/CL/functions/CLHarrisCorners.cpp index 2db277fa4d..e1c44416ae 100644 --- a/src/runtime/CL/functions/CLHarrisCorners.cpp +++ b/src/runtime/CL/functions/CLHarrisCorners.cpp @@ -100,8 +100,8 @@ void CLHarrisCorners::configure(ICLImage *input, float threshold, float min_dist } // Configure border filling before harris score - _border_gx.configure(&_gx, block_size / 2, border_mode, constant_border_value); - _border_gy.configure(&_gy, block_size / 2, border_mode, constant_border_value); + _border_gx.configure(&_gx, BorderSize(block_size / 2), border_mode, constant_border_value); + _border_gy.configure(&_gy, BorderSize(block_size / 2), border_mode, constant_border_value); // Normalization factor const float norm_factor = 1.0f / (255.0f * pow(4.0f, gradient_size / 2) * block_size); |