This week Stephanie and I continued to play around with image manipulation. We were pretty excited when we discovered the concept behind changing the background of an image. This meant that we could put George anywhere we wanted! Even on Zon (the Sun)!

The white background of George was replaced by another image.
This background swapping is done by comparing and image to another image that is the background of the original. If a pixel’s color differs by a certain designated amount, then that pixel is assumed to be part of the background and then changed to the corresponding picture of another image, the new background.
The next idea that was played around with was scaling. For simplicity, assume we are shrinking the image to half its original width and height. Then a new, empty image is created whose measeurements are half the size of the original. Then every other pixel on the original image is placed in successive positions in the new, smaller, image.
Following this method, we created Little George:

Which you can see is much smaller than original George:

Next we played around with placing images on top of one another. We were able to get Little George on George:
