Hello how are you guys ? i need your help
I want to create a function in Avisynth to apply this denoiser.
for example :
FFVideoSource(************)
DenoiserNEW(strength=4)
#DenoiserNEW(strength=2)
----------------------------------------------------------------------------
#to call this fuction:
super = MSuper(pel=2, sharp=1)
backward_vec2 = MAnalyse(super, isb = true, delta = 2, overlap=4)
backward_vec1 = MAnalyse(super, isb = true, delta = 1, overlap=4)
forward_vec1 = MAnalyse(super, isb = false, delta = 1, overlap=4)
forward_vec2 = MAnalyse(super, isb = false, delta = 2, overlap=4)
MDegrain2(super, backward_vec1,forward_vec1,backward_vec2,forward_v ec2,thSAD=400)
strength = 4
FFT3DFilter(bw=6, bh=6, ow=3, oh=3, plane=0, bt=1, sigma=strength)
FFT3DFilter(bw=216, bh=216, ow=108, oh=108, plane=0, bt=1, sigma=strength/8, sigma2=strength/4, sigma3=strength/2, sigma4=strength)
---------------------------------------------------------------------------
Someone could please help me create this script, thank you.
Thank you very much for your help.
+ Reply to Thread
Results 1 to 4 of 4
-
-
Please don't cross post,one thread is enough,i deleted your other thread,just continue here.
I think,therefore i am a hamster. -
Code:
function DenoiserNEW(clip v, float "strength") { strength = default(strength, 4) # default to 4 if not specified, change to whatever you want v super = MSuper(pel=2, sharp=1) backward_vec2 = MAnalyse(super, isb = true, delta = 2, overlap=4) backward_vec1 = MAnalyse(super, isb = true, delta = 1, overlap=4) forward_vec1 = MAnalyse(super, isb = false, delta = 1, overlap=4) forward_vec2 = MAnalyse(super, isb = false, delta = 2, overlap=4) MDegrain2(super, backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=400) FFT3DFilter(bw=6, bh=6, ow=3, oh=3, plane=0, bt=1, sigma=strength) FFT3DFilter(bw=216, bh=216, ow=108, oh=108, plane=0, bt=1, sigma=strength/8, sigma2=strength/4, sigma3=strength/2, sigma4=strength) }
Similar Threads
-
Avisynth Loop function
By pooksahib in forum Video ConversionReplies: 16Last Post: 29th May 2016, 12:03 -
Using avisynth's 'amplify' function
By pooksahib in forum Video ConversionReplies: 53Last Post: 25th May 2016, 02:23 -
avisynth: how to apply colormatrix to vid=FFVideoSource?
By marcorocchini in forum Newbie / General discussionsReplies: 3Last Post: 25th Mar 2015, 10:04 -
AVISynth script exact effects to apply in Premiere Pro. need help plsss
By asim in forum EditingReplies: 6Last Post: 2nd Nov 2014, 06:07 -
avisynth: is there an alternative function to the SmoothFPS2
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 1st Nov 2014, 11:03