Skip to content

A simple C++ implementation of the original seam carving algorithm

License

Notifications You must be signed in to change notification settings

R-writes-cpp/seamplusplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seamplusplus

Seamplusplus is a simple C++ implementation of the original seam carving algorithm proposed by Avidan and Shamir in 2007. It takes a .png file as its input and then outputs a seam carved version of the input image as a .png file. Seamplusplus uses LodePNG for image encoding and decoding. Seamplusplus is licenced under GNU AGPL 3.0.

Examples


Installation

Compilation is the recommended method of installation. To compile the software, simply clone the repository and run cmake . && make (on Linux systems) in the repository directory.

Usage

Seamplusplus accepts a directory to a valid .png input file, followed by a directory to an output .png file and the number of vertical seams to remove (e.g. ./seamplusplus input.png output.png 50 on Linux systems).

About

A simple C++ implementation of the original seam carving algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published