colour.models.log_decoding_ACESproxy#

colour.models.log_decoding_ACESproxy(ACESproxy: Union[FloatingOrArrayLike, IntegerOrArrayLike], bit_depth: Literal[10, 12] = 10, in_int: bool = False, constants: Dict = CONSTANTS_ACES_PROXY) FloatingOrNDArray[source]#

Define the ACESproxy colourspace log decoding curve / electro-optical transfer function.

Parameters:
  • ACESproxy (Union[FloatingOrArrayLike, IntegerOrArrayLike]) – ACESproxy non-linear value.

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

  • in_int (bool) – Whether to treat the input value as integer code value or float equivalent of a code value at a given bit depth.

  • constants (Dict) – ACESproxy constants.

Returns:

lin_AP1 value.

Return type:

numpy.floating or numpy.ndarray

Notes

Domain *

Scale - Reference

Scale - 1

ACESproxy

[0, 1]

[0, 1]

Range *

Scale - Reference

Scale - 1

lin_AP1

[0, 1]

[0, 1]

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

References

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

Examples

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