RGBToGray bug?

RGBToGray bug?

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.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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

Leave a Comment

Please sign in to add a comment. Not a member? Join today