'Declaration Public Property ModalityLUT As Short
'Usage Dim instance As DicomImage Dim value As Short instance.ModalityLUT = value value = instance.ModalityLUT
public short ModalityLUT {get; set;}
'Declaration Public Property ModalityLUT As Short
'Usage Dim instance As DicomImage Dim value As Short instance.ModalityLUT = value value = instance.ModalityLUT
public short ModalityLUT {get; set;}
DICOM allows multiple VOI and presentation Lookup Tables (LUTs) in images, and the user may select whichever they require. These properties provide that choice, and the value 0 may be used to disable a particular type of LUT.
Only one Modality LUT is allowed, so the only meaningful values for ModalityLUT are 0 and 1, but the other two may range from 0 to the number of such LUTs in the image. Value beyond the available range are treated as 0.
For Modality LUT, the default value is all 1, indicating that the Lookup Table, if present, should be used.