Hi , i can not access vx_array it returns pointer. How can i turn vx_array to cv::Mat or other array type that i can use it.
vxuOpticalFlowPyrLK(context,(vx_pyramid)vxGetReferenceFromDelay(pyr_delay, -1), (vx_pyramid)vxGetReferenceFromDelay(pyr_delay, 0),
(vx_array)vxGetReferenceFromDelay(pts_delay, -1), (vx_array)vxGetReferenceFromDelay(pts_delay, -1),
vxflow, VX_TERM_CRITERIA_BOTH,s_lk_epsilon_, s_lk_num_iters_, initial_estimate, window_dimension);
In this sample vxflow is vx_array and i want to make mathematical operations with this array. But for example i want to print array in normal “cout” or “printf” it returns address (like 0x101b4cb0).