Project 2: Image Resizing by Michael Chuang



Basic Tasks

Since my images were 400x300, I reduced them 50 pixels for seam carving. I exported each seam's image from matlab to a jpeg... then I used Easy Gif Animator 4 to create animated Gifs.

A. Vertical Seam Carving

Animated Gif Original Image Smaller Image

B. Horizontal Seam Carving:

Animated Gif Input Image Smaller Image

C. Where It Didn't Work:

My first attempt at Seam Insertion. I added the same seam over and over so it had a funny output. I had to post it in the failed section.

Input Image Stretched Image



Bonus

A. Seam Insertion

I extended the input images by 200 horizontal reusing the vertical seam code. I noticed pretty quick that I was adding the same seam over and over.
To solve that problem, I followed the paper's solution and implemented an order of removal list (that way I didn't use the same seam twice).

Input Image Stretched Image

Go USC Trojans! (My Alma Mater)

B. Human vs Computer Resizing:

I battled the computer on this one, and i think the seam carving was better than me at photoshop.

Original Image Vertical Seam Image Photoshop



Nature Looking Images were taken from Lisa Chan's Web Page last year. Rest were taken by me or found on a usc message board.