Separate two identical images that were combined with a horizontal offset

Hello all,

Is there a way using built-in functions to separate images that have been combined into a single image with 50%-50% transparency and a slight offset in the horizontal direction? I think it would be possible to do this by searching horizontally along each row of pixels for similar pixels that map back to a specific location. Once this offset distance is known, I expect the pixels from each individual image could be extracted.

Any thoughts would be appreciated.

-Karl