Closed Blucia closed 11 months ago
Rounding issue shouldn't cause such a big difference in output. I would suggest pick a couple pixel values, step through the logic (e.g. print outputs of each step to the console) and try to locate which function is causing the difference.
so I used abs()
instead of std::abs()
and linux decided that it would be a great idea for small numbers like -0.95 to get rounded to 0 instead of positive 0.95.
I want my 3 hours of sleep back
Everything looks good on my windows 10 build but when i run the code on teach.cs machines (via ssh) i get different results for shifted and desaturated.
Is there some kind of rounding or casting issue specific to linux?