Compute Library
18.05
|
Interface for the kernel to apply a non-linear filter. More...
#include <NENonLinearFilterKernel.h>
Public Member Functions | |
const char * | name () const override |
Name of the kernel. More... | |
NENonLinearFilterKernel () | |
Default constructor. More... | |
NENonLinearFilterKernel (NENonLinearFilterKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NENonLinearFilterKernel & | operator= (NENonLinearFilterKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NENonLinearFilterKernel (NENonLinearFilterKernel &&)=default | |
Allow instances of this class to be moved. More... | |
NENonLinearFilterKernel & | operator= (NENonLinearFilterKernel &&)=default |
Allow instances of this class to be moved. More... | |
void | configure (const ITensor *input, ITensor *output, NonLinearFilterFunction function, unsigned int mask_size, MatrixPattern pattern, const uint8_t *mask, bool border_undefined) |
Set the source, destination and border mode of the kernel. More... | |
void | run (const Window &window, const ThreadInfo &info) override |
Execute the kernel on the passed window. More... | |
BorderSize | border_size () const override |
The size of the border for that kernel. 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... | |
const Window & | window () const |
The maximum window the kernel can be executed on. More... | |
Interface for the kernel to apply a non-linear filter.
Definition at line 37 of file NENonLinearFilterKernel.h.
Default constructor.
Referenced by NENonLinearFilterKernel::name().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Allow instances of this class to be moved.
|
overridevirtual |
The size of the border for that kernel.
Reimplemented from IKernel.
Referenced by NENonLinearFilterKernel::name().
void configure | ( | const ITensor * | input, |
ITensor * | output, | ||
NonLinearFilterFunction | function, | ||
unsigned int | mask_size, | ||
MatrixPattern | pattern, | ||
const uint8_t * | mask, | ||
bool | border_undefined | ||
) |
Set the source, destination and border mode of the kernel.
[in] | input | Source tensor. Data type supported: U8 |
[out] | output | Destination tensor. Data type supported: U8 |
[in] | function | Non linear function to perform |
[in] | mask_size | Mask size. Supported sizes: 3, 5 |
[in] | pattern | Mask pattern |
[in] | mask | The given mask. Will be used only if pattern is specified to PATTERN_OTHER |
[in] | border_undefined | True if the border mode is undefined. False if it's replicate or constant. |
Referenced by NENonLinearFilterKernel::name().
|
inlineoverridevirtual |
Name of the kernel.
Implements ICPPKernel.
Definition at line 40 of file NENonLinearFilterKernel.h.
References NENonLinearFilterKernel::border_size(), NENonLinearFilterKernel::configure(), arm_compute::test::validation::info(), NENonLinearFilterKernel::NENonLinearFilterKernel(), NENonLinearFilterKernel::operator=(), NENonLinearFilterKernel::run(), and IKernel::window().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by NENonLinearFilterKernel::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 NENonLinearFilterKernel::name().