ARM Compute Library
17.03.1
|
Basic function to execute harris corners detection. More...
#include <CLHarrisCorners.h>
Public Member Functions | |
CLHarrisCorners () | |
Constructor. More... | |
CLHarrisCorners (const CLHarrisCorners &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
const CLHarrisCorners & | operator= (const CLHarrisCorners &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
void | configure (ICLImage *input, float threshold, float min_dist, float sensitivity, int32_t gradient_size, int32_t block_size, ICLKeyPointArray *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... | |
Basic function to execute harris corners detection.
This function calls the following CL and NEON kernels and functions:
Definition at line 59 of file CLHarrisCorners.h.
CLHarrisCorners | ( | ) |
Constructor.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
void configure | ( | ICLImage * | input, |
float | threshold, | ||
float | min_dist, | ||
float | sensitivity, | ||
int32_t | gradient_size, | ||
int32_t | block_size, | ||
ICLKeyPointArray * | 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 types supported: U8. (Written to only for border_mode != UNDEFINED) |
[in] | threshold | Minimum threshold with which to eliminate Harris Corner scores (computed using the normalized Sobel kernel). |
[in] | min_dist | Radial Euclidean distance for the euclidean distance stage. |
[in] | sensitivity | Sensitivity threshold k from the Harris-Stephens equation |
[in] | gradient_size | The gradient window size to use on the input. The implementation supports 3, 5, and 7 |
[in] | block_size | The block window size used to compute the Harris Corner score. The implementation supports 3, 5, and 7. |
[out] | corners | Array of keypoints to store the results. |
[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. |
|
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.