Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 689 Bytes

README.md

File metadata and controls

21 lines (12 loc) · 689 Bytes

Image Retargeting

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.

seam-carving-demo

Usage

Dependencies

Build

mkdir -p build && cd build/
cmake .. && make -j<#-cores>

Run

cd build/
./src/seam_carving_demo -i <path-to-image> -w <%-width> -h <%-height>