View Single Post
Old 25th March 2007, 13:13   #17  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
I wonder how this ugly ytouv fft3d business started spreading. You should really replace
Code:
YToUV(FFT3DFilter(sigma=3, plane=1, bw=32, bh=32).UToY,\
FFT3DFilter(sigma=3, plane=2, bw=32, bh=32).VToY,\
FFT3DFilter(sigma=2, plane=0, bw=32, bh=32))
YToUV(FFT3DFilter(sigma=3, plane=1, bw=4, bh=4).UToY,\
FFT3DFilter(sigma=3, plane=2, bw=4, bh=4).VToY,\
FFT3DFilter(sigma=2, plane=0, bw=4, bh=4))
with
Code:
FFT3DFilter(sigma=2, plane=0, bw=32, bh=32)
FFT3DFilter(sigma=2, plane=0, bw=4, bh=4)
FFT3DFilter(sigma=3, plane=3, bw=32, bh=32)
FFT3DFilter(sigma=3, plane=3, bw=4, bh=4)
just so you can read them. And since I know you just copied them from somewhere, you should load your script into avsp, turn them into sliders, and play around with them - tune them to your content, so that you don't smooth too much or too little.

Doubled-up fft3d with different block sizes is rarely necessary, and slows things down quite a bit. Even though fft3d is threaded, you can also just wrap the whole block in mt:
Code:
mt("""
FFT3DFilter(sigma=2, plane=0, bw=32, bh=32)
FFT3DFilter(sigma=2, plane=0, bw=4, bh=4)
FFT3DFilter(sigma=3, plane=3, bw=32, bh=32)
FFT3DFilter(sigma=3, plane=3, bw=4, bh=4)
Dehalo_alpha()
LimitedSharpenfaster(ss_x=2.0,ss_y=2.0,smode=3,strength=150,overshoot=7)
""")
Otherwise I can't yet offer specific suggestions, as it's still downloading.
foxyshadis is offline   Reply With Quote