Compute Library
18.05
|
Basic function to execute fast corners. More...
#include <NEFastCorners.h>
Public Member Functions | |
NEFastCorners (std::shared_ptr< IMemoryManager > memory_manager=nullptr) | |
Constructor. 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 53 of file NEFastCorners.h.
NEFastCorners | ( | std::shared_ptr< IMemoryManager > | memory_manager = nullptr | ) |
Constructor.
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. |
|
overridevirtual |
Run the kernels contained in the function.
For NEON kernels:
For OpenCL kernels:
Implements IFunction.