IMHOTEP Framework
|
Public Member Functions | |
DICOM (DICOMSeries seriesInfo) | |
void | setupTransformationMatrices () |
Vector3 | transformPixelToPatientPos (Vector2 pixel, float layer=0) |
Vector3 | transformPatientPosToPixel (Vector3 pos) |
Vector3 | transformPatientPosToDiscretePixel (Vector3 pos) |
Static Public Member Functions | |
static Color32 | F2C (UInt32 value) |
Properties | |
DICOMSeries | seriesInfo [get, set] |
int | dimensions [get, set] |
int | texWidth [get, set] |
int | texHeight [get, set] |
int | texDepth [get, set] |
int | origTexWidth [get, set] |
int | origTexHeight [get, set] |
int | origTexDepth [get, set] |
int | texPaddingWidth [get, set] |
int | texPaddingHeight [get, set] |
int | texPaddingDepth [get, set] |
Image | image [get, set] |
Vector3 | origin [get, set] |
Vector2 | pixelSpacing [get, set] |
Vector3 | sliceOffset [get] |
Vector3 | directionCosineX [get, set] |
Vector3 | directionCosineY [get, set] |
Vector3 | sliceNormal [get, set] |
Matrix4x4 | pixelToPatient [get, set] |
Matrix4x4 | patientToPixel [get, set] |
Represents a DICOM Image (2D, single slice) or Volume (3D, multi slice).
|
inline |
Constructor, loads the DICOM image data from file. The constructor starts the loading of pixel data from the files (filenames are taken from the seriesInfo). If slice is zero or positive, only the single file will be read. If slice is negative, the entire volume (i.e. all files - and thus all slices) will be read.
|
inlinestatic |
|
inline |
Calculate the transformation matrices which can later be used to convert pixels to 3D positions and vice versa.
|
inline |
Transform a 3D position in the patient coordinate system to a pixel. The z component of the returned vector is the slice number.
|
inline |
Transform a 3D position in the patient coordinate system to a pixel. The z component of the returned vector is the slice number.
|
inline |
|
getset |
Number of dimensions in this DICOM (2 for slice, 3 for volume).
|
getset |
The direction cosine of a row of this image. This can be thought of as a unit-length vector pointing into the direction in which the row lies inside the patient coordinate system (i.e. when you walk along the row in 2D, in which direction would you walk in the patient coordinate system). See the DICOM standard for more information, or search online for "direction cosine".
|
getset |
The direction cosine of a column of this image. This can be thought of as a unit-length vector pointing into the direction in which the column lies inside the patient coordinate system (i.e. when you walk along the column in 2D, in which direction would you walk in the patient coordinate system). See the DICOM standard for more information, or search online for "direction cosine".
|
getset |
The ITK image. Can be used to access the raw pixel data as it is in the file. Make sure to read the SimpleITK (or the normal ITK) documentation for details on pixel value types, number of bits etc. This can also be used to access header information through image.GetMetaData().
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
Matrix to transform from the patient coordinate system to a pixel/layer coordinate. Inverse of pixelToPatient.
|
getset |
|
getset |
Matrix to transform from a pixel/layer coordinate to the patient coordinate system.
|
getset |
|
getset |
|
get |
|
getset |
|
getset |
|
getset |