colour.models.eotf_DICOMGSDF¶
-
colour.models.
eotf_DICOMGSDF
(J, in_int=False)[source]¶ Defines the DICOM - Grayscale Standard Display Function electro-optical transfer function (EOTF / EOCF).
- Parameters
J (numeric or array_like) – Just-Noticeable Difference (JND) Index, \(j\).
in_int (bool, optional) – Whether to treat the input value as integer code value or float equivalent of a code value at a given bit depth.
- Returns
Corresponding luminance \(L\).
- Return type
numeric or ndarray
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...