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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th March 2008, 10:20   #1  |  Link
vcmohan
Registered User
 
Join Date: Jul 2003
Location: India
Posts: 889
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)
__________________
mohan
my plugins are now hosted here

Last edited by vcmohan; 19th March 2008 at 04:16. Reason: Plugin is now operational
vcmohan is offline   Reply With Quote
Old 18th March 2008, 12:15   #2  |  Link
vcmohan
Registered User
 
Join Date: Jul 2003
Location: India
Posts: 889
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.
__________________
mohan
my plugins are now hosted here
vcmohan is offline   Reply With Quote
Old 27th September 2010, 19:07   #3  |  Link
SSH4
Registered User
 
Join Date: Nov 2006
Posts: 90
Wow!
And no one reply!
On Adobe CS5 it called Content Aware Scaling
Thanx! I want play with 4x3 -> 16x9 conversions

Last edited by SSH4; 27th September 2010 at 19:11.
SSH4 is offline   Reply With Quote
Old 29th September 2010, 19:02   #4  |  Link
Mounir
Registered User
 
Join Date: Nov 2006
Posts: 759
What's the purpose of such plugin? Enlighten me.

I don't know but generating waves and other weird effetcs in a picture don't make "tilt" in my head.
Mounir is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:00.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.