CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
Kernel: Warp Perspective

Functions

VX_API_ENTRY vx_node VX_API_CALL vxWarpPerspectiveNode (vx_graph graph, vx_image input, vx_matrix matrix, vx_enum type, vx_image output)
 [Graph] Creates a Perspective Warp Node.
 
VX_API_ENTRY vx_status VX_API_CALL vxuWarpPerspective (vx_context context, vx_image input, vx_matrix matrix, vx_enum type, vx_image output)
 [Immediate] Performs an Perspective warp on an image.
 

Detailed Description

Function Documentation

◆ vxuWarpPerspective()

VX_API_ENTRY vx_status VX_API_CALL vxuWarpPerspective ( vx_context context,
vx_image input,
vx_matrix matrix,
vx_enum type,
vx_image output )

#include <vxu.h>

[Immediate] Performs an Perspective warp on an image.

Parameters
[in]contextThe reference to the overall context.
[in]inputThe input VX_DF_IMAGE_U8 image.
[in]matrixThe perspective matrix. Must be 3x3 of type VX_TYPE_FLOAT32.
[in]typeThe interpolation type from vx_interpolation_type_e. VX_INTERPOLATION_AREA is not supported.
[out]outputThe output VX_DF_IMAGE_U8 image.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.

◆ vxWarpPerspectiveNode()

VX_API_ENTRY vx_node VX_API_CALL vxWarpPerspectiveNode ( vx_graph graph,
vx_image input,
vx_matrix matrix,
vx_enum type,
vx_image output )

#include <vx_nodes.h>

[Graph] Creates a Perspective Warp Node.

Parameters
[in]graphThe reference to the graph.
[in]inputThe input VX_DF_IMAGE_U8 image.
[in]matrixThe perspective matrix. Must be 3x3 of type VX_TYPE_FLOAT32.
[in]typeThe interpolation type from vx_interpolation_type_e. VX_INTERPOLATION_AREA is not supported.
[out]outputThe output VX_DF_IMAGE_U8 image.
Note
The border modes VX_NODE_BORDER value VX_BORDER_UNDEFINED and VX_BORDER_CONSTANT are supported.
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus