colour.models.log_encoding_ACESproxy#

colour.models.log_encoding_ACESproxy(lin_AP1: FloatingOrArrayLike, bit_depth: Literal[10, 12] = 10, out_int: bool = False, constants: Dict = CONSTANTS_ACES_PROXY) Union[FloatingOrNDArray, IntegerOrNDArray][source]#

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

Parameters:
  • lin_AP1 (FloatingOrArrayLike) – lin_AP1 value.

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

  • out_in – Whether to return value as integer 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.floating or numpy.integer or 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 integer 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