-
-
Notifications
You must be signed in to change notification settings - Fork 178
fast and aprox srgb to linear space #410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Interesting. Please make a PR with some tests. |
I'm getting results that don't quite seem consistent with a RMSE of 0.001064, although that may be because I've happened to pick particularly large error test cases. PR/tests in #459, wasn't sure where to put it (would be an equivalent to function provided in |
I would guess that the RMSE of 0.001064 is error smaller than the actual error because desmos uses a 64-bit float You can change the this algorithm is quite silly, I don't think is worth using ... |
Hi,
I come up with a function that aproximates the gamma conversion is has a RMSE of 0.001064 which is better than the simple x^2 aproach here is the math: https://www.desmos.com/calculator/rbjqw6re8i
The text was updated successfully, but these errors were encountered: