Show / Hide Table of Contents
View Source

Class Transform

Inheritance
System.Object
Transform
Namespace:EvilDICOM.CV.Helpers
Assembly:EvilDICOM.CV.dll
Syntax
public class Transform : object

Methods

View Source

BEVTransform(Double, Double, Double, Mat)

Provides the transform from

Declaration
public static Mat BEVTransform(double gantryAngle, double collimatorAngle, double patientSupportAngle, Mat dicomToIEC)
Parameters
Type Name Description
System.Double gantryAngle

gantry angle in degrees (IEC)

System.Double collimatorAngle

collimator angle in degrees (IEC)

System.Double patientSupportAngle

support anlge in degrees (IEC)

Mat dicomToIEC
Returns
Type Description
Mat
View Source

DICOM2IEC(Orientation)

Provides the transformation from patient DICOM coordinates to IEC coordinates. Useful for rendering structures.

Declaration
public static Mat<float> DICOM2IEC(Orientation orient)
Parameters
Type Name Description
Orientation orient
Returns
Type Description
Mat<System.Single>

4x4 transformation matrix

View Source

DICOM2Isocenter(Orientation, Point3f)

Provides the transformation from patient DICOM coordinates to IEC coordinates, adjusted for the isocenter position. Useful for rendering structures.

Declaration
public static Mat<float> DICOM2Isocenter(Orientation orient, Point3f iso)
Parameters
Type Name Description
Orientation orient

patient orienation

Point3f iso

isocenter position

Returns
Type Description
Mat<System.Single>

4x4 transformation matrix

View Source

GantryTransform(Double)

Declaration
public static Mat GantryTransform(double gantryAngle)
Parameters
Type Name Description
System.Double gantryAngle
Returns
Type Description
Mat
View Source

IECToDICOM(Orientation)

Provides the transformation from IEC coordinates to patient DICOM coordinates. Useful for rendering structures.

Declaration
public static Mat<float> IECToDICOM(Orientation orient)
Parameters
Type Name Description
Orientation orient
Returns
Type Description
Mat<System.Single>

4x4 transformation matrix

View Source

Iso2DICOM(Orientation, Point3f)

Declaration
public static Mat<float> Iso2DICOM(Orientation orient, Point3f iso)
Parameters
Type Name Description
Orientation orient
Point3f iso
Returns
Type Description
Mat<System.Single>
View Source

TransformOffset(Vector3, (Vector3 xDir, Vector3 yDir, Vector3 zDir))

Transforms a vector offset into a new coordinate system defined by xDir, yDir, and zDir

Declaration
public static Vector3 TransformOffset(Vector3 offset, (Vector3 xDir, Vector3 yDir, Vector3 zDir) imageOrientation)
Parameters
Type Name Description
Vector3 offset
System.ValueTuple<Vector3, Vector3, Vector3> imageOrientation
Returns
Type Description
Vector3
Back to top Copyright © 2015-2016 Microsoft
Generated by DocFX