Skip to content

Adjust picture dimensions by removing low energy pixels.

Notifications You must be signed in to change notification settings

Donisius/seam-carver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 

Repository files navigation

SeamCarver

Using the dual-gradient energy function, the program calculates the energy of each pixel in the picture relative to its position to other pixels. It then removes a path of pixels containing the least amount of energy either vertically (from the top to the bottom with one pixel in each row) or horizontally (from left to right with one pixel in each row).

Original Image

jetski

Image with lowest energy vertical seams removed

jetski_carved

Image with lowest energy horizontal seams removed

jetski_carved2

Image with both lowest energy vertical and horizontal seams removed

jetski_both

About

Adjust picture dimensions by removing low energy pixels.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages