RSS Feed

Seam Carving (1) – Content aware image scaling algorithm

I m developing a great algorithm at my University ,  Wroclaw University of Technology. Seam Carving is a idea of Shai Avidan and Ariel Shamir.

This Algorithm is scaling the image by defining and erasing the least significant parts of the image. This way the main and most important content of the image is untouched. I will show you this simple idea on this example.

Image used to the testing process (Sky Tower in Wroclaw)

 

Energy image

 

Algorithm is looking for the place with the lowest energy sum.

 

One of the fragments selected to remove from the image. Those fragments are called seams.

 

Original picture after one hundreds seams removed

 

Notice the weird blue car. At the moment this is a very simple implementation. But we can see that main part of the image The Towers are untouched by the algorithm.

Advertisements

One Comment on “Seam Carving (1) – Content aware image scaling algorithm”

  1. […] manipulation  seven  times.I am implementing an image scaling algorithm at my University Seam Carving . While working on this project I realized that simply accessing pixels by the GetPixel and […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s