colour.models.log_decoding_NLog¶
- colour.models.log_decoding_NLog(out_r: FloatingOrArrayLike, bit_depth: int = 10, in_normalised_code_value: bool = True, out_reflection: bool = True, constants: colour.utilities.data_structures.Structure = NLOG_CONSTANTS) FloatingOrNDArray [source]¶
Define the Nikon N-Log log decoding curve / electro-optical transfer function.
- Parameters
out_r (FloatingOrArrayLike) – Non-linear data \(out\).
bit_depth (int) – Bit depth used for conversion.
in_normalised_code_value (bool) – Whether the non-linear Nikon N-Log data \(out\) is encoded as normalised code values.
out_reflection (bool) – Whether the light level :math`in` to a camera is reflection.
constants (colour.utilities.data_structures.Structure) – Nikon N-Log constants.
- Returns
Linear reflection data :math`in`.
- Return type
Notes
Domain
Scale - Reference
Scale - 1
out_r
[0, 1]
[0, 1]
Range
Scale - Reference
Scale - 1
in_r
[0, 1]
[0, 1]
References
[Nikon18]
Examples
>>> log_decoding_NLog(0.36366777011713869) 0.1799999...