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



In This Topic
    ROILength(DicomImage) Method
    In This Topic
    Length of the boundary of a DicomLabel, interpreted as a region of interest. This method applies to Image-Tied labels
    Syntax
    'Declaration
     
    Public Overloads Function ROILength( _
       ByVal Image As DicomImage _
    ) As Single
    'Usage
     
    Dim instance As DicomLabel
    Dim Image As DicomImage
    Dim value As Single
     
    value = instance.ROILength(Image)
    public float ROILength( 
       DicomImage Image
    )
    public:
    float ROILength( 
       DicomImage^ Image
    ) 

    Parameters

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

    Return Value

    The length of the boundary of a DicomLabel
    Remarks

    This property may not be used for DicomLabels of type Bitmap.

    The length is the length of the entire circumference of the label.

    Where pixel dimensions for the whole image are present within the image data, these are used to scale the length appropriately. Multiple region calibration areas (e.g. in U/S images) are fully supported.

    The units used (which for uncalibrated data may simply be pixels) is returned by ROIDistanceUnits.

    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also