Fred's Video Discussion Files  2006-07-05
 

The Filters of Donald Graft

doom9

VideoHelp

TiVoGuy Icon  

Current cleaning filters

Thanks to Didée, Ivo (yes, even him!), Rainer, Boulder and the other filter authors.

Animation - Progressive:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DeSpot.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\GrapeSmoother.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\PeachSmoother.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrainS.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RepairS.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\SSEToolsS.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Undot.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\DeHalo_alpha.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\FastLineDarken.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\LimitedSharpen.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\LRemoveDust.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\Soothe.avs")
ConvertToYUY2(Interlaced=False)
GrapeSmoother(Smoothing=35)
PeachSmoother(NoiseReduction=50,Spatial=120)
ConvertToYV12(Interlaced=False)
DeSpot(sign=-1,p1=40,mthres=25,p2=20,pwidth=50,pheight=30,mwidth=12,mheight=10,interlaced=false,blur=1)
DeSpot(sign=1,p1=30,mthres=15,p2=10,pwidth=10,pheight=10,mwidth=12,mheight=10,interlaced=false,blur=1)
UnDot()
DeHalo_Alpha()
LRemoveDust_YV12(10,3)
Soothe(LimitedSharpen(ss_x=1.0,ss_y=1.0,Smode=4,soft=24),last,24)
FastLineDarken(strength=4, luma_cap=191, threshold=4, thinning=0)

Animation - Interlaced:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DeSpot.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\GrapeSmoother.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\PeachSmoother.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrainS.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RepairS.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\SSEToolsS.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Undot.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\DeHalo_alpha.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\FastLineDarken.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\LimitedSharpen.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\LRemoveDust.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\Soothe.avs")
ConvertToYUY2(Interlaced=True)
GrapeSmoother(Smoothing=35)
PeachSmoother(NoiseReduction=50,Spatial=120)
ConvertToYV12(Interlaced=True)
DeSpot(sign=-1,p1=40,mthres=25,p2=20,pwidth=50,pheight=30,mwidth=12,mheight=10,interlaced=true,blur=1)
DeSpot(sign=1,p1=30,mthres=15,p2=10,pwidth=10,pheight=10,mwidth=12,mheight=10,interlaced=true,blur=1)
SeparateFields()
UnDot()
evn=SelectEven().DeHalo_Alpha().LRemoveDust_YV12(10,3)
odd=SelectOdd().Dehalo_alpha().LRemoveDust_YV12(10,3)
Interleave(evn,odd)
Soothe(LimitedSharpen(ss_x=1.0,ss_y=1.0,Smode=4,soft=24),last,24)
FastLineDarken(strength=4, luma_cap=191, threshold=4, thinning=0)
Weave()

They seem to work just fine for a variety of animation styles. These frames are from the Anniversary release of Heavy Metal. The mountains in the lower left and the watercolor sky were good test areas. This particular filtertered frame is a little grittier in the orange sky than earlier versions of the filter but the clothing is smoother. The sky in neighboring frames are smoother. Overall, the reduction in mosquito noise is well worth any slight grittiness in some frames.

FastLineDarken DeSpot DeHalo_Alpha GrapeSmoother LimitedSharpen LRemoveDust

PeachSmoother RemoveGrain Soothe SSETools TDeint UnDot

Progressive (film):

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DeGrainMedian.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrainS.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RepairS.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\SSEToolsS.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\DeHalo_alpha.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\LRemoveDust.avs")
ConvertToYV12(Interlaced=False)
DeHalo_Alpha()
DeGrainMedian(limitY=2,limitUV=3,mode=3,interlaced=false)
LRemoveDust_YV12(10,1)

DeGrainMedian DeHalo_alpha LRemoveDust RemoveGrain SSETools

Interlaced (television, camcorder):

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DeGrainMedian.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrainS.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RepairS.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\SSEToolsS.dll")
Import("C:\Program Files\AviSynth 2.5\plugins\DeHalo_alpha.avs")
Import("C:\Program Files\AviSynth 2.5\plugins\LRemoveDust.avs")
ConvertToYV12(Interlaced=True)
SeparateFields()
#DeGrainMedian(limitY=2,limitUV=3,mode=3,interlaced=true)
evn=SelectEven().DeHalo_Alpha().LRemoveDust_YV12(10,1)
odd=SelectOdd().Dehalo_alpha().LRemoveDust_YV12(10,1)
Interleave(evn,odd)
Weave()

DeGrainMedian DeHalo_alpha LRemoveDust RemoveGrain SSETools

DVD menu frames for encoder tests

mpeg2enc vs. QuEnc - Which looks better?
(Genevieve Gorder is cute no matter what. She's the best part of Trading Spaces and Town Haul.)

MainConcept DV codec comparisons - NTSC and PAL

29-frame YUV4MPEG sample from TyTool (RAR format)

 

 

email iz utils aht mindspring dahhhht com