I got the black point calculations right this time!
This one wasn't so easy to write and required some silence to boot 🙂
Now it works just as expected and allows to generate a XYZ black point target:
– from a XYZ input (measured) blackpoint
– for a defined RGB colorspace
– for target white point
– with two parameters allowing to specify how much the black point color should stick to the white point color or to the input black point XYZ color, and another setting the balance between channel clipping and clipping protection.
Coding for my own still feels different (relaxing) compared to coding for work.
Phew! Alright, I wasn't sure it would happen.