Suggestion-Box icon indicating copy to clipboard operation
Suggestion-Box copied to clipboard

Seam Carving / Content Aware Scaling

Open amtunlimited opened this issue 5 months ago • 0 comments

My introduction was this 2007 SIGGRAPH paper and talk

https://dl.acm.org/doi/10.1145/1275808.1276390

https://youtu.be/6NcIJXTlugc

The basic concept is to add or remove "seams" of connected single-pixel rows or columns for better scaling/resizing. The Wikipedia article also has a pretty good explanation and examples.

https://en.wikipedia.org/wiki/Seam_carving

Before and after examples from Wikipedia:

A wide angle shot of a castle and a person on a hill with sky. The person and castle are far apart in frame.

Same shot as above, but the castle and person are closer together. The person and castle both have the same proportions as above with very little artifacting.

amtunlimited avatar Aug 24 '25 13:08 amtunlimited