DicomObjects.NET.V8
DicomObjects Namespace / DicomImage3D Class / DownSample Property



In This Topic
    DownSample Property
    In This Topic
    A means to reduce the time time to render images, at the expense of reduced quality
    Syntax
    'Declaration
     
    Public Property DownSample As Single
    'Usage
     
    Dim instance As DicomImage3D
    Dim value As Single
     
    instance.DownSample = value
     
    value = instance.DownSample
    public float DownSample {get; set;}
    public:
    property float DownSample {
       float get();
       void set (    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.0 or higher

    See Also