VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. 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.
    Quote Quote  
  2. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    Please don't cross post,one thread is enough,i deleted your other thread,just continue here.
    I think,therefore i am a hamster.
    Quote Quote  
  3. 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)
    }
    Quote Quote  
  4. Originally Posted by jagabo View Post
    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)
    }
    thanks so much
    Quote Quote  



Similar Threads