colour_hdri.tonemapping_operator_gamma#
- colour_hdri.tonemapping_operator_gamma(RGB: ArrayLike, gamma: float = 1, EV: float = 0) NDArrayFloat [source]#
Perform given RGB array tonemapping using the gamma and exposure correction method.
- Parameters:
- Returns:
Tonemapped RGB array.
- Return type:
References
[BADC11b]
Examples
>>> tonemapping_operator_gamma( ... 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], ... ], ... ] ... ), ... 1.0, ... -3.0, ... ) array([[[ 0.0600585..., 0.0439453..., 0.0295410...], [ 0.1748046..., 0.0693359..., 0.0488282...]], [[ 0.5507817..., 0.2695323..., 0.1679692...], [ 0.8242187..., 0.4296892..., 0.2773447...]]])