colour.models.eotf_DICOMGSDF#
- colour.models.eotf_DICOMGSDF(J: ArrayLike, in_int: bool = False, constants: colour.utilities.data_structures.Structure = CONSTANTS_DICOMGSDF) NDArrayFloat [source]#
Define the DICOM - Grayscale Standard Display Function electro-optical transfer function (EOTF).
- Parameters
J (ArrayLike) – Just-Noticeable Difference (JND) Index, \(j\).
in_int (bool) – Whether to treat the input value as int code value or float equivalent of a code value at a given bit-depth.
constants (colour.utilities.data_structures.Structure) – DICOM - Grayscale Standard Display Function constants.
- Returns
Corresponding luminance \(L\).
- Return type
Notes
Domain
Scale - Reference
Scale - 1
J
[0, 1]
[0, 1]
Range
Scale - Reference
Scale - 1
L
[0, 1]
[0, 1]
References
Examples
>>> eotf_DICOMGSDF(0.500486263438448) 130.0628647... >>> eotf_DICOMGSDF(512, in_int=True) 130.0652840...