align_image_with_openpnm#
- align_image_with_openpnm(im)[source]#
Rotates an image to agree with the coordinates used in OpenPNM.
This is necessary for overlaying the image and the network in Paraview.
- Parameters:
im (ndarray) – The image to be rotated. Can be the Boolean image of the pore space or any other image of interest.
- Returns:
image – Returns a copy of
im
rotated accordingly.- Return type:
ndarray
Examples
Click here to view online example.