embcol.problem.Problem.oklabs_to_params

Problem.oklabs_to_params(oklabs)[source]

Convert Oklab colors of samples to parameters.

Parameters:

oklabs (array-like of float) – Oklab colors of samples. The shape must be (N, 3), where N is the number of samples.

Returns:

numpy.ndarray of float – Parameters.