Multi-band blending using the Gaussian and Laplacian pyramids. If you change the shape of the mask, various synthesis is possible.
multiBlending(img1,img2,Mask,deep)
8bit, 3-Channel Color image
8bit, 3-Channel Binary image
Pyramid depth
getMask(img)
if your Mask Image Not binary, you can use this function to make binary Mask.
https://docs.opencv.org/4.x/dc/dff/tutorial_py_pyramids.html