colour.models.log_decoding_MiLog#

colour.models.log_decoding_MiLog(P: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1], constants: Structure | None = None) Annotated[ndarray[tuple[Any, ...], dtype[float16 | float32 | float64]], 1][source]#

Apply the Xiaomi Mi-Log Profile log decoding inverse opto-electronic transfer function (OETF).

Parameters:
Returns:

Linear reflection data \(R\).

Return type:

numpy.ndarray

References

[ZZLL24]

Notes

  • The captured pixel \(P\) value uses floating point encoding normalized to the [0, 1] range.

Domain

Scale - Reference

Scale - 1

P

1

1

Range

Scale - Reference

Scale - 1

R

1

1

Examples

>>> log_decoding_MiLog(0.45345968)
0.1800000...