24 #ifndef ARM_COMPUTE_CLFASTCORNERS_H 25 #define ARM_COMPUTE_CLFASTCORNERS_H 42 class CLFastCornersKernel;
43 class CLCopyToArrayKernel;
60 CLFastCorners(std::shared_ptr<IMemoryManager> memory_manager =
nullptr);
78 BorderMode border_mode, uint8_t constant_border_value = 0);
91 BorderMode border_mode, uint8_t constant_border_value = 0);
97 std::unique_ptr<CLFastCornersKernel> _fast_corners_kernel;
99 std::unique_ptr<CLCopyToArrayKernel> _copy_array_kernel;
104 unsigned int *_num_corners;
105 cl::Buffer _num_buffer;
107 uint8_t _constant_border_value;
BorderMode
Methods available to handle borders.
Base class for all functions.
Basic function to execute fast corners.
void run() override
Run the kernels contained in the function.
ICLTensor ICLImage
Interface for OpenCL images.
CLFastCorners(std::shared_ptr< IMemoryManager > memory_manager=nullptr)
Constructor.
Copyright (c) 2017-2021 Arm Limited.
Interface for OpenCL Array.
void configure(const ICLImage *input, float threshold, bool nonmax_suppression, ICLKeyPointArray *corners, unsigned int *num_corners, BorderMode border_mode, uint8_t constant_border_value=0)
Initialize the function's source, destination, conv and border_mode.
Interface for OpenCL tensor.
~CLFastCorners()
Default destructor.
Wrapper to configure the Khronos OpenCL C++ header.
SimpleTensor< T > threshold(const SimpleTensor< T > &src, T threshold, T false_value, T true_value, ThresholdType type, T upper)
Describe a multidimensional execution window.
Basic function to execute non-maxima suppression over a 3x3 window.
const CLFastCorners & operator=(const CLFastCorners &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Basic implementation of the OpenCL tensor interface.