Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
11th March 2008, 10:20 | #1 | Link |
Registered User
Join Date: Jul 2003
Location: India
Posts: 890
|
Seamer : Seam Carving Plugin
Considerable interest was generated when a new technique named as "Seam Carving for Content-Aware Image Resizing"
was presented in a paper by Shai Avidan and Ariel Shamir. Recently there was a reference to seam carving in one of Avisynth threads also. On seeing this post in this forum, due to curiosity I attempted two approaches to acheive seam carving in a fully unsupervised mode. The results are displayed here. They are most unsatisfactory. The reason being that I have yet to formulate a criterion as to what is a valid or acceptable seam that is universally ( or largely) suitable for carving. May be some one guides me in this. Below are two sets of images. Each set shows the input image, and 4 variants of seam carving, using the two functions RSeamer and WSeamer of Seamer plugin. set 1 : set 2: The above images were produced using script below in addition to usual source, crop, stack etc. Code:
sm1 = wseamer(im1, x = 480,y = 350, max = true,nw = 2, test = 0) sm2 = wseamer(im1, x = 480,y = 350, max = false,nw = 2, test = 0) sm3 = Rseamer(im1, x = 480,y = 350, max = true,nw = 22, test = 0) sm4 = Rseamer(im1, x = 480,y = 350, max = false,nw = 2, test = 0) Last edited by vcmohan; 19th March 2008 at 04:16. Reason: Plugin is now operational |
18th March 2008, 12:15 | #2 | Link |
Registered User
Join Date: Jul 2003
Location: India
Posts: 890
|
This Seamer plugin has been revamped completely. It is now having two functions viz. TRSeamer and WSSeamer.
It is possible to reduce as well as enlarge images. The results are: enlarge width, reduce height by both functions. TRSeamer on top. Enlarging both w and h by TRSeamer. Reducing both w and h by TRSeamer The functions run very slow. No supervision is possible as of now. |
Thread Tools | Search this Thread |
Display Modes | |
|
|