Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

Inconsistent results in Ipp: RGBToHSV and MinMax

cks2k2
Beginner
441 Views
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.
Please advice.
0 Kudos
4 Replies
Sergey_P_Intel1
Employee
441 Views
This issue was fixed. Use IPP v7.0.5 ,pls.
0 Kudos
cks2k2
Beginner
441 Views
Hi Sergey, I had downloaded the evaluation copy of IPP 7.0 (w_ipp_7.0.6.278_ia32.exe) but I still experienced the same problem.
I am not sure if the eval copy is v7.0.6 as ippGetLibVersion() returned:
7.0.205.85 (build date Nov 26 2011).
0 Kudos
Sergey_P_Intel1
Employee
441 Views

Hi, I couldn't reproduce this issue.
Pls, check if you used the new lib and send me your test case.

0 Kudos
Sergey_P_Intel1
Employee
441 Views
Thanks, I've fixed this essue in ipp 7.1b
0 Kudos
Reply