ARM Compute Library
17.04
|
Basic function to execute min and max location. More...
#include <CLMinMaxLocation.h>
Public Member Functions | |
CLMinMaxLocation () | |
Constructor. More... | |
CLMinMaxLocation (const CLMinMaxLocation &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
CLMinMaxLocation & | operator= (const CLMinMaxLocation &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
CLMinMaxLocation (CLMinMaxLocation &&)=default | |
Allow instances of this class to be moved. More... | |
CLMinMaxLocation & | operator= (CLMinMaxLocation &&)=default |
Allow instances of this class to be moved. More... | |
void | configure (const ICLImage *input, int32_t *min, int32_t *max, CLCoordinates2DArray *min_loc=nullptr, CLCoordinates2DArray *max_loc=nullptr, uint32_t *min_count=nullptr, uint32_t *max_count=nullptr) |
Initialise the kernel's inputs and outputs. 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 min and max location.
This function calls the following OpenCL kernels:
Definition at line 41 of file CLMinMaxLocation.h.
CLMinMaxLocation | ( | ) |
Constructor.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Allow instances of this class to be moved.
void configure | ( | const ICLImage * | input, |
int32_t * | min, | ||
int32_t * | max, | ||
CLCoordinates2DArray * | min_loc = nullptr , |
||
CLCoordinates2DArray * | max_loc = nullptr , |
||
uint32_t * | min_count = nullptr , |
||
uint32_t * | max_count = nullptr |
||
) |
Initialise the kernel's inputs and outputs.
[in] | input | Input image. Data types supported: U8 or S16. |
[out] | min | Minimum value of image. |
[out] | max | Maximum value of image. |
[out] | min_loc | (Optional) Array of Coordinates2D used to store minimum value locations. |
[out] | max_loc | (Optional) Array of Coordinates2D used to store maximum value locations. |
[out] | min_count | (Optional) Number of minimum value encounters. |
[out] | max_count | (Optional) Number of maximum value encounters. |
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Allow instances of this class to be moved.
|
overridevirtual |
Run the kernels contained in the function.
For NEON kernels:
For OpenCL kernels:
Implements IFunction.