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, double[], double[], double[], int, int)
public FrameGeometry(string frameOfReferenceUid, double[] imagePatientPosition, double[] imagePatientOrientation, double[] pixelSpacing, int width, int height)
  Parameters
frameOfReferenceUidstringimagePatientPositiondouble[]imagePatientOrientationdouble[]pixelSpacingdouble[]widthintheightint
Properties
DirectionColumn
public Vector3D DirectionColumn { get; }
  Property Value
DirectionNormal
public Vector3D DirectionNormal { get; }
  Property Value
DirectionRow
public Vector3D 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 double PixelSpacingBetweenColumns { get; }
  Property Value
PixelSpacingBetweenRows
public double PixelSpacingBetweenRows { get; }
  Property Value
PointBottomLeft
public Point3D PointBottomLeft { get; }
  Property Value
PointBottomRight
public Point3D PointBottomRight { get; }
  Property Value
PointTopLeft
public Point3D PointTopLeft { get; }
  Property Value
PointTopRight
public Point3D PointTopRight { get; }
  Property Value
Methods
TransformImagePointToPatient(Point2)
public Point3D TransformImagePointToPatient(Point2 imagePoint)
  Parameters
imagePointPoint2
Returns
TransformPatientPointToImage(Point3D)
public Point2D TransformPatientPointToImage(Point3D patientPoint)
  Parameters
patientPointPoint3D