scopesim.optics.image_plane_utils.overlay_image

Contents

scopesim.optics.image_plane_utils.overlay_image#

scopesim.optics.image_plane_utils.overlay_image(small_im, big_im, coords, mask=None, sub_pixel=False)#

Overlay small_im on top of big_im at the position specified by coords.

small_im will be centred at coords

Adapted from: https://stackoverflow.com/questions/14063070/overlay-a-smaller-image-on-a-larger-image-python-opencv