colour.models.log_decoding_ACESproxy

colour.models.log_decoding_ACESproxy(ACESproxy, bit_depth=10, in_int=False, constants={10: {'CV_max': 940, 'CV_min': 64, 'mid_CV_offset': 425, 'mid_log_offset': 2.5, 'steps_per_stop': 50}, 12: {'CV_max': 3760, 'CV_min': 256, 'mid_CV_offset': 1700, 'mid_log_offset': 2.5, 'steps_per_stop': 200}})[source]

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

Parameters:
  • ACESproxy (numeric or array_like) – ACESproxy non-linear value.
  • bit_depth (int, optional) – {10, 12}, ACESproxy bit depth.
  • in_int (bool, optional) – Whether to treat the input value as integer code value or float equivalent of a code value at a given bit depth.
  • constants (Structure, optional) – ACESproxy constants.
Returns:

lin_AP1 value.

Return type:

numeric or 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

[TheAcademyofMotionPictureArtsandSciences2014q], [TheAcademyofMotionPictureArtsandSciences2014r], [TheAcademyofMotionPictureArtsandSciences2014s], [TheAcademyofMotionPictureArtsandSciencese]

Examples

>>> log_decoding_ACESproxy(0.416422287390029)  # doctest: +ELLIPSIS
0.1...
>>> log_decoding_ACESproxy(426, in_int=True)  # doctest: +ELLIPSIS
0.1...