colour.models.eotf_inverse_DICOMGSDF#

colour.models.eotf_inverse_DICOMGSDF(L: Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1], out_int: bool = False, constants: Structure | None = None) Annotated[TypeAliasForwardRef('NDArrayReal'), 1][source]#

Apply the DICOM - Grayscale Standard Display Function inverse electro-optical transfer function (EOTF).

Parameters:
  • L (Annotated[_Buffer | _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | complex | bytes | str | _NestedSequence[complex | bytes | str], 1]) – Luminance \(L\).

  • out_int (bool) – Whether to return value as integer code value or float equivalent of a code value at a specified bit-depth.

  • constants (Structure | None) – DICOM - Grayscale Standard Display Function constants.

Returns:

Just-Noticeable Difference (JND) Index, \(j\).

Return type:

numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

L

1

1

Range

Scale - Reference

Scale - 1

J

1

1

References

[NationalEMAssociation04]

Examples

>>> eotf_inverse_DICOMGSDF(130.0662)
0.5004862...
>>> eotf_inverse_DICOMGSDF(130.0662, out_int=True)
512