Welcome to Windows Presentation Foundation (WPF)
Top Tasks :

WPF Team Bloggers

SEAMonster: A .NET-Based Seam Carving Implementation

Before you read my post, you should watch the short 4 1/2 minute video that demonstrates an image resizing technique called seam carving . The technique was presented at this year's SIGGRAPH 2007 conference by Shai Avidan and Ariel Shamir. If you want to know all of the details, check out the paper they presented called Seam Carving for Content-Aware Image Resizing (20MB PDF). Shai and Ariel outline a relatively simple algorithm for finding a "seam" of pixels that is least likely to be missed when it's removed from an image. The algorithm looks for connected pixels of low energy, where energy refers to a measure of visual detail. By iterating the algorithm, an image can be resized while maintaining its general structure. Unlike a typical stretch operation in your favorite graphics application, the seam carving technique resists squashing or distorting the image. When I first saw their video, I thought it was magic. Not only do they demonstrate resizing, but they also show how their algorithm Read More...
Published Wednesday, October 24, 2007 2:23 AM by Mike Swanson's Blog
Filed under:

Comments

No Comments
Anonymous comments are disabled

Copyright © 2006 Microsoft Corporation. All Rights Reserved. | Terms of Use | Privacy Statement | Contact Us