Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th December 2007, 19:43   #1  |  Link
grennis
Registered User
 
Join Date: Mar 2007
Posts: 34
Which resize filter to use when resizing one axis?

Hello,

I am resizing camcorder footage from 720x480 nonsquare pixels to standard 4:3 640x480. So, the resize is only on one axis.

I know BilinearResize is "better" than PointResize, but it also blurs the whole scene which seems unncessary if I am resizing just the one axis.

Is this a case where PointResize or something else would be more appropriate?

Thanks
grennis is offline   Reply With Quote
Old 20th December 2007, 19:50   #2  |  Link
um3k
Registered User
 
Join Date: May 2007
Posts: 220
I'd probably go with LanczosResize.
um3k is offline   Reply With Quote
Old 20th December 2007, 20:20   #3  |  Link
TheRyuu
warpsharpened
 
Join Date: Feb 2007
Posts: 787
Code:
Spline36Resize(640,480)
Since you're downsizing I'd say definitely go with spline36.
Even for upsizing, spline36, in my opinion, is superior to lanczos.
TheRyuu is offline   Reply With Quote
Old 20th December 2007, 22:34   #4  |  Link
grennis
Registered User
 
Join Date: Mar 2007
Posts: 34
OK thanks for the info.
grennis is offline   Reply With Quote
Old 21st December 2007, 02:11   #5  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
Choosing a higher order resizer is a religious experience, a lot depends on your personal preference, the material in question and what you use to view the result. A little bluring can cover a multitude of sins, a little sharpening can subjectively crispen the view experience.

See the installed resizer documentation for a summary.

Name - order - description
----- - ----- - -----------
Point - 1 - Nearest neighbour, crude and fast, ALIASING!

Bilinear - 2 - Average of 2 neighbours, less crude, fast, blurs.

Bicubic - 4 - bicubic spline thru 4 neighbours (tuneable b & c)
Spline16 - 4 - spline (sinc approx) thru 4 neighbours.

Lanczos - 6 - sinc thru 4 neighbours.
Spline36 - 6 - spline (sinc approx) thru 6 neighbours.

Blackman - 8 - sinc thru 8 neighbours, less ringing.
Gauss - 8 - Gaussian average of 8 neighbours, (tuneable P).
Lanczos4 - 8 - sinc thru 8 neighbours.
Spline64 - 8 - spline (sinc approx) thru 8 neighbours.

Lanczos(Taps=3) and Blackman(Taps=4) allow number of taps to be increased, order is 2 times taps value.
IanB is offline   Reply With Quote
Old 22nd December 2007, 21:57   #6  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
I recall a number of opinions in the Spline64 thread where the concensus seemed to be that Spline36 looked better than Spline64.

Where can I find more info about Blackman? When was it added to Avisynth?
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it.
Chainmax is offline   Reply With Quote
Old 22nd December 2007, 22:17   #7  |  Link
Sagekilla
x264aholic
 
Join Date: Jul 2007
Location: New York
Posts: 1,752
Quote:
Originally Posted by Chainmax View Post
I recall a number of opinions in the Spline64 thread where the concensus seemed to be that Spline36 looked better than Spline64.

Where can I find more info about Blackman? When was it added to Avisynth?
Spline36 looks better when it comes to large resizes, since it produces (slightly, mind you) less ringing artifacts then Spline64. I did a resize of a video of me browsing a forum, and there were very minute differences when it came to resizing from 1680x1050 to 840x525. Nothing to worry about really unless you're doing huge resizes really.

In fact, if you're working at SD resolutions doing a simple stretch from 720x480 to 864x480, I've found there's little difference between the various resizing algorithms.
Sagekilla is offline   Reply With Quote
Old 22nd December 2007, 23:26   #8  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
Quote:
Originally Posted by Chainmax
Where can I find more info about Blackman? When was it added to Avisynth?
Google for "+Blackman +Lanczos", it is a truncated sinc window algorithm like Lanczos but with faster rolloff of the higher order taps. The author claims better ringing performace for higher numbers of taps.

It was added for 2.58/2.6 along with Spline64. There is a pluggin version somewhere. Search the Developer forum.
IanB is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:43.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.