Skip to content Skip to sidebar Skip to footer

Merge Blocks Of Images To Produce New Image

Hi is there a way of merging specific blocks from multiple images of same size(say 100x100) and putting them together in a new image. To be more specific, consider I have a set of

Solution 1:

Use the cv2 addWeighted function (link) to merge the images. Basically you are running a weighted sum over the matrics such that AxImage1 + BxImage2 = NewImage. Where A and B are constants and ImageN is your image.


Post a Comment for "Merge Blocks Of Images To Produce New Image"