colour.characterisation.optimisation_factory_rawtoaces_v1

colour.characterisation.optimisation_factory_rawtoaces_v1()[source]

Factory that returns 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.

Returns

Objective function and CIE XYZ colourspace to CIE L*a*b* colourspace function.

Return type

tuple

Examples

>>> # Doctests skip for Python 2.x compatibility.
>>> optimisation_factory_rawtoaces_v1()  
(<function optimisation_factory_rawtoaces_v1.<locals>.objective_function at 0x...>, <function optimisation_factory_rawtoaces_v1.<locals>.XYZ_to_optimization_colour_model at 0x...>)