colour.models.log_decoding_FLog#

colour.models.log_decoding_FLog(out_r: ArrayLike, bit_depth: int = 10, in_normalised_code_value: bool = True, out_reflection: bool = True, constants: Structure = CONSTANTS_FLOG) NDArrayFloat[source]#

Define the Fujifilm F-Log log decoding curve / electro-optical transfer function.

Parameters:
  • out_r (ArrayLike) – Non-linear data \(out\).

  • bit_depth (int) – Bit-depth used for conversion.

  • in_normalised_code_value (bool) – Whether the non-linear Fujifilm F-Log data \(out\) is encoded as normalised code values.

  • out_reflection (bool) – Whether the light level :math`in` to a camera is reflection.

  • constants (Structure) – Fujifilm F-Log constants.

Returns:

Linear reflection data :math`in`.

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

out_r

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

in_r

[0, 1]

[0, 1]

References

[Fujifilm22a]

Examples

>>> log_decoding_FLog(0.45931845866162124)  
0.1800000...