diff options
author | John Richardson <john.richardson@arm.com> | 2018-01-09 11:17:00 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:16 +0000 |
commit | 684cb0f29d23fbe418e5e5347234abf9eccef363 (patch) | |
tree | 60731b6bb63b1a0dc997107d3bd55d8b4b82626b /tests/validation/reference/HOGDescriptor.h | |
parent | 7da29b6b12ff319ed2b6e2c46588dfa1991556fb (diff) | |
download | ComputeLibrary-684cb0f29d23fbe418e5e5347234abf9eccef363.tar.gz |
COMPMID-596: Port HOGDetector to new validation
Change-Id: I73231fc71c5166268e6c909b7930b7e034f3794e
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/118876
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/reference/HOGDescriptor.h')
-rw-r--r-- | tests/validation/reference/HOGDescriptor.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/validation/reference/HOGDescriptor.h b/tests/validation/reference/HOGDescriptor.h index e886445ec7..6ea83fe884 100644 --- a/tests/validation/reference/HOGDescriptor.h +++ b/tests/validation/reference/HOGDescriptor.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, 2018 ARM Limited. + * Copyright (c) 2017-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -34,6 +34,12 @@ namespace validation { namespace reference { +template <typename T, typename U, typename V> +void hog_orientation_binning(const SimpleTensor<T> &mag, const SimpleTensor<U> &phase, SimpleTensor<V> &hog_space, const HOGInfo &hog_info); + +template <typename T> +void hog_block_normalization(SimpleTensor<T> &desc, const SimpleTensor<T> &hog_space, const HOGInfo &hog_info); + template <typename T, typename U> SimpleTensor<T> hog_descriptor(const SimpleTensor<U> &src, BorderMode border_mode, U constant_border_value, const HOGInfo &hog_info); } // namespace reference |