21.02
|
Basic function to execute fast corners. More...
#include <NEFastCorners.h>
Public Member Functions | |
NEFastCorners (std::shared_ptr< IMemoryManager > memory_manager=nullptr) | |
Constructor. More... | |
NEFastCorners (const NEFastCorners &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEFastCorners & | operator= (const NEFastCorners &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEFastCorners (NEFastCorners &&)=delete | |
Prevent instances of this class from being moved (As this class contains non movable objects) More... | |
NEFastCorners & | operator= (NEFastCorners &&)=delete |
Prevent instances of this class from being moved (As this class contains non movable objects) More... | |
~NEFastCorners () | |
Default destructor. More... | |
void | configure (IImage *input, float threshold, bool nonmax_suppression, KeyPointArray *corners, BorderMode border_mode, uint8_t constant_border_value=0) |
Initialize the function's source, destination, conv and border_mode. 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 fast corners.
This function call the following Neon kernels:
Definition at line 55 of file NEFastCorners.h.
NEFastCorners | ( | std::shared_ptr< IMemoryManager > | memory_manager = nullptr | ) |
Constructor.
Definition at line 43 of file NEFastCorners.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 | ( | IImage * | input, |
float | threshold, | ||
bool | nonmax_suppression, | ||
KeyPointArray * | corners, | ||
BorderMode | border_mode, | ||
uint8_t | constant_border_value = 0 |
||
) |
Initialize the function's source, destination, conv and border_mode.
[in,out] | input | Source image. Data type supported: U8. (Written to only for border_mode != UNDEFINED) |
[in] | threshold | Threshold on difference between intensity of the central pixel and pixels on Bresenham's circle of radius 3. |
[in] | nonmax_suppression | If true, non-maximum suppression is applied to detected corners before being placed in the array. |
[out] | corners | Array of keypoints to store the results. |
[in] | border_mode | Strategy to use for borders. |
[in] | constant_border_value | (Optional) Constant value to use for borders if border_mode is set to CONSTANT. |
Definition at line 55 of file NEFastCorners.cpp.
References TensorAllocator::allocate(), Tensor::allocator(), ARM_COMPUTE_ERROR_ON, ARM_COMPUTE_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN, ARM_COMPUTE_ERROR_ON_TENSOR_NOT_2D, ITensor::info(), TensorAllocator::init(), MemoryGroup::manage(), ITensorInfo::tensor_shape(), arm_compute::U8, and arm_compute::UNDEFINED.
|
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 101 of file NEFastCorners.cpp.
References Window::DimY, Window::DimZ, Scheduler::get(), and IScheduler::schedule().