Thanks Oyvind,
I guess I was shorthanding some stuff I’m doing. I have been reading Bruce’s amazing site for a while now. My biggest question was to understand exactly what DaVinci’s XYZ lut.
In essence, my other alternative is to use ImageMagick, linearize sRGB color space, matrix transform, change white-point with another transform, and take it back to 2.6 gamma (that’s the spec as far as I could tell). But IM is painfully slow.
I don’t have access to software to build luts yet, unfortunately, so hacking away in the meantime!