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

Latest commit

 

History

History
42 lines (25 loc) · 1.71 KB

README.md

File metadata and controls

42 lines (25 loc) · 1.71 KB

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.