overlay#
- overlay(im1, im2, c)[source]#
Overlays
im2
ontoim1
, given voxel coords of center ofim2
inim1
.- Parameters:
im1 (ndarray) – Original voxelated image
im2 (ndarray) – Template voxelated image
c (array_like) – [x, y, z] coordinates in
im1
whereim2
will be centered
- Returns:
image – A modified version of
im1
, withim2
overlaid at the specified location- Return type:
ndarray
Examples
Click here to view online example.