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_imwill be centred atcoordsAdapted from:
https://stackoverflow.com/questions/14063070/overlay-a-smaller-image-on-a-larger-image-python-opencv