Content Based Image Resizing (GPL, Java): Update to v4

September 20, 2007 on 12:21 pm | | In General, Imaging, Java, Releases, Software | 5 Comments

I’ve just uploaded a new version of the seam carving application (v2 v3 v4). There is a performance increase and the result should be smoother now. It’s either available as Java Webstart or as compiled jar file to start the Swing GUI. Sources are included, license is GPL, Java 1.6 needed.

What does this application do?

ImageSeams accepts JPG and PNG images as input and re-targets the image. This means it cuts out the not interesting parts of an image automatically. The application is based on the findings of this group described in this paper. A visual introduction of the original application is given in this video.

Changes:

  • Bugfix: Bug fixed in seams backtracking, results are smoother now
  • Feature: Image can now be scrolled
  • Feature: About dialog showing version
  • Change: Speed up in image repaint: ~30% ~50% performance gain
  • Change: Icons for seam carving replaced
  • Chang: Animation is now smoother

Small tutorial:

  • Load an image with the leftmost button (jpg and png will work fine, try to use images not bigger than 800×800 for a start)
  • Set the preferred size using the spinners (Do not forget to hit enter if you type it in, otherwise Java won’t recognize it)
  • Hit the 2nd button in the tool bar and observe the effect
  • Tryout the image brushing (click and drag on the image) to retain certain parts (e.g. faces) within the image
  • Switch to the remove brush if you want to remove parts of the image before resizing.

5 Comments »

RSS feed for comments on this post. TrackBack URI

  1. Great implementation. I watched the video at TechCrunch some weeks ago too and marked this article for my readings. Now you brought it back into my mind. I’m absolutely impressed how great this algorithm works – I need to know more about it. Thnx for sharing your source, I will definitely have a look on it later the implementation works great.

    Comment by mgratzer — September 20, 2007 #

  2. [...] The most current implementation can be found here. [...]

    Pingback by SemanticMetadata.net » Content Aware Image Resizing: GPL Implementation — September 28, 2007 #

  3. Seam Carving Round-Up…

    There’s been a great deal of buzz for a couple months, concerning a technology known as Seam Carving — also being refered to as Content Aware Image Resizing or Aware Image Resizing. I’ve been experimenting with this for a while, and I…

    Trackback by Remote Sensing Tools — October 11, 2007 #

  4. I’ve adapted the Java code in the shape of a plugin for the ImageJ image processing application. It can be downloaded from my web site. I’ve also downgraded the Java version being used to Java 1.4 for those of us who haven’t made it to Java 6 yet.

    Comment by Ulf Dittmer — February 11, 2008 #

  5. [...] is also a large number of implementations and in many different languages, including Java, C++, JavaScript and [...]

    Pingback by Experimenting with Seam Carving | PrettyPrint.me — August 28, 2009 #

Leave a comment

XHTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2004-2007 by Mathias Lux
>> Contents of this page are licensed under the CreativeCommons Attribution 2.5 license <<