Skip to content

A Java program that resizes images by finding and removing low energy seams

Notifications You must be signed in to change notification settings

nourshoreibah/Image-Seam-Remover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Seam Remover

Description

This project is an extension of my Fundementals of Computer Science II final project. The initial goal was to create a program that identifies the most blue or lowest energy (least impact when removed) seam in an image, then removes it at the user's request (via the terminal). The user can also undo removals and save a final image. Seam removal and reinsertion needed to be O(n) time complexity. To further this project, I added the ability to watch multiple low energy seams be removed from the image in real time using JFrame.

How to use

For a live demo that visually shows an image being resized to 25% of its original width, run the "LiveDemo" class's main. Type the desired example image into the determinal (a set of options will be given).

To continuously edit the image by removing the bluest seam, removing the lowest enegy seam, or undoing, run the "UserInterface's" main. Follow instructions given in the terminal.

Video Demo (click to play)

Video Demo

About

A Java program that resizes images by finding and removing low energy seams

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages