24 #ifndef __ARM_COMPUTE_NEHARRISCORNERSKERNEL_H__ 25 #define __ARM_COMPUTE_NEHARRISCORNERSKERNEL_H__ 68 virtual void configure(
const IImage *input1,
const IImage *input2,
IImage *output,
float norm_factor,
float strength_thresh,
float sensitivity,
bool border_undefined) = 0;
75 float _strength_thresh;
83 template <
int32_t block_size>
90 void configure(
const IImage *input1,
const IImage *input2,
IImage *output,
float norm_factor,
float strength_thresh,
float sensitivity,
bool border_undefined)
override;
96 using HarrisScoreFunction = void(
const void *__restrict input1_ptr,
const void *__restrict input2_ptr,
void *__restrict output_ptr, int32_t input_stride,
97 float norm_factor,
float sensitivity,
float strength_thresh);
99 HarrisScoreFunction *_func;
102 #ifdef ARM_COMPUTE_ENABLE_FP16 104 template <
int32_t block_size>
111 void configure(
const IImage *input1,
const IImage *input2,
IImage *output,
float norm_factor,
float strength_thresh,
float sensitivity,
bool border_undefined)
override;
116 using HarrisScoreFunction = void(
const void *__restrict input1_ptr,
const void *__restrict input2_ptr,
void *__restrict output_ptr, int32_t input_stride,
117 float norm_factor,
float sensitivity,
float strength_thresh);
119 HarrisScoreFunction *_func;
122 template <
int32_t block_size>
Container for 2D border size.
INEHarrisScoreKernel & operator=(const INEHarrisScoreKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
virtual void run(const Window &window)=0
Execute the kernel on the passed window.
Common interface for all kernels implemented in C++.
Template NEON kernel to perform Harris Score.
Interface for NEON tensor.
virtual void configure(const IImage *input1, const IImage *input2, IImage *output, float norm_factor, float strength_thresh, float sensitivity, bool border_undefined)=0
Setup the kernel parameters.
INEHarrisScoreKernel()
Default constructor.
virtual BorderSize border_size() const
The size of the border for that kernel.
Interface for the accumulate Weighted kernel using F16.
Common interface for all Harris Score kernels.
~INEHarrisScoreKernel()=default
Default destructor.
const Window & window() const
The maximum window the kernel can be executed on.
Describe a multidimensional execution window.