DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage3D Class / DownSample Property






In This Topic
    DownSample Property
    In This Topic
    A means to reduce the time to render images, at the expense of reduced quality
    Syntax
    'Declaration
     
    
    Public Property DownSample As System.Single
    'Usage
     
    
    Dim instance As DicomImage3D
    Dim value As System.Single
     
    instance.DownSample = value
     
    value = instance.DownSample
    public System.float DownSample {get; set;}
    public read-write property DownSample: System.Single; 
    public function get,set DownSample : System.float
    public: __property System.float get_DownSample();
    public: __property void set_DownSample( 
       System.float value
    );
    public:
    property System.float DownSample {
       System.float get();
       void set (    System.float value);
    }
    Remarks

    The normal and default value of this property is 1.0, meaning that 3D images are rendered internally at full resolution before being copied to the screen. If this property is set to a higher value, then the internally generated copy of the image is reduced by this factor (in both dimensions) which can be significantly faster, and the resulting copy is then magnified by the same factor when copied to the screen

    In practice, this is only likely to be useful on old hardware/very large 3D data, and would normally be set to a value such as 2.0 at the start of dynamic image manipulation (such as during the MouseDown event), and then reverted to 1.0 at the end (such as during the MouseUp event).

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also