Skip to content

A program to implement a widely known content-aware image resizing algorithm called Seam Carving

License

Notifications You must be signed in to change notification settings

aryanndhir/Seam-Carving

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Seam-Carving

Used openCV in Python for processing images and applied Dynamic Programming to create energy maps.

Seam carving uses an energy function defining the importance of pixels. A seam is a connected path of low energy pixels crossing the image from top to bottom, or from left to right. By successively removing or inserting seams we can reduce, as well as enlarge, the size of an image in both directions.

For image reduction, seam selection ensures that while preserving the image structure, we remove more of the low energy pixels and fewer of the high energy ones.

For image enlarging, the order of seam insertion ensures a balance between the original image content and the artificially inserted pixels. These operators produce, in effect, a content-aware resizing of images.

About

A program to implement a widely known content-aware image resizing algorithm called Seam Carving

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages