AS3 Content Aware Resizing or Image Seam Carving

Recently the “seam carving” technology to size images in a content aware way to preserve the original intention of the photo has been really taking off. In fact, Joa Ebert and Mario Klingemann, two flash geniuses have created and optimized [2] an AS3 algorithm for seam carving based on the paper about this new technology that was highlighted at 2007 SIGGRAPH.

View the original first flash implementation of this at swieskowski

View the source of the initial Joe Ebert AS3 Content Aware implementation

View the demo of the initial Joe Ebert AS3 Content Aware implementation

View the optimized source by Mario Klingemann

View the demo of the optimized source by Mario Klingemann

View the paper by Dr Ariel Shamir and Dr Shai Avidan

View zero point nine’s quick and visual implementation (smaller images but fast) 

9 Responses to “AS3 Content Aware Resizing or Image Seam Carving”

  1. picutel Says:

    How about this as a plugin in Photoshop? We’ve done that for you. 🙂

    http://picutel.com/

    Release notes and all the details at:
    http://blog.picutel.com/2007/09/06/advanced-photo-resizing-in-adobe-photoshop/

  2. Memoria de Acceso Aleatorio » links for 2007-09-14 Says:

    […] AS3 Content Aware Resizing or Image Seam Carving « [ draw.logic ] Implementación del image carving para redimensionado inteligente de imágenes en ActionScript 3. (tags: seam carving digital signal image processing actionscript programming) […]

  3. Irmgard Says:

    Hi,
    If you are looking for a software to try out seam carving, take a look at http://www.thegedanken.com/retarget

    The program that you can download there (for Windows and Linux, and free) is already highly optimized concerning speed, and apart from enlarging or decreasing image size you can also use masks to protect or delete certain parts of your image.

    Have fun,
    Irmgard

  4. Hermano Cabral Says:

    There is also a gimp plug-in which is pretty good. I’ve done some tests with it and posted on my blog. Pretty cool.

  5. drawk Says:

    Nice one Hermano, thanks for the heads up looks pretty sweet.

  6. Will Says:

    Check out rsizr.com for a Flash-based implementation of seam carving that lets you resize images, both in height and width simultaneously, in real time. (You can rescale and crop images too!)

    http://rsizr.com/about/gallery/ for example images

  7. Hi vivek Says:

    The download object override the image clipping very annoying .

  8. kinjal Says:

    I browsed through the site http://www.thegedanken.com/retarget but couldn’t get the downloadable version of the sofware.could anyone please help!!

  9. Thomas Says:

    Thats strange, when I try to resize a girl using your algo, only boobs appear! That means all information of the image is contented on it????

    (It was a french joke ;-)) Great job!


Leave a comment