DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / LevelShift Property






In This Topic
    LevelShift Property
    In This Topic
    Provides a means to modify the usage of a Values of Interest Lookup Table (VOI LUT) or other display mapping
    Syntax
    'Declaration
     
    
    Public Property LevelShift As System.Single
    'Usage
     
    
    Dim instance As DicomImage
    Dim value As System.Single
     
    instance.LevelShift = value
     
    value = instance.LevelShift
    public System.float LevelShift {get; set;}
    public read-write property LevelShift: System.Single; 
    public function get,set LevelShift : System.float
    public: __property System.float get_LevelShift();
    public: __property void set_LevelShift( 
       System.float value
    );
    public:
    property System.float LevelShift {
       System.float get();
       void set (    System.float value);
    }
    Remarks

    Width and Level are ignored when a VOI LUT is in use (VoiLUTInUse is true), but this property, together with WidthMultiplier provides an alternative means to allow users to have some control over the display without having to disable the VOILUT completely

    The mechanism used is that the entire lookup table is shifted (in original image units) by LevelShift units, then widended or narrowed around its mid-point (where it crosses the mid-point of the output space) by a factor of WidthMultiplier.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also