def shaper_func_log2_to_linear(x, mid_gray=0.18, min_exposure=(- 6.5), max_exposure=6.5):
    '\n    ACESutil.Log2_to_Lin_param.ctl を参考に作成。\n    https://github.com/ampas/aces-dev/blob/master/transforms/ctl/utilities/ACESutil.Log2_to_Lin_param.ctl\n\n    Log2空間の補足は shaper_func_linear_to_log2() の説明を参照\n\n    Examples\n    --------\n    >>> x = np.array([0.0, 1.0])\n    >>> shaper_func_log2_to_linear(\n    ...     x, mid_gray=0.18, min_exposure=-6.5, max_exposure=6.5)\n    array([0.00198873782209, 16.2917402385])\n    '
    x_re_scale = ((x * (max_exposure - min_exposure)) + min_exposure)
    y = ((2.0 ** x_re_scale) * mid_gray)
    return y
ACESutil.Log2_to_Lin_param.ctl を参考に作成。
https://github.com/ampas/aces-dev/blob/master/transforms/ctl/utilities/ACESutil.Log2_to_Lin_param.ctl

Log2空間の補足は shaper_func_linear_to_log2() の説明を参照

Examples
--------
>>> x = np.array([0.0, 1.0])
>>> shaper_func_log2_to_linear(
...     x, mid_gray=0.18, min_exposure=-6.5, max_exposure=6.5)
array([0.00198873782209, 16.2917402385])
def shaper_func_log2_to_linear(x, mid_gray=0.18, min_exposure=(- 6.5), max_exposure=6.5):
    '\n    ACESutil.Log2_to_Lin_param.ctl を参考に作成。\n    https://github.com/ampas/aces-dev/blob/master/transforms/ctl/utilities/ACESutil.Log2_to_Lin_param.ctl\n\n    Log2空間の補足は shaper_func_linear_to_log2() の説明を参照\n\n    Examples\n    --------\n    >>> x = np.array([0.0, 1.0])\n    >>> shaper_func_log2_to_linear(\n    ...     x, mid_gray=0.18, min_exposure=-6.5, max_exposure=6.5)\n    array([0.00198873782209, 16.2917402385])\n    '
    x_re_scale = ((x * (max_exposure - min_exposure)) + min_exposure)
    y = ((2.0 ** x_re_scale) * mid_gray)
    return y