21.02
|
Basic function to execute histogram. More...
#include <CLHistogram.h>
Public Member Functions | |
CLHistogram () | |
CLHistogram (const CLHistogram &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
const CLHistogram & | operator= (const CLHistogram &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
void | configure (const ICLImage *input, ICLDistribution1D *output) |
Initialize the function. More... | |
void | configure (const CLCompileContext &compile_context, const ICLImage *input, ICLDistribution1D *output) |
Initialize the function. 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 execute histogram.
This function calls the following OpenCL kernels:
Definition at line 43 of file CLHistogram.h.
CLHistogram | ( | ) |
Definition at line 30 of file CLHistogram.cpp.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
void configure | ( | const ICLImage * | input, |
ICLDistribution1D * | output | ||
) |
Initialize the function.
[in] | input | Source image. Data types supported: U8 |
[out] | output | Output distribution. |
Definition at line 35 of file CLHistogram.cpp.
References CLKernelLibrary::get().
void configure | ( | const CLCompileContext & | compile_context, |
const ICLImage * | input, | ||
ICLDistribution1D * | output | ||
) |
Initialize the function.
[in] | compile_context | The compile context to be used. |
[in] | input | Source image. Data types supported: U8 |
[out] | output | Output distribution. |
Definition at line 40 of file CLHistogram.cpp.
References CLHistogramKernel::configure(), and CLHistogramBorderKernel::configure().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
overridevirtual |
Run the kernels contained in the function.
For Neon kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 46 of file CLHistogram.cpp.
References CLScheduler::enqueue(), and CLScheduler::get().