http://www.faculty.idc.ac.il/arik/SCWeb/imret/imret.pdf
Here's an example of seam carving with an image of a lighthouse (500 x 750 pixels):
Here we select some seams using an energy cost function to carve out (50 horizontal seams and 100 vertical seams)
Now we have a context-aware based resizing by removing the seams to reduce the image size: