YAHRmod source
From Avisynth wiki
(Difference between revisions)
Raffriff42 (Talk | contribs) m (added category) |
Raffriff42 (Talk | contribs) m (Category:Script_Source->Scripts) |
||
| Line 1: | Line 1: | ||
| − | [[Category: | + | [[Category:Scripts]] |
source: http://pastebin.com/raw.php?i=dNhUDbca | source: http://pastebin.com/raw.php?i=dNhUDbca | ||
<pre> | <pre> | ||
Revision as of 00:05, 14 December 2015
source: http://pastebin.com/raw.php?i=dNhUDbca
# Y'et A'nother H'alo R'educing script
# YAHR A.SONY mod 1.1 , original YAHR was by Didée
# good deHalo for modern DVD and other cases
function YAHR(clip clp, int "depth")
{
depth = Default(depth, 8)
b1 = clp.minblur(2).removegrain(11,-1)
b1D = mt_makediff(clp,b1)
w1 = clp.aWarpSharp2(depth=depth,chroma=0) #aWarpSharp(depth=8,blurlevel=2,thresh=0.5)
w1b1 = w1.minblur(2,1).removegrain(11,-1)
w1b1D = mt_makediff(w1,w1b1)
DD = b1D.repair(w1b1D,13)
DD2 = mt_makediff(b1D,DD)
clp.mt_makediff(DD2,U=2,V=2)
}