DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomLabel Class / ROIValues 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
    ROIValues Method
    In This Topic
    The values within a DicomLabel, interpreted as a region of interest
    Syntax
    'Declaration
     
    
    Public Function ROIValues( _
       ByVal Image As DicomImage, _
       ByVal Scale As System.Boolean _
    ) As System.Single()
    public System.float[] ROIValues( 
       DicomImage Image,
       System.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

    Array of floats
    Remarks

    This property may only be used for DicomLabels of type Rectangle, Ellipse, Polygon or Bitmap.

    Where rescale parameters are used (e.g. for CT) they are applied to the pixel values automatically before returning these values.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also