![]() |
AuD
Lecture 'Algorithmen und Datenstrukturen' (code examples)
|
Simple implementation of seam carving. More...
Static Public Member Functions | |
static void | main (String[] args) |
Static Protected Member Functions | |
static void | usage () |
print help message and exit More... | |
Simple implementation of seam carving.
Seam carving is a method for resizing images such that (important) content is not scaled or distorted. Instead, unimportant content is removed, by removing seams of connected pixels in vertical or horizontal direction. The computation of "optimal" seams, i.e., the decision which pixels are to be removed, is based on Dynamic Programming.
This demo implements part of the original article
Shai Avidan and Ariel Shamir. Seam carving for content-aware image resizing, SIGGRAPH 2007
with the following main restrictions:
index_map_
.) Definition at line 36 of file SeamCarvingDemo.java.
|
static |
Definition at line 343 of file SeamCarvingDemo.java.
References aud.example.dp.SeamCarvingDemo.usage().
|
staticprotected |
print help message and exit
Definition at line 330 of file SeamCarvingDemo.java.
Referenced by aud.example.dp.SeamCarvingDemo.main().