12-26-2011 08:06 PM
System: IPP v5.2, Win7 64, Intel Xeon W3550, Visual C# and C++ 2010.
Hi, I am seeing inconsistent results with ippiRGBToHSV and ippiMinMax.
My app in C# calls a C img processing library - I am reworking the C code to use IPP.
C library is built for Win32, IPP using IA32 libraries initialized using ippStaticInit().
I convert an image from RGB to HSV, and from there get the min-max HSV of the converted image using ippiRGBToHSV and ippiMinMax.
The problem: I am getting different min-max values for each run on the same single-color image.
i.e. I create a pure red image (R=255, G=0, B=0) in MS Paint, saved as 24-bit BMP.
I use IPP to convert the img to HSV (expected: H=0, S=255, V=255): I get min Saturation = 254.
If I disable IPP (comment out ippStaticInit), I get correct results (but slow code).
This only happens to colors that are not pure black or pure white.
01-10-2012 07:24 PM
Hi Sergey, I had downloaded the evaluation copy of IPP 7.0 (w_ipp_126.96.36.1998_ia32.exe) but I still experienced the same problem.
I am not sure if the eval copy is v7.0.6 as ippGetLibVersion() returned:
188.8.131.52 (build date Nov 26 2011).