12-11-2009 01:29 AM
If you think this is simple I'm affraid you don't fully understand the problem, the possible per-CPU performance gains or that IPP is actually a set of low level optimized functions solving exactly these kinds of problems.
12-11-2009 07:38 AM
it requires to loop through each pixel and record the pixel value. when you work on HD resolution images and 256*256*256 size color space, simple loop become too slow.
I think OpenMP and SSE can speed up the process significantly, which are the IPP specialty. I could do it with my own manu coding, but it takes too much time.
Current IPP histogram functions only work on 1-channel images, there is no real 3-D histogram IPP functions for RGB images. I can not think of another way to get the result.