DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage3D Class / PixelToWorld Method






    PixelToWorld Method (DicomImage3D)
    Calculate the real world location of a point displayed on a 3D image
    Syntax
    'Declaration
     
    
    Public Function PixelToWorld( _
       ByVal Point As System.Drawing.PointF, _
       ByVal DisplaySize As System.Drawing.Size _
    ) As System.Windows.Media.Media3D.Point3D
     
    'Usage
     
    
    Dim instance As DicomImage3D
    Dim Point As System.Drawing.PointF
    Dim DisplaySize As System.Drawing.Size
    Dim value As System.Windows.Media.Media3D.Point3D
     
    value = instance.PixelToWorld(Point, DisplaySize)

    Parameters

    Point
    DisplaySize
    Remarks

    This method is suitable for MPR and Slab images, and whilst it will provide a value for "projectional" MIP and VR images the point will be on the "central plane" of that view, and is not really localised to a single point in space.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also