colour.models.eotf_inverse_DICOMGSDF¶
-
colour.models.
eotf_inverse_DICOMGSDF
(L, out_int=False)[source]¶ Defines the DICOM - Grayscale Standard Display Function inverse electro-optical transfer function (EOTF / EOCF).
- Parameters
L (numeric or array_like) – Luminance \(L\).
out_int (bool, optional) – Whether to return value as integer code value or float equivalent of a code value at a given bit depth.
- Returns
Just-Noticeable Difference (JND) Index, \(j\).
- Return type
numeric or ndarray
Notes
Domain
Scale - Reference
Scale - 1
L
[0, 1]
[0, 1]
Range
Scale - Reference
Scale - 1
J
[0, 1]
[0, 1]
References
Examples
>>> eotf_inverse_DICOMGSDF(130.0662) 0.5004862... >>> eotf_inverse_DICOMGSDF(130.0662, out_int=True) 512