DicomObjects.NET.V8
DicomObjects Namespace / DicomLabel Class / ROIMax Method
The image from which the pixel data is taken for the calculations
If true, then the rescale slope and offset are applied to the data values



In This Topic
    ROIMax Method
    In This Topic
    Returns the maximum values of the pixels in the ROI
    Syntax
    'Declaration
     
    Public Function ROIMax( _
       ByVal Image As DicomImage, _
       ByVal Scale As Boolean _
    ) As Double
    'Usage
     
    Dim instance As DicomLabel
    Dim Image As DicomImage
    Dim Scale As Boolean
    Dim value As Double
     
    value = instance.ROIMax(Image, Scale)
    public double ROIMax( 
       DicomImage Image,
       bool Scale
    )
    public:
    double ROIMax( 
       DicomImage^ Image,
       bool Scale
    ) 

    Parameters

    Image
    The image from which the pixel data is taken for the calculations
    Scale
    If true, then the rescale slope and offset are applied to the data values

    Return Value

    The maximum value
    Remarks
    This property, where rescale parameters are used (e.g. for CT) it is applied to the pixel values automatically before the statistical values are calculated.
    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also