porespy.tools.overlay#
- porespy.tools.overlay(im1, im2, c)#
Overlays
im2ontoim1, given voxel coords of center ofim2inim1.- Parameters:
im1 (ndarray) – Original voxelated image
im2 (ndarray) – Template voxelated image
c (array_like) – [x, y, z] coordinates in
im1whereim2will be centered
- Returns:
image – A modified version of
im1, withim2overlaid at the specified location- Return type:
ndarray
Examples
Click here to view online example.