diff options
Diffstat (limited to 'tests/validation_old/Reference.cpp')
-rw-r--r-- | tests/validation_old/Reference.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/validation_old/Reference.cpp b/tests/validation_old/Reference.cpp index 32e0212596..0331ccefca 100644 --- a/tests/validation_old/Reference.cpp +++ b/tests/validation_old/Reference.cpp @@ -41,38 +41,6 @@ namespace test { namespace validation { -std::pair<RawTensor, RawTensor> Reference::compute_reference_sobel_3x3(const TensorShape &shape, BorderMode border_mode, uint8_t constant_border_value) -{ - // Create reference - RawTensor ref_src(shape, Format::U8); - RawTensor ref_dst_x(shape, Format::S16); - RawTensor ref_dst_y(shape, Format::S16); - - // Fill reference - library->fill_tensor_uniform(ref_src, 0); - - // Compute reference - ReferenceCPP::sobel_3x3(ref_src, ref_dst_x, ref_dst_y, border_mode, constant_border_value); - - return std::make_pair(ref_dst_x, ref_dst_y); -} - -std::pair<RawTensor, RawTensor> Reference::compute_reference_sobel_5x5(const TensorShape &shape, BorderMode border_mode, uint8_t constant_border_value) -{ - // Create reference - RawTensor ref_src(shape, Format::U8); - RawTensor ref_dst_x(shape, Format::S16); - RawTensor ref_dst_y(shape, Format::S16); - - // Fill reference - library->fill_tensor_uniform(ref_src, 0); - - // Compute reference - ReferenceCPP::sobel_5x5(ref_src, ref_dst_x, ref_dst_y, border_mode, constant_border_value); - - return std::make_pair(ref_dst_x, ref_dst_y); -} - KeyPointArray Reference::compute_reference_harris_corners(const TensorShape &shape, float threshold, float min_dist, float sensitivity, int32_t gradient_size, int32_t block_size, BorderMode border_mode, uint8_t constant_border_value) { |