videolib.nonlinearities.hlg_oetf

hlg_oetf(x)[source]

Rec.2100 HLG 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]