Just for the proof of concept I’ve implemented parts of the Content Aware Image Resizing algorithm (presented by Avidan, S. & Shamir, A.) shown here (covered also on Slashdot, Techcrunch, …) in Java (GPL). Currently image size can only be reduced.
Source & Binaries (Java 1.6 needed, ~30k): SeamCarving.tar.bz2SeamCarving.zip Windows Executable (Java 1.6 needed, ~200k): SeamCarving-Win-Bin.zip
- The most current implementation can be found here.
I’ve furthermore put up a GUI tool for loading and ‘carving’ images. It allows to mark areas for retaining (red brush) as well as for removal (green brush). The screenshot shows the application with area already colored. Download is here:
- Source & Binaries (Java 1.6 needed, ~65k): ImageCarving-GUI.zip