Skip to content

This project is applying Seam Carving to reduce the size of an image .

Notifications You must be signed in to change notification settings

SamerAlkhodary/SeamCarving-Golang-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SeamCarving-Golang-

Usage

The program takes four command line arguments now the program only handels png images! arg1: path to the input image arg2: path to output image arg3: the new width arg4: the new height

example:
  go run main.go img.png out.png 400 300

Details

Dynamic programming is used inorder to caculate the the energy of each seam.

Notes

this current version only supports image reduction. therefore if the new dimensions are equal to or larger than the original dimensions the program will not do anything!

About

This project is applying Seam Carving to reduce the size of an image .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages