Open Source Image Carving



I have partially implemented the image resizing/carving method described in the paper by Dr. Ariel Shamir and Dr. Shai Avidan, which resizes images by cutting out or inserting horiztonal or vertical seams. At the moment, the code uses a very simple energy function, which takes the RGB difference of each pixel against 48 of its neighbours. There are two carving implementations:

Source Code

The code is written in C++ using the wxWidgets library for UI, licensed under the GPL v3. Visual Studio .NET 2003 project files are included. Download.