I am trying to use OpenVX Histogram (as per Spec 1.1) and little puzzled in the usage part. My understanding is like this (Please correct me):
vx_size numBins = 10; vx_uint32 offset = 10; vx_uint32 range = 256; // Create Object vx_distribution vx_dist = vxCreateDistribution (Context, numBins, offset, range); // Create Node vx_status status = vxuHistogram (context, img, vx_dist);
Spec says that vxuHistogram() takes vx_distribution as [out], does that means vxuHistogram() creates object internally? If the answer is ‘Yes’ than how would i pass numBins, Offset and range of my choice?
Also. how can i access the output of histogram result? Any sample code would be really helpful.