24 #ifndef __ARM_COMPUTE_NEHOGDESCRIPTORKERNEL_H__ 25 #define __ARM_COMPUTE_NEHOGDESCRIPTORKERNEL_H__ 77 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,
78 size_t cell_height,
size_t num_bins,
float phase_scale);
81 const ITensor *_input_magnitude;
129 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,
130 float l2_hyst_threshold);
132 BlockNormFunc *_func;
135 Size2D _num_cells_per_block;
136 Size2D _num_cells_per_block_stride;
138 float _l2_hyst_threshold;
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.
NEON kernel to perform HOG Orientation Binning.
NEON kernel to perform HOG block normalization.
~NEHOGOrientationBinningKernel()=default
Default destructor.
void run(const Window &window) override
Execute the kernel on the passed window.
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.
const Window & window() const
The maximum window the kernel can be executed on.
Describe a multidimensional execution window.
NEHOGOrientationBinningKernel()
Default constructor.