Automatically Overlay Similar Images
Posted: 2015-10-29T02:59:15-07:00
Hi,
Say I have two versions of an image in different sizes and crops. I want to resize the smaller image and overlay it on top of the larger image in the best match, but have it opaque only in the places they differ. So imagine I have a large cartoon character with a text bubble, and a smaller version without the text bubble. I want to erase the text bubble by resizing the smaller image and placing it on top of the larger, but opaque only where they differ, which would be the text bubble.
Since they will differ almost everywhere because one version is essentially blurred, instead I can find the difference by resizing the large image down to the smaller image and they should be much more similar then, find the mask, then resize the mask and compose the images as above.
It's pretty complicated!
Say I have two versions of an image in different sizes and crops. I want to resize the smaller image and overlay it on top of the larger image in the best match, but have it opaque only in the places they differ. So imagine I have a large cartoon character with a text bubble, and a smaller version without the text bubble. I want to erase the text bubble by resizing the smaller image and placing it on top of the larger, but opaque only where they differ, which would be the text bubble.
Since they will differ almost everywhere because one version is essentially blurred, instead I can find the difference by resizing the large image down to the smaller image and they should be much more similar then, find the mask, then resize the mask and compose the images as above.
It's pretty complicated!