Windows/Linux Differences when using ippiResizeCubic_ or ippiResizeLanczos_

Windows/Linux Differences when using ippiResizeCubic_ or ippiResizeLanczos_

I am seeing differences when running ippiResizeCubic_8u_C1R and ippiResizeLanczos_8u_C1R between Windows and Linux. There are pixel value differences that are off by one. They tend to be closer to edges, but differences show up in the middle of the image as well. I am using version 8.0 update 1. Is this a known issue? Is there any way to get them to match?

 

Thanks,
Greg

2 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

Hi Greg,

For different operation systems a compiler can make different optimizations, which can have a different order of arithmetic operations that can lead to small deviations of computation results. If intermediate calculations are in floating point values and output values are integer, the small deviations can lead to rounding errors (±1). I believe that this is the reason of the differences. So there is no any way to get them to match on Windows and Linux.

Best regards,

Valentin

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!