Class FrameGeometry
- Namespace
- FellowOakDicom.Imaging
- Assembly
- fo-dicom.core.dll
public class FrameGeometry
- Inheritance
-
FrameGeometry
- Inherited Members
- Extension Methods
Constructors
FrameGeometry(DicomDataset, int)
A convenience class that extracts all data from a DicomDataset, that is relevant for geometry calculations.
public FrameGeometry(DicomDataset image, int frame = 0)
Parameters
imageDicomDatasetThe DicomDataset where the information is extracted from
frameintAn 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, decimal[], decimal[], decimal[], int, int)
public FrameGeometry(string frameOfReferenceUid, decimal[] imagePatientPosition, decimal[] imagePatientOrientation, decimal[] pixelSpacing, int width, int height)
Parameters
frameOfReferenceUidstringimagePatientPositiondecimal[]imagePatientOrientationdecimal[]pixelSpacingdecimal[]widthintheightint
Properties
DirectionColumn
public Vector3<decimal> DirectionColumn { get; }
Property Value
DirectionNormal
public Vector3<decimal> DirectionNormal { get; }
Property Value
DirectionRow
public Vector3<decimal> DirectionRow { get; }
Property Value
FrameOfReferenceUid
public string FrameOfReferenceUid { get; }
Property Value
FrameSize
public Point2 FrameSize { get; }
Property Value
GeometryType
public FrameGeometryType GeometryType { get; }
Property Value
HasGeometryData
public bool HasGeometryData { get; }
Property Value
Orientation
public FrameOrientation Orientation { get; }
Property Value
PixelSpacingBetweenColumns
public decimal PixelSpacingBetweenColumns { get; }
Property Value
PixelSpacingBetweenRows
public decimal PixelSpacingBetweenRows { get; }
Property Value
PointBottomLeft
public Point3<decimal> PointBottomLeft { get; }
Property Value
PointBottomRight
public Point3<decimal> PointBottomRight { get; }
Property Value
PointTopLeft
public Point3<decimal> PointTopLeft { get; }
Property Value
PointTopRight
public Point3<decimal> PointTopRight { get; }
Property Value
Methods
TransformImagePointToPatient(Point2)
public Point3<decimal> TransformImagePointToPatient(Point2 imagePoint)
Parameters
imagePointPoint2
Returns
TransformPatientPointToImage(Point3<decimal>)
public Point2<decimal> TransformPatientPointToImage(Point3<decimal> patientPoint)