0

I am trying to tile the image to form 4 quadrants so that my image looks something like this:

enter image description here

However, my images come out to be something like this:

enter image description here

Here is what I did in terms of coding:

from matplotlib import pyplot as plt

f, ax = plt.subplots(2,2)
ax[0,0].imshow(image1)
ax[1,0].imshow(image2)
ax[0,1].imshow(image3)
ax[1,1].imshow(image4)
plt.show()
#assuming image1~4 are different images

How can I merge them into a single 20x20 pixel image if each images are 10x10 pixel image?

cohsta
  • 187
  • 1
  • 4
  • 14

0 Answers0