dicom2nifti.image_volume module¶
Created on Fri Jun 7 07:40:20 2013
@author: abrys
-
class
dicom2nifti.image_volume.
ImageVolume
(nifti_image)[source]¶ Bases:
object
Class representing an imagevolume. You can provide it with a nifti and can be used to get slices in a certain direction It will take the affine matrix into account to find the correct orientation
-
get_slice
(slice_type, slice_number, time_point=0)[source]¶ Returns a slice of the dataset. slice.data contains the window/levelled values, in uint8 slice.original_data contains the original data for this slice :param time_point: in case of 4d nifti the 4th dimension :param slice_number: the slice number :param slice_type: tye slice type (AXIAL, SAGITTAL, CORONAL)
-
-
class
dicom2nifti.image_volume.
Slice
[source]¶ Bases:
object
Class containing all data for a single slice in an image volume
-
original_data
= None¶
-
slice_orientation
= None¶
-
-
class
dicom2nifti.image_volume.
SliceOrientation
[source]¶ Bases:
object
Class containing the orientation of a slice
-
normal_component
= None¶
-
x_component
= None¶
-
x_inverted
= False¶
-
y_component
= None¶
-
y_inverted
= False¶
-