I want to make a code in C++ using Intel libraries (specially IPP) of a MATLAB function, I was wondering if I can do it, because it seems simple but I'm trying and no have results using the histograms functions or a combination of simple functions. Here it is:
[I_hist, pos] = hist(I(:),vminI:(vmaxI-vminI)/99:vmaxI);
I is a 257 vector long (double type)
The vminI and vminI came from the maximum and minimum value of I which is easy to obtain using ippsMax and ippsMin, my real problem is making the vector I_hist (100 elements long, double type). I tried making first the range using VectorSlope (which by the way equals to the pos vector) and then CountInRange but this last one is only for Ipp32f data type and I need double. Maybe the answer is for that way. I hope you can help me. Thanks for your time.