colour_hdri.tonemapping_operator_simple#
- colour_hdri.tonemapping_operator_simple(RGB: ArrayLike) NDArrayFloat [source]#
Perform given RGB array tonemapping using the simple method: \(\cfrac{RGB}{RGB + 1}\).
- Parameters:
RGB (ArrayLike) – RGB array to perform tonemapping onto.
- Returns:
Tonemapped RGB array.
- Return type:
References
Examples
>>> tonemapping_operator_simple( ... np.array( ... [ ... [ ... [0.48046875, 0.35156256, 0.23632812], ... [1.39843753, 0.55468757, 0.39062594], ... ], ... [ ... [4.40625388, 2.15625895, 1.34375372], ... [6.59375023, 3.43751395, 2.21875829], ... ], ... ] ... ) ... ) array([[[ 0.3245382..., 0.2601156..., 0.1911532...], [ 0.5830618..., 0.3567839..., 0.2808993...]], [[ 0.8150290..., 0.6831692..., 0.5733340...], [ 0.8683127..., 0.7746486..., 0.6893211...]]])