Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

HistogramEven parameters

Isaac_D_
Beginner
145 Views

Hi,

I'm on the need of using the ippiHistogramRange_32f_C1R fuction, but I don't know how to get two parameters: srcStep and roiSize.I don't know what to put in there. My source is just a 32f vector of 257 elements. The array of values is a 32f vector of 100 elements and the number of levels is 100. I just want to get the final distribution. 

Thanks for your time,

Regards.

0 Kudos
1 Reply
Igor_A_Intel
Employee
145 Views

Hi Isaac,

you should define srcROI as srcROI.height = 1, srcROI.width = your vector length, srcStep = sizeof(float)*(your vector length)

regards, Igor

Reply