Skip to content
Image processing method that allows to remove an object from a photo.
C#
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SeamCarving
images
.gitignore
.travis.yml
LICENSE
README.md
SeamCarving.sln

README.md

Seam Carving

license Build Status

What is Seam Carving?

Seam carving (or liquid rescaling) is an algorithm for content-aware image resizing. It functions by establishing a number of seams (paths of least importance) in an image and automatically removes seams to reduce image size or inserts seams to extend it. Seam carving also allows manually defining areas in which pixels may not be modified, and features the ability to remove whole objects from photographs. This method is known as Image Retargeting

Retargeting

The purpose of the algorithm is image retargeting, which is the problem of displaying images without distortion on media of various sizes (cell phones, projection screens) using document standards, like HTML, that already support dynamic changes in page layout and text but not images.

Example Use Case

Dest image Markup Result
input1 input2 result

Credits

The algorithm is developed by Shai Avidan, of Mitsubishi Electric Research Laboratories (MERL), and Ariel Shamir, of the Interdisciplinary Center and MERL.

You can’t perform that action at this time.