Skip to content

marcelocenerine/seam-carving

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

seam-carving

Simple implementation of the Seam Carving algorithm for content-aware image resizing (https://en.wikipedia.org/wiki/Seam_carving)

Presentation on SlideShare

Input image (600 x 300):

Input

Vertical x horizontal seams:

Seams

Resized image (400 x 200):

Output

Usage:

scala -classpath <path to jar> seamcarving.demo.ShowSeams <image filename> <[true|false] show vertical seam> <[true|false] show horizontal seam>
scala -classpath <path to jar> seamcarving.demo.ResizeDemo <image filename> <num cols to remove> <num rows to remove>

About

Algorithm for content-aware image resizing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages