Stacking 2D tiff images with a specific voxel depth for pore network extraction #997
-
Hello I have 29 slices of tiff images from XTM. Each slice or image has a thickness 1 micrometer, but the spacing between each image is 8 micrometers. How do I do it using poreSpy. Below i gave part of my code for loading tif images. im = imageio.volread('C:/Users/User/Desktop/New Codes/High Porosity.tif*') |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, How to zoom: https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.zoom.html |
Beta Was this translation helpful? Give feedback.
Hi,
You can zoom by 8x along the axis normal to the slices, which makes the resolution of your image 8 um across all dimensions (pass
voxel_size=8e-6
).How to zoom: https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.zoom.html