Skip to content

Instantly share code, notes, and snippets.

@lizecillie
Created September 24, 2013 20:38
Show Gist options
  • Save lizecillie/6690885 to your computer and use it in GitHub Desktop.
Save lizecillie/6690885 to your computer and use it in GitHub Desktop.
image1 = io.imread('perold1.jpg')
image2 = io.imread('perold2.jpg')
image = np.zeros((image1.shape[0], image1.shape[1]*2, 3))
image[:, 0:image1.shape[1], :] = image1
image[:, image1.shape[1]:, :] = image2
imshow(image)
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment