Simulates an X-ray radiograph looking through the porous material.
The resulting image is colored according to the amount of attenuation an X-ray would experience, so regions with more solid will appear darker.
im (array_like) – ND-image of the porous material with the solid phase marked as 1 or True
axis (int) – Specifes the axis along which the camera will point.
image – A 2D greyscale image suitable for use in matplotlib's
- Return type