ARM Compute Library
17.03.1
|
Kernel to perform a median filter on a tensor. More...
#include <NEMedian3x3Kernel.h>
Public Member Functions | |
void | configure (const ITensor *input, ITensor *output, bool border_undefined) |
Set the source, destination and border mode of the kernel. More... | |
void | run (const Window &window) 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 ICPPSimpleKernel | |
ICPPSimpleKernel () | |
Constructor. More... | |
ICPPSimpleKernel (const ICPPSimpleKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICPPSimpleKernel & | operator= (const ICPPSimpleKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICPPSimpleKernel (ICPPSimpleKernel &&)=default | |
Allow instances of this class to be moved. More... | |
ICPPSimpleKernel & | operator= (ICPPSimpleKernel &&)=default |
Allow instances of this class to be moved. More... | |
~ICPPSimpleKernel ()=default | |
Default destructor. 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... | |
Kernel to perform a median filter on a tensor.
Definition at line 34 of file NEMedian3x3Kernel.h.
|
overridevirtual |
The size of the border for that kernel.
Reimplemented from IKernel.
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] | border_undefined | True if the border mode is undefined. False if it's replicate or constant. |
|
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()) |
Implements ICPPKernel.