DicomObjects.NET.V8
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 Boolean _
    ) As Single()
    'Usage
     
    Dim instance As DicomLabel
    Dim Image As DicomImage
    Dim Scale As Boolean
    Dim value() As Single
     
    value = instance.ROIValues(Image, Scale)
    public float[] ROIValues( 
       DicomImage Image,
       bool Scale
    )
    public:
    array<float>^ ROIValues( 
       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

    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 3.5 or higher

    See Also