25 Derive equation
for gamut mapping
in Yrg
in Filmic v6
26 Based on equations of Yrg -> LMS conversion
in
27 src/common/colorspaces_inline_conversions.h
35Y, c, ch, sh = symbols(
'Y c ch sh')
54coeff = Y / (0.68990272 * lms[0, 0] + 0.34832189 * lms[1, 0])
62a1, a2, a3 = symbols(
"a1 a2 a3")
64component = (A * LMS)[0, 0]
72pprint(solveset_real(component - k, c))