DicomObjects.NET.V8
DicomObjects Namespace / DicomLabel Class / ROIDistanceUnits Method / ROIDistanceUnits(DicomImage) Method
The image from which the pixel data is taken for the calculations



    ROIDistanceUnits(DicomImage) Method
    Distance units for the values returned by ROILength and ROIArea of a Image-Tied label
    Syntax
    'Declaration
     
    Public Overloads Function ROIDistanceUnits( _
       ByVal Image As DicomImage _
    ) As String
     
    'Usage
     
    Dim instance As DicomLabel
    Dim Image As DicomImage
    Dim value As String
     
    value = instance.ROIDistanceUnits(Image)

    Parameters

    Image
    The image from which the pixel data is taken for the calculations

    Return Value

    A String Value of the Distance Units
    Remarks

    The value returned depends on whether distance calibration is present in the image data. The possible values are:

    • "mm"
    • "mm at Imager"
    • "mm at Imaging Plane"
    • "Pixels"
    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also