DicomObjects.NET10 Documentation
DicomObjects Namespace / DicomImage3D Class / GammaTransfer Property



In This Topic
    GammaTransfer Property
    In This Topic
    Controls the gamma applied to transfer function lookups during volume rendering.
    Syntax
    'Declaration
     
    
    Public Property GammaTransfer As Single
    'Usage
     
    
    Dim instance As DicomImage3D
    Dim value As Single
     
    instance.GammaTransfer = value
     
    value = instance.GammaTransfer
    public float GammaTransfer {get; set;}
    public:
    property float GammaTransfer {
       float get();
       void set (    float value);
    }
    Remarks
    Lighting calculations are performed in gamma 2.2 space to maintain physical accuracy and compatibility with parameter values (such as diffuse and specular contributions) used by other renderers. However, this can cause the transfer function output to appear washed out because gamma conversion may effectively be applied twice to the texture. To compensate for this, a separate gamma control is provided for transfer textures. By default, a value of 0.45 is used, which approximately counteracts the gamma conversion that is applied later during the final image processing.
    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