Log in

View Full Version : New resizing filter beats bicubic in speed and quality


arman68
4th March 2002, 12:30
The author of c_resize (bicubic resizing filter for AviUtl) has written a new filter which offers better quality than Bicubic Resizing and is faster (assembly language optimizations for all processors type!).

It's the Lanczos 3-lobed filter for AviUtl which can be found at http://e3lt11.ocv.ne.jp/auf/

There is a good comparison of different resizing methods (including Lanczos 3-lobed and bicubic) at http://twcny.rr.com/technofile/texts/tec042901.html (clearly shows that Lanczos 3-lobed provides the sharpest and most detailed results while preventing jagging).

I tested the filter speed in AviUtl on a 45 minutes video and here are the results from fastest to slowest (note: as I am using a PIII, I could not test all the processors optimizations)

Rescale (built in) 32 min
Resize (built in) 32 min
Lanczos MMX 35 min
Lanczos SSE 38 min
Lanczos SIMD 44 min
Bicubic mode 1 (c_resize) 46 min
Bicubic mode 2 (c_resize) 46 min

Previously I was only using VirtualDub or AviSynth + Panasonic Encoder (for VCD/XVCD), but with the recent improvements I have now switched to AviUtl + TMPGEnc. Along with DVD2AVI I love this VFAPI framework ;-)


BTW: in the latest version of AviUtl (0.97f) the bug with failing to open some AVI files has been fixed. AviUtl can be found at http://ruriruri.zone.ne.jp/aviutl/

Ookami
4th March 2002, 13:56
(/dvd scene vacation off)

Welcome arman68... Not registered here until now? ;)

I hope Fish will release his alternative VD resizing filters, I was a (lazy) beta tester of it. It included:

Hermite,Box,Triangle,Bell,B_spline,CubicConv,Mitchell,Lanczos3,HannWindows (probably Hanning).

I was the one who bothered everyone, from the DVD2AVI author -> the Nandub author to implement at least Lanczos as it was (at least in my very old DVD2MPG Squeezer tests) way superior to Bicubic resizing...

With VD, I was too lazy to make an extensive test, but I used the beta I have quite often :) .

Thanks for the info. EDIT: "Get rid of the jaggies when you enlarge your images", so maybe we should find a downsizing article :D .BTW, everyone should/could read what Avery Lee writes in his VD help file. :EDIT



BTW, the freeware list has grown a bit since the starters :D . http://www.ookami.iwebland.com/ ("New multimedia...") .

All the best,

Mijo.

(/dvd scene vacation on)

kythorn
4th March 2002, 14:40
Not entirely on topic, but I need to perform a field swap operation. Normally, I do this in avisynth. Since I can't open .avs files in AviUtl, is there any way to perform this operation inside aviutl? A filter I'm not seeing perhaps?