21.02
|
Basic function to execute gaussian pyramid with ORB scale factor. More...
#include <CLGaussianPyramid.h>
Public Member Functions | |
CLGaussianPyramidOrb () | |
Constructor. More... | |
void | configure (ICLTensor *input, CLPyramid *pyramid, BorderMode border_mode, uint8_t constant_border_value) override |
Initialise the function's source, destinations and border mode. More... | |
void | configure (const CLCompileContext &compile_context, ICLTensor *input, CLPyramid *pyramid, BorderMode border_mode, uint8_t constant_border_value) override |
Initialise the function's source, destinations and border mode. More... | |
void | run () override |
Run the kernels contained in the function. More... | |
Public Member Functions inherited from CLGaussianPyramid | |
CLGaussianPyramid () | |
Constructor. More... | |
CLGaussianPyramid (const CLGaussianPyramid &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
CLGaussianPyramid & | operator= (const CLGaussianPyramid &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
CLGaussianPyramid (CLGaussianPyramid &&)=default | |
Allow instances of this class to be moved. More... | |
CLGaussianPyramid & | operator= (CLGaussianPyramid &&)=default |
Allow instances of this class to be moved. More... | |
~CLGaussianPyramid () | |
Default destructor. 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 gaussian pyramid with ORB scale factor.
This function calls the following OpenCL kernels and functions:
Definition at line 127 of file CLGaussianPyramid.h.
Constructor.
Definition at line 146 of file CLGaussianPyramid.cpp.
|
overridevirtual |
Initialise the function's source, destinations and border mode.
[in,out] | input | Source tensor. Data types supported: U8. (Written to only for border_mode != UNDEFINED) |
[out] | pyramid | Destination pyramid tensors, Data types supported at each level: U8. |
[in] | border_mode | Border mode to use. |
[in] | constant_border_value | (Optional) Constant value to use for borders if border_mode is set to CONSTANT. |
Implements CLGaussianPyramid.
Definition at line 152 of file CLGaussianPyramid.cpp.
References CLKernelLibrary::get().
|
overridevirtual |
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. (Written to only for border_mode != UNDEFINED) |
[out] | pyramid | Destination pyramid tensors, Data types supported at each level: U8. |
[in] | border_mode | Border mode to use. |
[in] | constant_border_value | (Optional) Constant value to use for borders if border_mode is set to CONSTANT. |
Implements CLGaussianPyramid.
Definition at line 157 of file CLGaussianPyramid.cpp.
References ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN, arm_compute::CENTER, ITensorInfo::dimension(), CLPyramid::get_pyramid_level(), PyramidInfo::height(), ITensor::info(), CLPyramid::info(), CLTensor::info(), PyramidInfo::init(), arm_compute::test::validation::input, arm_compute::NEAREST_NEIGHBOR, ITensorInfo::num_dimensions(), TensorInfo::num_dimensions(), PyramidInfo::num_levels(), PyramidInfo::scale(), arm_compute::SCALE_PYRAMID_ORB, PyramidInfo::tensor_shape(), arm_compute::U8, and PyramidInfo::width().
|
overridevirtual |
Run the kernels contained in the function.
For Neon kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 195 of file CLGaussianPyramid.cpp.
References ARM_COMPUTE_ERROR_ON_MSG, CLScheduler::enqueue(), and CLScheduler::get().