Compute Library
18.05
|
CPP kernel to perform in-place computation of euclidean distance on IDetectionWindowArray. More...
#include <CPPDetectionWindowNonMaximaSuppressionKernel.h>
Public Member Functions | |
const char * | name () const override |
Name of the kernel. More... | |
CPPDetectionWindowNonMaximaSuppressionKernel () | |
Default constructor. More... | |
CPPDetectionWindowNonMaximaSuppressionKernel (const CPPDetectionWindowNonMaximaSuppressionKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
CPPDetectionWindowNonMaximaSuppressionKernel & | operator= (const CPPDetectionWindowNonMaximaSuppressionKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
CPPDetectionWindowNonMaximaSuppressionKernel (CPPDetectionWindowNonMaximaSuppressionKernel &&)=default | |
Allow instances of this class to be moved. More... | |
CPPDetectionWindowNonMaximaSuppressionKernel & | operator= (CPPDetectionWindowNonMaximaSuppressionKernel &&)=default |
Allow instances of this class to be moved. More... | |
void | configure (IDetectionWindowArray *input_output, float min_distance) |
Initialise the kernel's input, output and the euclidean minimum distance. More... | |
void | run (const Window &window, const ThreadInfo &info) override |
Execute the kernel on the passed window. More... | |
bool | is_parallelisable () const override |
Indicates whether or not the kernel is parallelisable. 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 BorderSize | border_size () const |
The size of the border for that kernel. More... | |
const Window & | window () const |
The maximum window the kernel can be executed on. More... | |
CPP kernel to perform in-place computation of euclidean distance on IDetectionWindowArray.
Definition at line 39 of file CPPDetectionWindowNonMaximaSuppressionKernel.h.
Default constructor.
Referenced by CPPDetectionWindowNonMaximaSuppressionKernel::name().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Allow instances of this class to be moved.
void configure | ( | IDetectionWindowArray * | input_output, |
float | min_distance | ||
) |
Initialise the kernel's input, output and the euclidean minimum distance.
[in,out] | input_output | Input/Output array of DetectionWindow |
[in] | min_distance | Radial Euclidean distance for non-maxima suppression |
Referenced by CPPDetectionWindowNonMaximaSuppressionKernel::name().
|
overridevirtual |
Indicates whether or not the kernel is parallelisable.
If the kernel is parallelisable then the window returned by window() can be split into sub-windows which can then be run in parallel.
If the kernel is not parallelisable then only the window returned by window() can be passed to run()
Reimplemented from IKernel.
Referenced by CPPDetectionWindowNonMaximaSuppressionKernel::name().
|
inlineoverridevirtual |
Name of the kernel.
Implements ICPPKernel.
Definition at line 42 of file CPPDetectionWindowNonMaximaSuppressionKernel.h.
References CPPDetectionWindowNonMaximaSuppressionKernel::configure(), CPPDetectionWindowNonMaximaSuppressionKernel::CPPDetectionWindowNonMaximaSuppressionKernel(), arm_compute::test::validation::info(), CPPDetectionWindowNonMaximaSuppressionKernel::is_parallelisable(), CPPDetectionWindowNonMaximaSuppressionKernel::operator=(), CPPDetectionWindowNonMaximaSuppressionKernel::run(), and IKernel::window().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by CPPDetectionWindowNonMaximaSuppressionKernel::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 CPPDetectionWindowNonMaximaSuppressionKernel::name().