Log in

View Full Version : New tool to help choose a resizer


PhrostByte
14th April 2011, 20:55
Hello all, I made this page for ResampleHQ (http://forum.doom9.org/showthread.php?p=1484392) but really it's useful for anyone choosing any of Avisynth's built-in resizers too so I thought I'd post it here in its own topic.

It visualizes the different kernels in attempt to show different features such as blurring, sharpness, and ringing. Start with one kernel and if you think it rings your source too much, look for a similar one without ringing, and so on.

http://svn.int64.org/viewvc/int64/resamplehq/doc/kernels.html

Requires a browser with HTML5 Canvas support. Latest Chrome, FF, and IE9 should all work fine.

Notes:

Catmull-Rom is BicubicResize(b=0.0, c=0.5)
Hermite is BicubicResize(b=0.0, c=0.0)
Mitchell-Netravali is BicubicResize()
Robidoux is BicubicResize(b=0.3782, c=0.3109)
SoftCubic50 is BicubicResize(b=0.5, c=0.5)
SoftCubic100 is BicubicResize(b=1.0, c=0.0)

smok3
14th April 2011, 21:42
cool stuff and very nice use of html5.

shon3i
14th April 2011, 21:56
Interesting, but is i am missing something or this "Hermite" is in Avisynth? I am really interest to some natural resize filter that will not blur or sharpen and create rings.

PhrostByte
14th April 2011, 22:12
Interesting, but is i am missing something or this "Hermite" is in Avisynth? I am really interest to some natural resize filter that will not blur or sharpen and create rings.

They're just names of some Bicubic parameters. Updated the post to show them.

Dogway
16th April 2011, 12:01
For bicubic I found this graph to be useful, from the imagemagick pages.
http://i212.photobucket.com/albums/cc35/Dogway/Misc/cubic_survey.gif

madshi
23rd June 2011, 07:36
Hello all, I made this page for ResampleHQ (http://forum.doom9.org/showthread.php?p=1484392) but really it's useful for anyone choosing any of Avisynth's built-in resizers too so I thought I'd post it here in its own topic.

It visualizes the different kernels in attempt to show different features such as blurring, sharpness, and ringing. Start with one kernel and if you think it rings your source too much, look for a similar one without ringing, and so on.

http://svn.int64.org/viewvc/int64/resamplehq/doc/kernels.html
Looks very nice! I'm sorely missing a measurement of aliasing, though. That's an absolute key property of resampling algorithms, as important as e.g. sharpness, blurring and ringing. Also I find the aspect of "ringing supression" a useful measure for resampling algorithms. Some algorithms increase ringing, some leave it untouched, some actually reduce/remove it. Ok, maybe the blurring is what reduces/removes artifacts? Not sure...

If you could at least add a graph for aliasing I'd find that very useful. FWIW, SoftCubic is really good in terms of (lack of) aliasing and ringing supression which is why I'm using it for chroma upsampling and why some madVR users like to use it for upsampling luma when playing back sources which have a lot of artifacts in them.

Blue_MiSfit
17th August 2011, 01:34
This is very cool - what about speed?