24 #ifndef ARM_COMPUTE_CLCANNYEDGEKERNEL_H 25 #define ARM_COMPUTE_CLCANNYEDGEKERNEL_H const Window & window() const
The maximum window the kernel can be executed on.
OpenCL kernel to perform Gradient computation.
Container for 2D border size.
SimpleTensor< uint8_t > phase(const SimpleTensor< T > &gx, const SimpleTensor< T > &gy, PhaseType phase_type)
Common interface for all the OpenCL kernels.
Copyright (c) 2017-2021 Arm Limited.
void run(const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue...
virtual BorderSize border_size() const
The size of the border for that kernel.
void configure(const ICLTensor *gx, const ICLTensor *gy, ICLTensor *magnitude, ICLTensor *phase, int32_t norm_type)
Initialise the kernel's sources, destinations and border mode.
Interface for OpenCL tensor.
CLGradientKernel & operator=(const CLGradientKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
OpenCL kernel to perform Edge tracing.
CLGradientKernel()
Constructor.
Describe a multidimensional execution window.
SimpleTensor< T > magnitude(const SimpleTensor< T > &gx, const SimpleTensor< T > &gy, MagnitudeType magnitude_type)
OpenCL kernel to perform Non-Maxima suppression for Canny Edge.