colour.models.log_encoding_ACESproxy#

colour.models.log_encoding_ACESproxy(lin_AP1: ArrayLike, bit_depth: Literal[10, 12] = 10, out_int: bool = False, constants: dict = CONSTANTS_ACES_PROXY) NDArrayFloat | NDArrayInt[source]#

Define the ACESproxy colourspace log encoding curve / opto-electronic transfer function.

Parameters:
  • lin_AP1 (ArrayLike) – lin_AP1 value.

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

  • out_in – Whether to return value as int code value or float equivalent of a code value at a given bit-depth.

  • constants (dict) – ACESproxy constants.

  • out_int (bool)

Returns:

ACESproxy non-linear value.

Return type:

numpy.ndarray

Notes

Domain *

Scale - Reference

Scale - 1

lin_AP1

[0, 1]

[0, 1]

Range *

Scale - Reference

Scale - 1

ACESproxy

[0, 1]

[0, 1]

* This definition has an output int switch, thus the domain-range scale information is only given for the floating point mode.

References

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

Examples

>>> log_encoding_ACESproxy(0.18)  
0.4164222...
>>> log_encoding_ACESproxy(0.18, out_int=True)
426