Skip to content

A context-aware lossy image compression program.

Notifications You must be signed in to change notification settings

KarimJC/SeamCarver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SeamCarver

Overview

This project removes the least important seam of a picture repeatedly. The removal is initially automatic with seams being removed horizontally and vertically randomly. The user can control the removal by using the keyboard. Any image file in the computer's directory can be shrunk using the seam carver, however, the user cannot currently control which image file the program uses as an input

Controls

Space key: pauses and unpauses the automatic removal of seams

V key: removes a vertical seam when the automatic removal of seams is paused

H key: removes a horizontal seam when the automatic removal of seams is paused

G key: Shows the image in grayscale rather than normal colors. Image is initially not gray scale

S key: Colors the image gray scale based on the energy of its seam (minimuum energy seam = least important seam). Image is initially not colored based on the energy of its seam

Note:

If you get an error saying that there is not a main method, then click the start debugging button and it should run correctly.

About

A context-aware lossy image compression program.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages