DicomObjects.NET.V8
DicomObjects Namespace / DicomLabel Class / ROIArea Method / ROIArea(DicomImage) Method
The Image that measurement is being taken on



In This Topic
    ROIArea(DicomImage) Method
    In This Topic
    Returns the area of the ROI
    Syntax
    'Declaration
     
    Public Overloads Function ROIArea( _
       ByVal Image As DicomImage _
    ) As Single
    'Usage
     
    Dim instance As DicomLabel
    Dim Image As DicomImage
    Dim value As Single
     
    value = instance.ROIArea(Image)
    public float ROIArea( 
       DicomImage Image
    )
    public:
    float ROIArea( 
       DicomImage^ Image
    ) 

    Parameters

    Image
    The Image that measurement is being taken on

    Return Value

    A single precision float number
    Remarks

    Where pixel dimensions for the whole image are present within the image data, these are used to scale the area appropriately, and multiple region calibration areas (e.g. in U/S images) are supported. The units used (which for uncalibrated data may simply be pixels) is returned by ROIDistanceUnits (for this property, they should be interpreted as square units of course)

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

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also