Vision Apps User Guide
tivx_fileio_nodes.h File Reference

Go to the source code of this file.

Functions

VX_API_ENTRY vx_node VX_API_CALL tivxWriteArrayNode (vx_graph graph, vx_array in_array, vx_array file_path, vx_array file_prefix)
 Creates a vx_array file write Node. More...
 
VX_API_ENTRY vx_node VX_API_CALL tivxWriteImageNode (vx_graph graph, vx_image in_image, vx_array file_path, vx_array file_prefix)
 Creates a vx_image file write Node. More...
 
VX_API_ENTRY vx_node VX_API_CALL tivxWriteRawImageNode (vx_graph graph, tivx_raw_image in_raw_image, vx_array file_path, vx_array file_prefix)
 Creates a tivx_raw_image file write Node. More...
 
VX_API_ENTRY vx_node VX_API_CALL tivxWriteTensorNode (vx_graph graph, vx_tensor in_tensor, vx_array file_path, vx_array file_prefix)
 Creates a vx_tensor file write Node. More...
 
VX_API_ENTRY vx_node VX_API_CALL tivxWriteUserDataObjectNode (vx_graph graph, vx_user_data_object in_user_data_object, vx_array file_path, vx_array file_prefix)
 Creates a vx_user_data_object file write Node. More...
 

Function Documentation

◆ tivxWriteArrayNode()

VX_API_ENTRY vx_node VX_API_CALL tivxWriteArrayNode ( vx_graph  graph,
vx_array  in_array,
vx_array  file_path,
vx_array  file_prefix 
)

Creates a vx_array file write Node.

Node accepts a vx_array and optional parameters of path and file name prefix and writes the contents of the vx_array to a file.

Parameters
[in]graphThe reference to the graph.
[in]in_arrayinput array
[in]file_pathpath where file will be written
[in]file_prefixprefix to the file name
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ tivxWriteImageNode()

VX_API_ENTRY vx_node VX_API_CALL tivxWriteImageNode ( vx_graph  graph,
vx_image  in_image,
vx_array  file_path,
vx_array  file_prefix 
)

Creates a vx_image file write Node.

Node accepts a vx_image and optional parameters of path and file name prefix and writes the contents of the vx_image to a file.

Parameters
[in]graphThe reference to the graph.
[in]in_imageinput image
[in]file_pathpath where file will be written
[in]file_prefixprefix to the file name
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ tivxWriteRawImageNode()

VX_API_ENTRY vx_node VX_API_CALL tivxWriteRawImageNode ( vx_graph  graph,
tivx_raw_image  in_raw_image,
vx_array  file_path,
vx_array  file_prefix 
)

Creates a tivx_raw_image file write Node.

Node accepts a vx_image and optional parameters of path and file name prefix and writes the contents of the vx_image to a file.

Parameters
[in]graphThe reference to the graph.
[in]in_raw_imginput raw image
[in]file_pathpath where file will be written
[in]file_prefixprefix to the file name
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ tivxWriteTensorNode()

VX_API_ENTRY vx_node VX_API_CALL tivxWriteTensorNode ( vx_graph  graph,
vx_tensor  in_tensor,
vx_array  file_path,
vx_array  file_prefix 
)

Creates a vx_tensor file write Node.

Node accepts a vx_image and optional parameters of path and file name prefix and writes the contents of the vx_tensor to a file.

Parameters
[in]graphThe reference to the graph.
[in]in_tensorinput tensor
[in]file_pathpath where file will be written
[in]file_prefixprefix to the file name
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ tivxWriteUserDataObjectNode()

VX_API_ENTRY vx_node VX_API_CALL tivxWriteUserDataObjectNode ( vx_graph  graph,
vx_user_data_object  in_user_data_object,
vx_array  file_path,
vx_array  file_prefix 
)

Creates a vx_user_data_object file write Node.

Node accepts a vx_image and optional parameters of path and file name prefix and writes the contents of the vx_user_data_object to a file.

Parameters
[in]graphThe reference to the graph.
[in]in_user_data_objectinput user_data_object
[in]file_pathpath where file will be written
[in]file_prefixprefix to the file name
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus