36 uint8_t constant_border_value)
38 auto k = std::make_unique<NENonLinearFilterKernel>();
39 k->configure(input, output,
function, mask_size, pattern, mask, border_mode ==
BorderMode::UNDEFINED);
40 _kernel = std::move(k);
42 auto b = std::make_unique<NEFillBorderKernel>();
43 b->configure(input, _kernel->border_size(), border_mode,
PixelValue(constant_border_value));
44 _border_handler = std::move(
b);
BorderMode
Methods available to handle borders.
Class describing the value of a pixel for any image format.
void configure(ITensor *input, ITensor *output, NonLinearFilterFunction function, unsigned int mask_size, MatrixPattern pattern, const uint8_t *mask, BorderMode border_mode, uint8_t constant_border_value=0)
Initialize the function's source, destination, conv and border_mode.
Interface for Neon tensor.
Copyright (c) 2017-2021 Arm Limited.
Borders are left undefined.
MatrixPattern
Available matrix patterns.
NonLinearFilterFunction
Available non linear functions.