Content-Aware Image Resizing 174
An anonymous reader writes "At the SIGGRAPH 2007 conference in San Diego, two Israeli professors, Shai Avidan and Ariel Shamir, have demonstrated a new method to shrink images. The method is called 'Seam Carving for Content-Aware Image Resizing' (PDF paper here) and it figures out which parts of an image are less significant. This makes it possible to change the aspect ratio of an image without making the content look skewed or stretched out. There is a video demonstration up on YouTube."
The paper via ACM (Score:5, Informative)
Prior art (Score:2, Informative)
Before [wikipedia.org]
After [wikipedia.org]
Insignificant person removed.
Re:The paper via ACM (Score:5, Informative)
Re:The paper via ACM (Score:5, Informative)
Shrink image:
Step 1: Run an edge detection algorithm.
Step 2: Find minimal energy (least amount of edges crossed) path from top to bottom or left to right (graph-cut algorithm).
Step 3: Remove pixels along that path.
Step 4: Repeat steps 2 and 3 as necessary.
Extend image:
Step 1: Run an edge detection algorithm.
Step 2: Find minimal energy (least amount of edges crossed) path from top to bottom or left to right (graph-cut algorithm).
Step 3: Insert pixels along that path (interpolated from neighbors)
Step 4: Repeat steps 2 and 3 as necessary.
Remove objects:
Step 1: Run an edge detection algorithm.
Step 2: Mask object by giving its pixels low/negative energy values.
Step 3: Find minimal energy (least amount of edges crossed) path from top to bottom or left to right (graph-cut algorithm).
Step 4: Remove pixels along that path.
Step 5: Repeat steps 3 and 4 as necessary.
Re:A picture speaks a thousand words... (Score:5, Informative)
he uic bownfoxjumed verthelaz yelowdog
You get:
Th qik brwn fx jmpd ovr th lzy ylo dog
Which reduces the total size by the same amount, but retains more information than treating every bit of information the same.
Re:The Commissar Vanishes (Score:2, Informative)
Fixed [newseum.org] that link for ya.
Re:The paper via ACM (Score:2, Informative)
Re:DP Approach (Score:3, Informative)
Also the paper doesn't go into too much details about the dynamic programming approach they used to find the path of least energy, I guess that aspect of it is patentable.
Not so much patentable, as "Easy enough for the reader to implement that it deserves little mention."
Ariel Shamir (Score:3, Informative)
Video is on youtube.... (Score:3, Informative)
Clicky [youtube.com]
Tm
Re:Prior art (Score:3, Informative)