Log in

View Full Version : Sharpening during upscaling


Stormborec
7th March 2015, 21:19
Does make sense something like this: ?


a=last.nnedi3_rpow2(rfactor=2,cshift="spline36resize",fwidth=1280,fheight=720)
b=last.bilinearresize(1280,720)

mt_lutxy(a,b,"x x y - 1.0 * +",U=2,V=2)

anonymlol
9th March 2015, 10:13
Tested it, looks like it's sharpening the noise a bit too much.

I was working on something similar recently, have a look at this (https://github.com/anonymlol/avs-scripts/blob/master/aWarpNN.avsi).

Try something like:
aWarpNN(rfactor=2, thresh=200, blur=1, type=0, depth=2, chroma=4, resize=true, resizer="spline144", OpenCL=true)

Play around with the parameters and see if you like the results.

Stormborec
9th March 2015, 20:23
Does it something similar like this?: aWarp4(nnedi3_rpow2(rfactor=2).nnedi3_rpow2(rfactor=2), aSobel().aBlur(), depth=2)

http://forum.doom9.org/showthread.php?t=147285

warpsharpening is quite problematic on real content ...

anonymlol
9th March 2015, 20:54
Not quite the same, tested yours and it seems to warp a little stronger than my script (with the values I posted above).

AwarpNN enlarges the image (rfactor=2 default), warpsharps (or not if you set depth=0), then downscales back to the original resolution (optional, and you can choose the resizer depending on how sharp you want it).

PS: I made this script for anime, but why not just try it?