videolib.nonlinearities.srgb_oetf

srgb_oetf(x)[source]

sRBG opto-electrical transfer function (linear->non-linear transformation)

Parameters:

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

Returns:

Non-linear encoded value(s) in the range [0, 1]