Get differences from concatenated images

I wanted to know if there is any way to see the differences between two concatenated images using an autoencoder