DicomObjects.NetStandard 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 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 SKRectI, 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: 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