SeamCarving icon indicating copy to clipboard operation
SeamCarving copied to clipboard

C++ implementation of size carving/dynamic programming algorithm according to "Seam Carving for Content-Aware Image Resizing" by Shai Avidan and Ariel Shamir.

seamCarving

C++ implementation of size carving/dynamic programming algorithm according to "Seam Carving for Content-Aware Image Resizing" by Shai Avidan and Ariel Shamir.

Usage

.seamCarving [IMAGE_FILE] [REALTIME, 'y' for 'yes']

Preview

Input: 1440 x 900 px
Output: 1200 x 800 px
Input: 1280 x 800 px
Output: 800 x 500 px
Input: 2617 x 500 px
Output: 2000 x 500 px