Simulates an SEM photograph looking into the porous material.
Features are colored according to their depth into the image, so darker features are further away.
im (array_like) – ndarray 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