colour.models.eotf_inverse_DICOMGSDF#

colour.models.eotf_inverse_DICOMGSDF(L: FloatingOrArrayLike, out_int: Boolean = False, constants: Structure = CONSTANTS_DICOMGSDF) Union[FloatingOrNDArray, IntegerOrNDArray][source]#

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

Parameters
  • L (FloatingOrArrayLike) – Luminance \(L\).

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

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

Returns

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

Return type

numpy.floating or numpy.integer or numpy.ndarray

Notes

Domain

Scale - Reference

Scale - 1

L

[0, 1]

[0, 1]

Range

Scale - Reference

Scale - 1

J

[0, 1]

[0, 1]

References

[NationalEMAssociation04]

Examples

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