This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: dl_demos: vxReplicateNode

Part Number: TDA4VM

Hi:

    I am confused about the function vxReplicateNode, and we find that the results is the same whether using the func or not.

    It will setting the attribute (vx_true_e or vx_false_e), and what is the difference? Is it related with data transform between different targets?

Regards

Ma Qiang

  • Hello,

    For information about the vxReplicateNode API, please see the link below.  Basically, the third parameter of the API is a vx_bool array with the array depth being the number of parameters of the node being replicated.  Each of the elements of the boolean array indicate whether or not the given node parameter will be used across each node replica or not.  If the boolean is set to vx_false_e for the node parameter, the same parameter will be given to each node replica.  If the node parameter is set to vx_true_e, then the node parameter will iterate through a list of elements from a vx_object_array or vx_pyramid, providing each element of the object to the corresponding node replica.

    https://www.khronos.org/registry/OpenVX/specs/1.1/html/d7/d61/group__group__node.html#ga873198f07077015c0f60a66399b1cdf9

    Regards,

    Lucas