View Single Post
Old 11th October 2013, 21:37   #4  |  Link
raffriff42
Retried Guesser
 
raffriff42's Avatar
 
Join Date: Jun 2012
Posts: 1,373
I'm looking at the script you posted - I like it. Much better than my naive GaussianBlur>Sharpen. The remaining temporal noise is helped by increasing the frame rate from 24 to 60fps with Interframe. This not only adds more temporal smoothing, but the eye is less sensitive to noise at the higher frame rate. Brightening this particular source seems to help as well.

Allowing a small amount of twinkling/shimmering is OK, IMHO- to the uneducated eye it says "sharpness." The added blur of Interframe may allow you to back off some of the smoothing elsewhere.
Code:
LoadPlugin( "e:\apps\utils\Video tools\AVSplugins\RemoveGrainSSE3.dll" )
LoadPlugin( "e:\apps\utils\Video tools\AVSplugins\mt_masktools-26.dll" )
LoadPlugin( "e:\apps\utils\Video tools\AVSplugins\EEDI2.dll" )
LoadPlugin(pathBase + "mvtools-2.5.11.9-svp\mvtools2.dll")
Import(pathBase + "Interframe\InterFrame2.avsi")
LoadPlugin(pathBase + "SmoothAdjust-2,00\avs-2.5.x\x86\SmoothAdjust.dll")

SmoothLevels(0, 1.0, 160, 0, 255)

o=last 
ox=o.width 
oy=o.height

# round/soften hard corner pixels
o.pointresize(ox*3,oy*3).removegrain(4)
mt_lutxy(last,last.removegrain(11,-1),"x x y - 2.51 * +",U=2,V=2).bilinearresize(ox,oy)
o3=last

bubb0=o3.eedi2(maxd=8).bicubicresize(ox,oy,0,0,0,0.5)
\    .turnleft().eedi2(maxd=8)
\    .turnright().bicubicresize(ox,oy,0,0,-0.5,0)

return bubb0.InterFrame(NewNum=60, NewDen=1)
EDIT - one more thing:
Code:
return bubb0.InterFrame(NewNum=60, NewDen=1).Sharpen(0.4)

Last edited by raffriff42; 11th October 2013 at 22:19. Reason: sharpen
raffriff42 is offline   Reply With Quote