PDA

View Full Version : bicubic/bilinear resize resolutions


JohnMK
28th September 2002, 07:42
Is a post crop resolution that's divisible by 2 or 4 needed? I'm pretty sure both will take resolutions divisible by 2, but not by 4 and resize them perfectly, but is there a quality difference in theory that I should be aware of? I've looked around but could find no documentation on this. Not saying it doesn't exist, but I couldn't find it.

OvERaCiD23
28th September 2002, 08:20
well, any resolution divisible by 4 is also divisible by 2 =) . i believe any output resolution is acceptable, but most people tend to stick with 8 or 16 (i use 16 and have never had a problem...i find cropping a few additional pixels acceptable as compared to playback problems later). this minimizes the chance of playback problems, as lower choices are known to cause problems (not consistently, but there are many occurances).

JohnMK
28th September 2002, 08:39
I'm not talking about output resolution. I'm talking about the resolution AFTER cropping that is then PASSED to the resize filter. :D

So:

Original resolution: 720x480

is cropped to 706x354 <----- This is where my question is concerned.

is resized to whatever, this doesn't concern me.

I need to know if the bicubic resize filter can accept (as input) a resolution which isn't evenly divisible by 4, but is divisible by 2. I know it technically can accept such resolutions, so I'm actually interested in if there are any quality concerns in doing so, insofar as this filter is concerned.

Thank you. :)

hakko504
28th September 2002, 09:13
Both filters work without problems with mod2 resolutions in YUV space and with mod1 in RGB.

JohnMK
28th September 2002, 11:11
Thank you!