Here is a few screen shots of this weeks assingment

Original

Altered Image
This week we were supose to resize an image using seam carving. This means that we were supose to find a line of pixels that went from one side to the other side of the image and calculate its energy. The energy was how much of a diference there was from one pixel to the next moving from left to right. Then when we found the line with the lowest cost, we simply removed it and shifted everything by one pixel.
Then we were supose to use recursion to repeat the same process to shrink down the image to what ever you wanted. We didn't manage to finish this weeks project, so the only pictures that are above are: a wallpaper that I made a few years ago (which isn't finished) and the alteared image after the energy cost of the pixels are calculated.
Here is the source code: