- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page