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 > VapourSynth
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th January 2013, 23:26   #21  |  Link
kolak
Registered User
 
Join Date: Nov 2004
Location: Poland
Posts: 2,843
Yes- seams to be fine. Thanks.

Could someone port yadifmod (eedi3+nnedi3 are already there)? QTGMC won't come any soon, so at least we could have this for now.
AVS dll works, but only in yv12 mode and overall processing is 2x slower then in avs.
kolak is offline   Reply With Quote
Old 2nd August 2013, 19:15   #22  |  Link
Chikuzen
typo lover
 
Chikuzen's Avatar
 
Join Date: May 2009
Posts: 595
update to 0.4.2

@HolyWu
probabry fixed.
__________________
my repositories
Chikuzen is offline   Reply With Quote
Old 3rd August 2013, 20:07   #23  |  Link
mastrboy
Registered User
 
Join Date: Sep 2008
Posts: 365
What is the substitute to mt_merge?
__________________
(i have a tendency to drunk post)
mastrboy is offline   Reply With Quote
Old 3rd August 2013, 20:11   #24  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,556
Quote:
Originally Posted by mastrboy View Post
What is the substitute to mt_merge?
MaskedMerge() which is a part of the core.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 3rd August 2013, 20:24   #25  |  Link
mastrboy
Registered User
 
Join Date: Sep 2008
Posts: 365
Quote:
Originally Posted by Myrsloik View Post
MaskedMerge() which is a part of the core.
Ah, no wonder i didn't see it in the function list in the first post in this thread... Thanks...
__________________
(i have a tendency to drunk post)
mastrboy is offline   Reply With Quote
Old 6th August 2013, 08:17   #26  |  Link
Chikuzen
typo lover
 
Chikuzen's Avatar
 
Join Date: May 2009
Posts: 595
update to 0.5.0

* add new function 'Hysteresis'
* Convolution: increase maximum matrix length from 5 to 17 when mode is 'h' or 'v'
* various bug fix.


OFF TOPIC:
BTW, I referd to Masktools-v1's code first and wrote an avisynth2.6 plugin first, in order to understand the algorithm of hysteresis mask.
http://pastebin.com/37gPmkNy
It seems that this filter is faster than masktools2a48 about 150% to 300% on my machine
(Probably, since the lump of superfluous flesh called STL was eliminated from the critical part.)
__________________
my repositories

Last edited by Chikuzen; 6th August 2013 at 11:20.
Chikuzen is offline   Reply With Quote
Old 6th August 2013, 12:28   #27  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
@Chikuzen: What do you think about adding the edge mask algorithms from tedgemask?
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 6th August 2013, 13:55   #28  |  Link
Chikuzen
typo lover
 
Chikuzen's Avatar
 
Join Date: May 2009
Posts: 595
Quote:
Originally Posted by jackoneill View Post
@Chikuzen: What do you think about adding the edge mask algorithms from tedgemask?
I've never read the code of TEdgeMask.
if it's possivel , i'll write.
__________________
my repositories
Chikuzen is offline   Reply With Quote
Old 6th August 2013, 15:55   #29  |  Link
cretindesalpes
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
 
cretindesalpes's Avatar
 
Join Date: Feb 2009
Location: No support in PM
Posts: 712
IIRC mt_edge("prewitt") does a pretty similar but slightly better job than TEdgeMask. This can be noticed on very faint lines. Maybe just a different rounding behaviour. I don't know which one is the fastest.
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding

Last edited by cretindesalpes; 6th August 2013 at 15:57.
cretindesalpes is offline   Reply With Quote
Old 6th August 2013, 19:49   #30  |  Link
mandarinka
Registered User
 
mandarinka's Avatar
 
Join Date: Jan 2007
Posts: 729
Tedgemask's default thresh is fairly high (conservative). You need to set threshy to like 4 (well, from the anime dvd I am trying now, it seems the equivalent is between 3 and 4) if you want sensitivity of "mt_edge("prewitt")", it seems to me. Ofc, with that sensitivity, both pick up a lot of false positive pixels.

Hard to say (and I am lazy to check this too much), but I like tedgemask more I think.
mandarinka is offline   Reply With Quote
Old 9th August 2013, 14:51   #31  |  Link
Chikuzen
typo lover
 
Chikuzen's Avatar
 
Join Date: May 2009
Posts: 595
I wrote TEMmod to understand how TEdgeMask works.

http://forum.doom9.org/showthread.php?t=168390

Now, I'm going to drop type1 and type2 when I port this to VS since it seems that there is no difference not much.

Any suggestions?
__________________
my repositories
Chikuzen is offline   Reply With Quote
Old 12th August 2013, 12:39   #32  |  Link
Chikuzen
typo lover
 
Chikuzen's Avatar
 
Join Date: May 2009
Posts: 595
update to 0.6.0

* add new function 'TEdge'
__________________
my repositories
Chikuzen is offline   Reply With Quote
Old 12th August 2013, 15:15   #33  |  Link
mastrboy
Registered User
 
Join Date: Sep 2008
Posts: 365
Quote:
Originally Posted by Chikuzen View Post
update to 0.6.0

* add new function 'TEdge'
Thanks...
That would be the same as this for vapoursynth: http://forum.doom9.org/showthread.php?t=168390 ?

Any chance you're going to add tcanny mask as well?
Would be great to see most of the masking tools/algorithms collected into 1 plugin.
__________________
(i have a tendency to drunk post)
mastrboy is offline   Reply With Quote
Old 12th August 2013, 18:04   #34  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
fail build. missing convolution_utils.h

greetings
sl1pkn07 is offline   Reply With Quote
Old 13th August 2013, 03:28   #35  |  Link
Chikuzen
typo lover
 
Chikuzen's Avatar
 
Join Date: May 2009
Posts: 595
Quote:
Originally Posted by sl1pkn07 View Post
fail build. missing convolution_utils.h

greetings
fixed
__________________
my repositories
Chikuzen is offline   Reply With Quote
Old 13th August 2013, 13:53   #36  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 496
thanks
sl1pkn07 is offline   Reply With Quote
Old 18th August 2013, 02:56   #37  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,666
Out of curiosity (and learning purposes) how would one implement the "undot6" plugin talked about here?
Reel.Deel is offline   Reply With Quote
Old 21st August 2013, 03:23   #38  |  Link
Chikuzen
typo lover
 
Chikuzen's Avatar
 
Join Date: May 2009
Posts: 595
update to 0.7.0

* add new funtion 'GBlur'
* add new function 'Canny'
__________________
my repositories
Chikuzen is offline   Reply With Quote
Old 6th September 2013, 07:55   #39  |  Link
Chikuzen
typo lover
 
Chikuzen's Avatar
 
Join Date: May 2009
Posts: 595
Quote:
Originally Posted by HolyWu View Post
Hi Chikuzen,

May I know do you plan to add 'mode' to generic.Canny like AviSynth version has(people use mostly mode=1 IMHO)?
no.
I don't know the reason why people use Canny to get an edge mask instead of Sobel.
__________________
my repositories
Chikuzen is offline   Reply With Quote
Old 7th December 2013, 12:49   #40  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,556
Forked source with fixes is available from:
https://github.com/myrsloik/GenericFilters

Fixed windows binaries are bundled with the R22 (and later) VapourSynth installer.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Reply


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 07:06.


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