colour.characterisation.optimisation_factory_Jzazbz#

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

Produce the objective function and CIE XYZ colourspace to optimisation colourspace/colour model function based on the \(J_za_zb_z\) colourspace.

The objective function returns the euclidean distance between the training data RGB tristimulus values and the training data CIE XYZ tristimulus values** in the \(J_za_zb_z\) colourspace.

Returns

Objective function and CIE XYZ colourspace to \(J_za_zb_z\) colourspace function.

Return type

tuple

Examples

>>> optimisation_factory_Jzazbz()  
(<function optimisation_factory_Jzazbz.<locals>.objective_function at 0x...>, <function optimisation_factory_Jzazbz.<locals>.XYZ_to_optimization_colour_model at 0x...>)