/seam-carving

Content-aware image resizing

Primary LanguageC++

Seam Carving

My implementation of seam carving for content-aware image resizing. I have endeavoured to make as little use of library functions as possible in this project, hence OpenCV is only used to load the input image and save the resulting output, all pixel manipulation functions are implemented by myself.

Demo

SeamCarvingVideo.mp4

Usage

The program is operated from the command line

$ ./seamcarving /path/to/image [width] [height] /save/output/path