Goal of the project
The goal of this project is to
implement Seam Carving, which is a content-based technique for scaling an image.
This
technique is introduced in 2007 by Shai Avidan and Ariel Shamir.
Algorithms Used: Dynamic
Programming, Gradient Filtering.
My Works
1 Optimal seam finding
2 Horizontal
and vertical seams
3 Removing
seams
4 Failure case
and discussion
5 Scaling up
using seam carving (Extra Credit)
6 Object
removal and protection (Extra Credit)
7 Forward
energy formulation (Extra Credit)
Here are some of the
results that the 200 columns of the original images are cut.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Here are some of the results that
the 80 rows of the original images are cut.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Using forward energy:
|
|
|
|
|
|
|
|
|
Using forward energy:
|
|
|
|
|
|