ARM Compute Library
17.04
|
NEON kernel to perform Gradient computation. More...
#include <NECannyEdgeKernel.h>
Public Member Functions | |
void | configure (const ITensor *gx, const ITensor *gy, ITensor *magnitude, ITensor *phase, int32_t norm_type) override |
Initialise the kernel's sources, destinations and border mode. More... | |
Public Member Functions inherited from NEGradientKernel | |
NEGradientKernel () | |
Default constructor. More... | |
NEGradientKernel (const NEGradientKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEGradientKernel & | operator= (const NEGradientKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEGradientKernel (NEGradientKernel &&)=default | |
Allow instances of this class to be moved. More... | |
NEGradientKernel & | operator= (NEGradientKernel &&)=default |
Allow instances of this class to be moved. More... | |
virtual | ~NEGradientKernel ()=default |
Default destructor. More... | |
void | run (const Window &window) override |
Execute the kernel on the passed window. More... | |
Public Member Functions inherited from ICPPKernel | |
virtual | ~ICPPKernel ()=default |
Default destructor. More... | |
Public Member Functions inherited from IKernel | |
IKernel () | |
Constructor. More... | |
virtual | ~IKernel ()=default |
Destructor. More... | |
virtual bool | is_parallelisable () const |
Indicates whether or not the kernel is parallelisable. More... | |
virtual BorderSize | border_size () const |
The size of the border for that kernel. More... | |
const Window & | window () const |
The maximum window the kernel can be executed on. More... | |
NEON kernel to perform Gradient computation.
Definition at line 87 of file NECannyEdgeKernel.h.
|
overridevirtual |
Initialise the kernel's sources, destinations and border mode.
[in] | gx | Source tensor - Gx component. Data type supported: S16/S32. |
[in] | gy | Source tensor - Gy component. Data type supported: same as gx . |
[out] | magnitude | Destination tensor - Magnitude. Data type supported: U16 (if the data type of gx is S16) / U32 (if the data type of gx is S32). |
[out] | phase | Destination tensor - Quantized phase. Data type supported: U8. |
[in] | norm_type | Normalization type. If 1, L1-Norm otherwise L2-Norm |
Reimplemented from NEGradientKernel.