videolib.nonlinearities.srgb_eotf

srgb_eotf(y)[source]

sRBG electro-optical transfer function (non-linear->linear transformation)

Parameters:

x – Input non-linear encoded value(s) in the range [0, 1]

Returns:

Linear light value(s) in the range [0, 1]