Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.
/ seam-carving Public archive

A not-perfect but working Java Seam Carving algorithm for Content-Aware Image Resizing, Shai Avidan & Ariel Shamir

Notifications You must be signed in to change notification settings

feloeht/seam-carving

Repository files navigation

Seam Carving

A not-perfect but working Java Seam Carving algorithm for Content-Aware Image Resizing, Shai Avidan & Ariel Shamir

Compiling

Compile program using Java from cli.

javac seamcarver.java

Demo usage

Run program using Java from cli.

java seamcarver chaton.png 20 50

General usage

Run program using Java from cli.

java seamcarver picture.png Horizontal(%) Vertical(%)

Output

Running the program return the following picture format.

  • picture_resized_horizontal(%)_vertical(%).png

Pictures Copyrights

I am not owning the picture used as demo. It may be subject to copyrights.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

A not-perfect but working Java Seam Carving algorithm for Content-Aware Image Resizing, Shai Avidan & Ariel Shamir

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages