colour.characterisation.optimisation_factory_rawtoaces_v1() Tuple[NDArrayFloat, Callable, Callable, Callable][source]#

Produce the objective function and CIE XYZ colourspace to optimisation colourspace/colour model function according to RAW to ACES v1.

The objective function returns the euclidean distance between the training data RGB tristimulus values and the training data CIE XYZ tristimulus values** in CIE L*a*b* colourspace.

It implements whitepoint preservation as an optimisation constraint.


\(x_0\) initial values, objective function, CIE XYZ colourspace to CIE L*a*b* colourspace function and finaliser function.

Return type:



>>> optimisation_factory_rawtoaces_v1()  
(array([ 1.,  0.,  0.,  1.,  0.,  0.]), <function optimisation_factory_rawtoaces_v1.<locals> .objective_function at 0x...>, <function optimisation_factory_rawtoaces_v1.<locals>.XYZ_to_optimization_colour_model at 0x...>, <function optimisation_factory_rawtoaces_v1.<locals>.finaliser_function at 0x...>)