Wednesday, September 5, 2007

Updates for the Retargeting GUI

It's always nice to find out a project you threw together is being used. It seems that although other development efforts around the web have sprung up around the content-aware image resizing, people like having a stand-alone, easy to run implementation.

Improvements to this release:
  • You can mark areas of the image that you would like to retain/remove with a paint style mouse gesture.
  • JPG support (built into the windows binary)
  • I am now using the Qt Graphics View Framework, which should make image handing (zooming etc) a bit snappier.
  • Update: I got notified of a few bugs, so I fixed those using valgrind
  • Update: While I was at it, I implemented copy and paste in windows
Still things that could be done:
  • Various algorithm speed improvements
  • Copy and Paste [Update: completed in latest build]
  • Anything else you guys suggest
I'm on the lookout for people who have written more efficient and true to the paper seam carving algorithms to improve the back-end. So if you are such a person, or know of such an implementation on the web, give me a heads up.

Again the download links are

Here are some images showing the program in action...

A nice castle image before any retargeting:



Mark areas that we want to remove and we want retain, in this case we want to make sure the castle is not distorted and remove the pesky pedestrian:


The re targeted image, pretty slick eh?

Update: The latest version is no longer based on Andy's implementation but CAIR. See the seam-carving-gui project page for more.