Compute Library
18.05
|
Computes magnitude and quantised phase from inputs gradients. More...
#include <NECannyEdgeKernel.h>
Public Member Functions | |
const char * | name () const override |
Name of the kernel. More... | |
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... | |
virtual void | configure (const ITensor *gx, const ITensor *gy, ITensor *magnitude, ITensor *phase, int32_t norm_type) |
Initialise the kernel's sources, destinations and border mode. More... | |
void | run (const Window &window, const ThreadInfo &info) 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... | |
Computes magnitude and quantised phase from inputs gradients.
Definition at line 36 of file NECannyEdgeKernel.h.
NEGradientKernel | ( | ) |
Default constructor.
Referenced by NEGradientKernel::name().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Allow instances of this class to be moved.
|
virtualdefault |
Default destructor.
Referenced by NEGradientKernel::name().
|
virtual |
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 |
Referenced by NEGradientKernel::name(), NEEdgeNonMaxSuppressionKernel::name(), and NEEdgeTraceKernel::name().
|
inlineoverridevirtual |
Name of the kernel.
Implements ICPPKernel.
Definition at line 39 of file NECannyEdgeKernel.h.
References NEGradientKernel::configure(), arm_compute::test::validation::info(), arm_compute::test::validation::reference::magnitude(), NEGradientKernel::NEGradientKernel(), NEGradientKernel::operator=(), arm_compute::test::validation::reference::phase(), NEGradientKernel::run(), IKernel::window(), and NEGradientKernel::~NEGradientKernel().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by NEGradientKernel::name(), NEEdgeNonMaxSuppressionKernel::name(), and NEEdgeTraceKernel::name().
|
default |
Allow instances of this class to be moved.
|
overridevirtual |
Execute the kernel on the passed window.
[in] | window | Region on which to execute the kernel. (Must be a region of the window returned by window()) |
[in] | info | Info about executing thread and CPU. |
Implements ICPPKernel.
Referenced by NEGradientKernel::name(), NEEdgeNonMaxSuppressionKernel::name(), and NEEdgeTraceKernel::name().