Common interface for warp affine and warp perspective.
More...
#include <NEWarpKernel.h>
Common interface for warp affine and warp perspective.
Definition at line 37 of file NEWarpKernel.h.
Prevent instances of this class from being copied (As this class contains pointers)
Allow instances of this class to be moved.
The size of the border for that kernel.
- Returns
- The width in number of elements of the border.
Reimplemented from IKernel.
virtual void configure |
( |
const ITensor * |
input, |
|
|
ITensor * |
output, |
|
|
const float * |
matrix, |
|
|
BorderMode |
border_mode, |
|
|
uint8_t |
constant_border_value |
|
) |
| |
|
virtual |
Initialise the kernel's input, output and border mode.
- Parameters
-
[in] | input | Source tensor. Data type supported: U8. |
[out] | output | Destination tensor. Data type supported: U8. |
[in] | matrix | The perspective or affine matrix to use. Must be 2x3 for affine and 3x3 for perspective of type float. |
[in] | border_mode | Strategy to use for borders |
[in] | constant_border_value | Constant value used for filling the border. |
Prevent instances of this class from being copied (As this class contains pointers)
Allow instances of this class to be moved.
Execute the kernel on the passed window.
- Warning
- If is_parallelisable() returns false then the passed window must be equal to window()
- Note
- The window has to be a region within the window returned by the window() method
-
The width of the window has to be a multiple of num_elems_processed_per_iteration().
- Parameters
-
[in] | window | Region on which to execute the kernel. (Must be a region of the window returned by window()) |
[in] | info | Info about executing thread and CPU. |
Implements ICPPKernel.
The documentation for this class was generated from the following file: