Fellow Oak DICOM
Search Results for

    Show / Hide Table of Contents

    Class FrameGeometry

    Inheritance
    System.Object
    FrameGeometry
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: FellowOakDicom.Imaging
    Assembly: fo-dicom.core.dll
    Syntax
    public class FrameGeometry

    Constructors

    FrameGeometry(DicomDataset, Int32)

    A convenience class that extracts all data from a DicomDataset, that is relevant for geometry calculations.

    Declaration
    public FrameGeometry(DicomDataset image, int frame = 0)
    Parameters
    Type Name Description
    DicomDataset image

    The DicomDataset where the information is extracted from

    System.Int32 frame

    An optional zero-based frame index. If not provided, then frame 0 is taken. In case of EnhancedCT or EnhancedMR the geometry data will be different for each frame

    FrameGeometry(String, Double[], Double[], Double[], Int32, Int32)

    Declaration
    public FrameGeometry(string frameOfReferenceUid, double[] imagePatientPosition, double[] imagePatientOrientation, double[] pixelSpacing, int width, int height)
    Parameters
    Type Name Description
    System.String frameOfReferenceUid
    System.Double[] imagePatientPosition
    System.Double[] imagePatientOrientation
    System.Double[] pixelSpacing
    System.Int32 width
    System.Int32 height

    Properties

    DirectionColumn

    Declaration
    public Vector3D DirectionColumn { get; }
    Property Value
    Type Description
    Vector3D

    DirectionNormal

    Declaration
    public Vector3D DirectionNormal { get; }
    Property Value
    Type Description
    Vector3D

    DirectionRow

    Declaration
    public Vector3D DirectionRow { get; }
    Property Value
    Type Description
    Vector3D

    FrameOfReferenceUid

    Declaration
    public string FrameOfReferenceUid { get; }
    Property Value
    Type Description
    System.String

    FrameSize

    Declaration
    public Point2 FrameSize { get; }
    Property Value
    Type Description
    Point2

    GeometryType

    Declaration
    public FrameGeometryType GeometryType { get; }
    Property Value
    Type Description
    FrameGeometryType

    HasGeometryData

    Declaration
    public bool HasGeometryData { get; }
    Property Value
    Type Description
    System.Boolean

    Orientation

    Declaration
    public FrameOrientation Orientation { get; }
    Property Value
    Type Description
    FrameOrientation

    PixelSpacingBetweenColumns

    Declaration
    public double PixelSpacingBetweenColumns { get; }
    Property Value
    Type Description
    System.Double

    PixelSpacingBetweenRows

    Declaration
    public double PixelSpacingBetweenRows { get; }
    Property Value
    Type Description
    System.Double

    PointBottomLeft

    Declaration
    public Point3D PointBottomLeft { get; }
    Property Value
    Type Description
    Point3D

    PointBottomRight

    Declaration
    public Point3D PointBottomRight { get; }
    Property Value
    Type Description
    Point3D

    PointTopLeft

    Declaration
    public Point3D PointTopLeft { get; }
    Property Value
    Type Description
    Point3D

    PointTopRight

    Declaration
    public Point3D PointTopRight { get; }
    Property Value
    Type Description
    Point3D

    Methods

    TransformImagePointToPatient(Point2)

    Declaration
    public Point3D TransformImagePointToPatient(Point2 imagePoint)
    Parameters
    Type Name Description
    Point2 imagePoint
    Returns
    Type Description
    Point3D

    TransformPatientPointToImage(Point3D)

    Declaration
    public Point2D TransformPatientPointToImage(Point3D patientPoint)
    Parameters
    Type Name Description
    Point3D patientPoint
    Returns
    Type Description
    Point2D

    Extension Methods

    LinqExtensions.IsOneOf<T>(T, T[])
    GeometryHelper.GetBoundingBox(FrameGeometry)
    In This Article
    Back to top Copyright (c) 2012-2025 fo-dicom contributors