21.02
|
Basic function to execute non-maxima suppression over a 3x3 window. More...
#include <CLNonMaximaSuppression3x3.h>
Public Member Functions | |
void | configure (ICLTensor *input, ICLTensor *output, BorderMode border_mode) |
Initialise the function's source, destinations and border mode. More... | |
void | configure (const CLCompileContext &compile_context, ICLTensor *input, ICLTensor *output, BorderMode border_mode) |
Initialise the function's source, destinations and border mode. More... | |
Public Member Functions inherited from ICLSimpleFunction | |
ICLSimpleFunction (CLRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
ICLSimpleFunction (const ICLSimpleFunction &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLSimpleFunction (ICLSimpleFunction &&)=default | |
Default move constructor. More... | |
ICLSimpleFunction & | operator= (const ICLSimpleFunction &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLSimpleFunction & | operator= (ICLSimpleFunction &&)=default |
Default move assignment operator. More... | |
~ICLSimpleFunction () | |
Default destructor. More... | |
void | run () override final |
Run the kernels contained in the function. More... | |
Public Member Functions inherited from IFunction | |
virtual | ~IFunction ()=default |
Destructor. More... | |
virtual void | prepare () |
Prepare the function for executing. More... | |
Basic function to execute non-maxima suppression over a 3x3 window.
This function calls the following CL kernels:
Definition at line 43 of file CLNonMaximaSuppression3x3.h.
void configure | ( | ICLTensor * | input, |
ICLTensor * | output, | ||
BorderMode | border_mode | ||
) |
Initialise the function's source, destinations and border mode.
[in,out] | input | Source tensor. Data types supported: U8, F32. (Written to only for border_mode != UNDEFINED) |
[out] | output | Destination for the Non-Maxima suppressions 3x3. Data types supported: same as input . |
[in] | border_mode | Border mode to use for non-maxima suppression. The implementation supports just 2 border modes: UNDEFINED and CONSTANT |
Definition at line 33 of file CLNonMaximaSuppression3x3.cpp.
References CLKernelLibrary::get().
Referenced by CLFastCorners::configure(), and CLHarrisCorners::configure().
void configure | ( | const CLCompileContext & | compile_context, |
ICLTensor * | input, | ||
ICLTensor * | output, | ||
BorderMode | border_mode | ||
) |
Initialise the function's source, destinations and border mode.
[in] | compile_context | The compile context to be used. |
[in,out] | input | Source tensor. Data types supported: U8, F32. (Written to only for border_mode != UNDEFINED) |
[out] | output | Destination for the Non-Maxima suppressions 3x3. Data types supported: same as input . |
[in] | border_mode | Border mode to use for non-maxima suppression. The implementation supports just 2 border modes: UNDEFINED and CONSTANT |
Definition at line 38 of file CLNonMaximaSuppression3x3.cpp.
References arm_compute::CONSTANT, and arm_compute::UNDEFINED.