Computer Vision-Image Processing

Combining Two Images:

To combining two images,the horizontal or vertical size of image should be same.If we are combining two images horizontally then the number of rows of both the images should be equal.And if we are combining two images vertically then the number of columns of both the images should be equal.

Swapping

For swapping parts of two images,we need to crop both the parts equally.

Creating Your Own Image by Python

We can create our own image using CV2.For this we have to first create an array using zeros( ) function of numpy module.This will be a black image.We can then make amendments according to our requirements.