colour.models.log_decoding_FLog2#

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

Define the Fujifilm F-Log2 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-Log2 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-Log2 constants.

Returns:

Linear reflection data :math`in`.

Return type:

numpy.floating or 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

[Fujifilm22b]

Examples

>>> log_decoding_FLog2(0.39100724189123004)  
0.1799999...