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()
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
DirectionNormal
Declaration
public Vector3D DirectionNormal { get; }
Property Value
DirectionRow
Declaration
public Vector3D DirectionRow { get; }
Property Value
FrameOfReferenceUid
Declaration
public string FrameOfReferenceUid { get; }
Property Value
Type |
Description |
System.String |
|
FrameSize
Declaration
public Point2 FrameSize { get; }
Property Value
GeometryType
Declaration
public FrameGeometryType GeometryType { get; }
Property Value
HasGeometryData
Declaration
public bool HasGeometryData { get; }
Property Value
Type |
Description |
System.Boolean |
|
Orientation
Declaration
public FrameOrientation Orientation { get; }
Property Value
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
PointBottomRight
Declaration
public Point3D PointBottomRight { get; }
Property Value
PointTopLeft
Declaration
public Point3D PointTopLeft { get; }
Property Value
PointTopRight
Declaration
public Point3D PointTopRight { get; }
Property Value
Methods
Declaration
public Point3D TransformImagePointToPatient(Point2 imagePoint)
Parameters
Type |
Name |
Description |
Point2 |
imagePoint |
|
Returns
Declaration
public Point2D TransformPatientPointToImage(Point3D patientPoint)
Parameters
Type |
Name |
Description |
Point3D |
patientPoint |
|
Returns
Extension Methods