24 #ifndef ARM_COMPUTE_NEHOGDESCRIPTORKERNEL_H 25 #define ARM_COMPUTE_NEHOGDESCRIPTORKERNEL_H 39 const char *
name()
const override 41 return "NEHOGOrientationBinningKernel";
81 using OrientBinFunc = void(
const int16_t *__restrict mag_row_ptr,
const uint8_t *__restrict phase_row_ptr,
float *__restrict output_ptr,
size_t mag_stride,
size_t phase_stride,
size_t cell_width,
82 size_t cell_height,
size_t num_bins,
float phase_scale);
85 const ITensor *_input_magnitude;
98 const char *
name()
const override 100 return "NEHOGBlockNormalizationKernel";
137 using BlockNormFunc = void(
const float *input_row_ptr,
float *output_ptr,
size_t input_stride,
size_t num_cells_per_block_height,
size_t num_bins_block_x,
size_t num_bins_block,
138 float l2_hyst_threshold);
140 BlockNormFunc *_func;
143 Size2D _num_cells_per_block;
144 Size2D _num_cells_per_block_stride;
146 float _l2_hyst_threshold;
const Window & window() const
The maximum window the kernel can be executed on.
NEHOGOrientationBinningKernel & operator=(const NEHOGOrientationBinningKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Common interface for all kernels implemented in C++.
Store the HOG's metadata.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
Neon kernel to perform HOG Orientation Binning.
Neon kernel to perform HOG block normalization.
~NEHOGOrientationBinningKernel()=default
Default destructor.
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
const char * name() const override
Name of the kernel.
const char * name() const override
Name of the kernel.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about executing thread and CPU.
Class for specifying the size of an image or rectangle.
void configure(const ITensor *input_magnitude, const ITensor *input_phase, ITensor *output, const HOGInfo *hog_info)
Initialise the kernel's inputs, output and HOG's metadata.
Describe a multidimensional execution window.
NEHOGOrientationBinningKernel()
Default constructor.