21.02
|
Basic function to run NEHistogramKernel. More...
#include <NEHistogram.h>
Public Member Functions | |
NEHistogram () | |
Default Constructor. More... | |
NEHistogram (const NEHistogram &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEHistogram & | operator= (const NEHistogram &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEHistogram (NEHistogram &&)=delete | |
Prevent instances of this class from being moved (As this class contains non movable objects) More... | |
NEHistogram & | operator= (NEHistogram &&)=delete |
Prevent instances of this class from being moved (As this class contains non movable objects) More... | |
~NEHistogram () | |
Default destructor. More... | |
void | configure (const IImage *input, IDistribution1D *output) |
Initialise the kernel's inputs. More... | |
void | run () override |
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 run NEHistogramKernel.
Definition at line 46 of file NEHistogram.h.
NEHistogram | ( | ) |
Default Constructor.
Definition at line 38 of file NEHistogram.cpp.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
delete |
Prevent instances of this class from being moved (As this class contains non movable objects)
|
default |
Default destructor.
void configure | ( | const IImage * | input, |
IDistribution1D * | output | ||
) |
Initialise the kernel's inputs.
[in] | input | Input image. Data type supported: U8. |
[out] | output | Output distribution. |
Definition at line 43 of file NEHistogram.cpp.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_ERROR_ON_TENSOR_NOT_2D, Scheduler::get(), IDistribution1D::num_bins(), and IScheduler::num_threads().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
delete |
Prevent instances of this class from being moved (As this class contains non movable objects)
|
overridevirtual |
Run the kernels contained in the function.
For Neon kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 57 of file NEHistogram.cpp.
References Window::DimY, Scheduler::get(), and IScheduler::schedule().