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

RGBToGray bug?

Jianwei_H_
Beginner
227 Views
I use RGBToGray to convert a color image to a gray scale image, but I found the result was very strange, if I convert a white color image whose pixel values are (255,255,255), I got a gray scale image with all values 254 ( not 255), why?

P.S. I used the latest IPP.
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
227 Views

Hello,

thank you for your report, we will analize the code. It seems that optimized version of this function suffer from lack of precision of color conversion coefficients.

Regards,
Vladimir

0 Kudos
Reply