Log in

View Full Version : Resize filter


Ricey
14th March 2008, 03:12
Just need a bit of advice on resize filters.

I alwaysed used bilinear but iv been messing about with spline16nutral. Whats peoples opinions here on resize filtes?

scharfis_brain
14th March 2008, 03:28
choose whatever meets your taste best.

fibbingbear
14th March 2008, 04:16
Although it's true to use "what's best for your image," I've read that people prefer Spline36Resize to Spline64Resize, and that Spline is the way to go. Lanczos is nice, too, for sharpness.

Back in university, I implemented a raytracer for a graphics lab, along with some reconstruction filters. They're decently similar to what the resize filters do, and give some idea about the differences. Note that the re-sizing is down, as opposed to up.

http://ybit.org/pewpew/hidino.jpg
This is the image rendered at a higher resolution.


http://ybit.org/pewpew/gen_img/gaussiandino.jpg
Gaussian resize. What happens if you just weighted average.

http://ybit.org/pewpew/gen_img/lanczosdino.jpg
Lanczos resize.

http://ybit.org/pewpew/gen_img/bsplinedino.jpg
Cubic B-spline resize. Not the same as Spline36, but maybe in the same family...?