DicomObjects.NetStandard Documentation
DicomObjects Namespace / DicomImage Class / ModalityLUT Property



In This Topic
    ModalityLUT Property
    In This Topic
    Enables or disables the Modality Lookup Table to be used in the DicomImage
    Syntax
    '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;}
    public:
    property short ModalityLUT {
       short get();
       void set (    short value);
    }

    Property Value

    The index of the modality lookup table to use
    Remarks

    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.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also