aboutsummaryrefslogtreecommitdiff
path: root/tests/validation_old/ReferenceCPP.cpp
diff options
context:
space:
mode:
authorMoritz Pflanzer <moritz.pflanzer@arm.com>2017-09-23 11:57:33 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit7655a67384895868c0afa72bfda9a9b2fcfdf323 (patch)
tree30c1ebf1d4bb05dbdb287403b2539af8c8657b87 /tests/validation_old/ReferenceCPP.cpp
parentde691f055ac255c798a766483eef63465ac90c75 (diff)
downloadComputeLibrary-7655a67384895868c0afa72bfda9a9b2fcfdf323.tar.gz
COMPMID-507: Move Sobel to new validation
Change-Id: Ic0a9dbd8e646abbf8d9ea52e497a5fe60e499cc7 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/88883 Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'tests/validation_old/ReferenceCPP.cpp')
-rw-r--r--tests/validation_old/ReferenceCPP.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/validation_old/ReferenceCPP.cpp b/tests/validation_old/ReferenceCPP.cpp
index e10f9065a0..0ea3032d81 100644
--- a/tests/validation_old/ReferenceCPP.cpp
+++ b/tests/validation_old/ReferenceCPP.cpp
@@ -50,26 +50,6 @@ namespace test
{
namespace validation
{
-// Sobel 3x3
-void ReferenceCPP::sobel_3x3(RawTensor &src, RawTensor &dst_x, RawTensor &dst_y, BorderMode border_mode, uint8_t constant_border_value)
-{
- ARM_COMPUTE_ERROR_ON(src.data_type() != DataType::U8 || dst_x.data_type() != DataType::S16 || dst_y.data_type() != DataType::S16);
- Tensor<uint8_t> s(src.shape(), src.data_type(), src.fixed_point_position(), reinterpret_cast<const uint8_t *>(src.data()));
- Tensor<int16_t> dx(dst_x.shape(), dst_x.data_type(), dst_x.fixed_point_position(), reinterpret_cast<int16_t *>(dst_x.data()));
- Tensor<int16_t> dy(dst_y.shape(), dst_y.data_type(), dst_y.fixed_point_position(), reinterpret_cast<int16_t *>(dst_y.data()));
- tensor_operations::sobel_3x3(s, dx, dy, border_mode, constant_border_value);
-}
-
-// Sobel 5x5
-void ReferenceCPP::sobel_5x5(RawTensor &src, RawTensor &dst_x, RawTensor &dst_y, BorderMode border_mode, uint8_t constant_border_value)
-{
- ARM_COMPUTE_ERROR_ON(src.data_type() != DataType::U8 || dst_x.data_type() != DataType::S16 || dst_y.data_type() != DataType::S16);
- Tensor<uint8_t> s(src.shape(), src.data_type(), src.fixed_point_position(), reinterpret_cast<const uint8_t *>(src.data()));
- Tensor<int16_t> dx(dst_x.shape(), dst_x.data_type(), dst_x.fixed_point_position(), reinterpret_cast<int16_t *>(dst_x.data()));
- Tensor<int16_t> dy(dst_y.shape(), dst_y.data_type(), dst_y.fixed_point_position(), reinterpret_cast<int16_t *>(dst_y.data()));
- tensor_operations::sobel_5x5(s, dx, dy, border_mode, constant_border_value);
-}
-
// Harris corners
void ReferenceCPP::harris_corners(RawTensor &src, RawTensor &Gx, RawTensor &Gy, const RawTensor &candidates, const RawTensor &non_maxima, float threshold, float min_dist, float sensitivity,
int32_t gradient_size, int32_t block_size, KeyPointArray &corners, BorderMode border_mode, uint8_t constant_border_value)