DicomObjects.NET.V8
DicomObjects Namespace / DicomImage3D Class / PixelToWorld Method



In This Topic
    PixelToWorld Method (DicomImage3D)
    In This Topic
    Calculate the real world location of a point displayed on a 3D image
    Syntax
    'Declaration
     
    Public Function PixelToWorld( _
       ByVal Point As PointF, _
       ByVal DisplaySize As Size _
    ) As Point3D
    'Usage
     
    Dim instance As DicomImage3D
    Dim Point As PointF
    Dim DisplaySize As Size
    Dim value As Point3D
     
    value = instance.PixelToWorld(Point, DisplaySize)
    public Point3D PixelToWorld( 
       PointF Point,
       Size DisplaySize
    )
    public:
    Point3D PixelToWorld( 
       PointF Point,
       Size 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.0 or higher

    See Also