- get_planes(im, squeeze=True)¶
Extracts three planar images from the volumetric image, one for each principle axis. The planes are taken from the middle of the domain.
im (ndarray) – The volumetric image from which the 3 planar images are to be obtained
squeeze (boolean, optional) – If True (default) the returned images are 2D (i.e. squeezed). If False, the images are 1 element deep along the axis where the slice was obtained.
planes – A list of 2D-images
- Return type
Click here to view online example.