A C++ implementation of the seam carving algorithm to perform content-aware image resizing. The algorithm works by searching for the lowest energy 'seam' in the image using dynamic programming techniques, and then removing that seam to reduce the size of the image, as below.
mkdir -p build && cd build/
cmake .. && make -j<#-cores>
cd build/
./src/seam_carving_demo -i <path-to-image> -w <%-width> -h <%-height>