DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomDataSet Class / GetMinAndMax Method / GetMinAndMax(Single,Single,Single,Boolean) Method
The minimum value found
The maximum value found
Proportion of extreme values to ignore
Whether to apply scaling/modality lookup table transformation



In This Topic
    GetMinAndMax(Single,Single,Single,Boolean) Method
    In This Topic
    Find the maximum and minimum pixel data values in the pixel data
    Syntax
    'Declaration
     
    
    Public Overloads Sub GetMinAndMax( _
       ByRef Min As Single, _
       ByRef Max As Single, _
       ByVal Centile As Single, _
       ByVal Scale As Boolean _
    ) 
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim Min As Single
    Dim Max As Single
    Dim Centile As Single
    Dim Scale As Boolean
     
    instance.GetMinAndMax(Min, Max, Centile, Scale)
    public void GetMinAndMax( 
       out float Min,
       out float Max,
       float Centile,
       bool Scale
    )
    public:
    void GetMinAndMax( 
       [Out] float Min,
       [Out] float Max,
       float Centile,
       bool Scale
    ) 

    Parameters

    Min
    The minimum value found
    Max
    The maximum value found
    Centile
    Proportion of extreme values to ignore
    Scale
    Whether to apply scaling/modality lookup table transformation
    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