24 #ifndef ARM_COMPUTE_NENONLINEARFILTERKERNEL_H 25 #define ARM_COMPUTE_NENONLINEARFILTERKERNEL_H 40 const char *
name()
const override 42 return "NENonLinearFilterKernel";
85 template <
int mask_w,
int mask_h>
86 void median_filter_box(
const Window &win);
91 template <
int mask_w,
int mask_h>
92 void min_filter_box(
const Window &win);
97 template <
int mask_w,
int mask_h>
98 void max_filter_box(
const Window &win);
103 template <
int mask_w,
int mask_h>
104 void median_filter_cross(
const Window &win);
109 template <
int mask_w,
int mask_h>
110 void min_filter_cross(
const Window &win);
115 template <
int mask_w,
int mask_h>
116 void max_filter_cross(
const Window &win);
121 template <
int mask_w,
int mask_h>
122 void median_filter_disk(
const Window &win);
127 template <
int mask_w,
int mask_h>
128 void min_filter_disk(
const Window &win);
133 template <
int mask_w,
int mask_h>
134 void max_filter_disk(
const Window &win);
139 template <
int mask_w,
int mask_h>
140 void non_linear_filter_generic(
const Window &win);
143 unsigned int _border_width;
146 const uint8_t *_mask;
149 unsigned int _func_idx;
const Window & window() const
The maximum window the kernel can be executed on.
BorderSize border_size() const override
The size of the border for that kernel.
Container for 2D border size.
const char * name() const override
Name of the kernel.
Common interface for all kernels implemented in C++.
Interface for Neon tensor.
~NENonLinearFilterKernel()=default
Default destructor.
Copyright (c) 2017-2021 Arm Limited.
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
NENonLinearFilterKernel()
Default constructor.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
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.
Information about executing thread and CPU.
Interface for the kernel to apply a non-linear filter.
NENonLinearFilterKernel & operator=(NENonLinearFilterKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
MatrixPattern
Available matrix patterns.
Describe a multidimensional execution window.
NonLinearFilterFunction
Available non linear functions.