+pdr for blink OWNERship, +kjlubick for the giant stack of patches...
for (auto& color_pair : colors_tests) {
All of these variables were mis-labeled (input was xyz, not Lab).
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
const skcms::Vector3 lms_cubed{{
I had to go reference https://bottosson.github.io/posts/oklab/ to figure out why there's a cube/cuberoot here. Do you mind adding a reminder comment that it's just part of the XYZ->Oklab conversion?
const auto xyz = skcms::Matrix3x3_apply(getXYDZ65toXYZD50matrix(), xyz_d65);
Can you add a reminder here that OkLab is defined w/r to the D65 white point, thus the "stop" in that conversion before going onto D50 (and I'm guessing D50 is more commonly useful which is why a lot of D65 stuff is being deleted in the following CL)?
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I had to go reference https://bottosson.github.io/posts/oklab/ to figure out why there's a cube/cuberoot here. Do you mind adding a reminder comment that it's just part of the XYZ->Oklab conversion?
Done
const auto xyz = skcms::Matrix3x3_apply(getXYDZ65toXYZD50matrix(), xyz_d65);
Can you add a reminder here that OkLab is defined w/r to the D65 white point, thus the "stop" in that conversion before going onto D50 (and I'm guessing D50 is more commonly useful which is why a lot of D65 stuff is being deleted in the following CL)?
Done
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
for (auto& color_pair : colors_tests) {
All of these variables were mis-labeled (input was xyz, not Lab).
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |