Bases: ImageOperator
Change the axis through which the image is viewed.
The direction can be set to any of the following: +T, -T, +Z, -Z, +Y, -Y, +X, -X.
Methods
-
static defaultDirection()[source]
-
static defaultKeepTimePosition()[source]
-
getOutputDims()[source]
-
getPrefix()[source]
Prefix added to the input image name to generate the output image name.
-
sanityCheck()[source]
Simple check to prevent simple error, it may be implemented in subclasses
to check more precise stuff
-
setDirection(direction)[source]
Set the new axis to be viewed along
- Parameters:
direction (str) – The axis through which the image should be resliced.
Add ‘-’ in front to flip the image along that axis.