colour.models.log_decoding_ACESproxy#

colour.models.log_decoding_ACESproxy(ACESproxy: Domain1, bit_depth: Literal[10, 12] = 10, in_int: bool = False, constants: dict | None = None) Range1[source]#

Apply the ACESproxy log decoding inverse opto-electronic transfer function (OETF).

Parameters:
  • ACESproxy (Domain1) – ACESproxy non-linear encoded value.

  • bit_depth (Literal[10, 12]) – ACESproxy bit-depth.

  • in_int (bool) – Whether to treat the input value as integer code value or floating point equivalent of a code value at specified bit-depth.

  • constants (dict | None) – ACESproxy constants.

Returns:

Linear AP1 colourspace value.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

ACESproxy

1

1

Range

Scale - Reference

Scale - 1

lin_AP1

1

1

  • This definition has an input int switch, thus the domain-range scale information is only specified for the floating point mode.

References

[TheAoMPAaSciencesScienceaTCouncilAcademyCESACESPSubcommittee14b], [TheAoMPAaSciencesScienceaTCouncilAcademyCESACESPSubcommittee14c], [TheAoMPAaSciencesScienceaTCouncilAcademyCESACESPSubcommittee13], [TheAoMPAaSciencesScienceaTCouncilAcademyCESACESPSubcommitteea]

Examples

>>> log_decoding_ACESproxy(0.416422287390029)
np.float64(0.1...)
>>> log_decoding_ACESproxy(426, in_int=True)
np.float64(0.1...)