def apply_linear_transform(value):
    """
    Transforms value from non-linear scale (with gamma transform) to linear

    :param value: Value to be transform (between 0-1)
    :return: Transformed value (between 0-1)
    """

    if value > 0.04045:
        return pow(((value + 0.055) / 1.055), 2.4)
    else:
        return value / 12.92