How to add 2 images of different sizes and place one in center

I was able to merge 4 corner images in one with border. using hconcat and vconcat. But i am unable to add the center image in the center. The cv.add() can only add two images of same sizes.