Rotates a 3D image and creates an angled view for rough 2D visualization.
Because it rotates the image it can be slow for large image, so is mostly meant for rough checking of small prototype images.
im (3D-array) – The 3D array to be viewed from an angle
image – A 2D veiw of the given 3D image
- Return type
Although this is meant to be quick it can still take on the order of minutes to render very large images. It uses
scipy.ndimage.rotatewith no interpolation to view the 3D image from an angle, then casts the result into a 2D projection.