colour.models.log_encoding_AppleLogProfile#

colour.models.log_encoding_AppleLogProfile(R: ArrayLike, constants: Structure = CONSTANTS_APPLE_LOG_PROFILE) NDArrayFloat[source]#

Define the Apple Log Profile log encoding curve.

Parameters:
  • R (ArrayLike) – Linear reflection data :math`R`.

  • constants (Structure) – Apple Log Profile constants.

Returns:

Apple Log Profile captured pixel value \(P\)

Return type:

numpy.ndarray

References

[AppleInc23], [TheAoMPAaSciences23]

Notes

  • The scene reflection signal \(R\) captured by the camera is represented using a floating point encoding. The \(R\) value of 0.18 corresponds to the signal produced by an 18% reflectance; reference gray chart.

Domain

Scale - Reference

Scale - 1

R

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

P

[0, 1]

[0, 1]

Examples

>>> log_encoding_AppleLogProfile(0.18)  
0.4882724...