Log in

View Full Version : Lanczos resize instead of bicubic


sehh
13th August 2003, 16:08
I've heard a lot of good things about Lanczos resize
over the older Bicobic resize.

Could someone please confirm if Lanczos is indeed better
than Bicubic and Linear resize?

Also, if Lanczos is so much better, are there plans to
include it in a future version of DVD2SVCD? Right now
only the AutoFit has the ability to include it.

Thanks in advance.

sehh
14th August 2003, 11:27
Answering my own post...

I did a little research from the avisynth site, and here
is what i found about Lanczos resize over Bicubic/Bilinear:

== quote ==
LanczosResize is an alternative to BicubicResize with high values of c about 0.6 ... 0.75 which produces quite strong sharpening. It usually offers better quality (fewer artifacts) and a sharp image.

Lanczos was created for Avisynth because it retained so much detail, more so even than BicubicResize(x,y,0,0.75). As you might know, the more detail a frame has, the more diffiult it is to compress it. This means that Lanczos is NOT suited for low bitrate video, the various Bicubic flavours are much better for this. If however you have enough bitrate then using Lanczos will give you a better picture, but in general I do not recommend using it for 1 CD rips because the bitrate is usually too low (there are exceptions of course).
== quote ==

Example usage:
LanczosResize(clip clip int target_width, int target_height)
LanczosResize(clip clip, int target_width, int target_height, float src_left, float src_top, float src_width, float src_height)

dvd2svcd, any chances of adding an option to use Lanczos by default?
(instead of having to install AutoFit)

DDogg
16th August 2003, 14:45
Just paste this in at the bottom of your dvd2svcd.ini. It will then become available for you to use in the template dropdown in the frameserver tab. Also, see this thread in advanced for more templates you may want to try.http://forum.doom9.org/showthread.php?s=&threadid=35746

[AVISYNTH_Lanczos3Resize]
0=LanczosResize(^TargetWidth,^TargetHeight)
1=AddBorders(0,^BorderTop,0,^BorderBottom)

Note: A better alternative is to run, not walk, and install Gerti's Semi-autocrop and resize templates also available in the advanced section. There is a parameter you can change to use any of the various resizing methods as well as give you much more efficient encoding. See: http://forum.doom9.org/showthread.php?s=&threadid=55641

sehh
19th August 2003, 13:36
Thats more than enough, it should do the trick.

Thank you!

sehh
19th August 2003, 23:06
I tested Lanczos resize by using the lines you suggested,
unfortunately something strange happens.

My Logo picture is resized in a weird way, its too small now.

The main movie looks fine.

Any suggestions?

canoner
20th August 2003, 09:11
Originally posted by DDogg


Note: A better alternative is to run, not walk, and install Gerti's Semi-autocrop and resize templates also available in the advanced section. There is a parameter you can change to use any of the various resizing methods as well as give you much more efficient encoding. See: http://forum.doom9.org/showthread.php?s=&threadid=55641

How is this different from AutoFitCD-FitCD? I am using AutoFitCD-FitCD and pretty happy with it. Is there any reason I should try out this Gerti's plug-in also?

sehh
20th August 2003, 10:27
Personaly i didn't like those plugins because they made my movies
look bad when played on a computer (black borders on the sides).

Other than that, bicubic resize seems to do the job nicely, since
lanczos badly resizes my title picture.

DDogg
22nd August 2003, 20:09
How is this different from AutoFitCD-FitCD? I am using AutoFitCD-FitCD and pretty happy with it. Is there any reason I should try out this Gerti's plug-in also? They both work very well.

r6d2
23rd August 2003, 00:00
Originally posted by DDogg
They both work very well.
Gerti's resize is different in a sense: it allows you to crop the scan area without changing the frame size, thus you only need to resize in one dimension.

This has a nice effect on the top and bottom borders, they don't flicker and they sometimes do with FitCD.

See Gerti's like a "cut and paste", it will cut everything that is not seen on your screen when seeing the original source.

Read the docs in the thread. It is very well written and crystal clear.