colour.models.log_decoding_NLog#
- colour.models.log_decoding_NLog(x: ArrayLike, bit_depth: int = 10, in_normalised_code_value: bool = True, out_reflection: bool = True, constants: Structure = CONSTANTS_NLOG) NDArrayFloat [source]#
Define the Nikon N-Log log decoding curve / electro-optical transfer function.
- Parameters:
x (ArrayLike) – N-Log 10-bit equivalent code value \(x\)
bit_depth (int) – Bit-depth used for conversion.
in_normalised_code_value (bool) – Whether the non-linear Nikon N-Log data \(x\) is encoded as normalised code values.
out_reflection (bool) – Whether the light level :math`in` to a camera is reflection.
constants (Structure) – Nikon N-Log constants.
- Returns:
Reflectance \(y\).
- Return type:
Notes
Domain
Scale - Reference
Scale - 1
x
[0, 1]
[0, 1]
Range
Scale - Reference
Scale - 1
y
[0, 1]
[0, 1]
References
[Nikon18]
Examples
>>> log_decoding_NLog(0.36366777011713869) 0.1799999...