PDA

View Full Version : best way to increase resolution?


slavik
24th September 2004, 06:52
which way is best to increase resolution of a video clip?

is it bicubicresize() or lancsoz4resize()?

Ark
24th September 2004, 09:44
Lanczos is sharper but less "compressible", bicubic the opposite, also bilinear is even less detailed.

But there are other ways, search on the forum for iip, limited sharpen, sharptools, you'll find very interesting things... ;)

kingmob
24th September 2004, 15:45
Try this on a clip:

vid = Avisource("video")
vid1 = Lanczos4Resize(640,480) #or whatever you want ofcourse
vid2 = BicubicResize(640,480) #
StackHorizontal(vid1.Crop(0,vid1.width/4,0,vid1.width/4),vid2.Crop(0,vid2.width/4,0,vid2.width/4))

Now you can easily decide for yourself what looks best :). I like it better this way than just putting the two next to eachother. Alternatively you can crop the right part of the first one and the left part of the second, but this i generaly only find usefull when trying out color and levels changes.

Mug Funky
24th September 2004, 15:57
you could also try an interleave between the two - i find this a nice way to compare, because you can just whack at the arrow keys in virtualdub to get a comparison.

jorel
24th September 2004, 20:30
Originally posted by Mug Funky
you could also try an interleave between the two - i find this a nice way to compare, because you can just whack at the arrow keys in virtualdub to get a comparison.

please Mug Funky , post your idea as an script! :)

Manao
24th September 2004, 21:13
What idea ? He's just saying that if you want to compare to resizer, finishing the script with "Interleave(resize1, resize2)" is one of the best way to spot differences between both clips.

In kingmob's script, you'd have to replace 'stackvertical' by 'interleave', for example.

jorel
24th September 2004, 23:23
Manao?
:confused: "sounds" strange your question "What idea ?".
what can i answer for your question? :o


i don't know everything, then...i ask!
for me was like an idea, and a very good idea.(Mug Funky always have)
but thanks, you answer me and now i know how to do. :)

Didée
25th September 2004, 00:29
for me was like an idea, and a very good idea.(Mug Funky always have)
Ehrm ...

whithout neglecting the statement in parathenses, but I remember
this (http://forum.doom9.org/showthread.php?s=&postid=521864#post521864), this (http://forum.doom9.org/showthread.php?s=&postid=474051#post474051) and also this (http://forum.doom9.org/showthread.php?s=&postid=366876#post366876)
/*whistles while examining fingernails*/ ;)

jorel
25th September 2004, 01:20
Originally posted by Didée
Ehrm ...

whithout neglecting the statement in parathenses, but I remember
this (http://forum.doom9.org/showthread.php?s=&postid=521864#post521864), this (http://forum.doom9.org/showthread.php?s=&postid=474051#post474051) and also this (http://forum.doom9.org/showthread.php?s=&postid=366876#post366876)
/*whistles while examining fingernails*/ ;)

oh...:p all the credits are yours, right? ( oh my karma )
Mug Funky ...was my bad.i give wrong credits for you. so sorry!

good memory to find your own posts Didée.;)

i have another way to compare pictures and seems very cool.
of course, is a simple way but give good results...before i "whistles while examining fingernails" i found one problem:
http://forum.doom9.org/showthread.php?s=&postid=514595#post514595
ask Wilbert about it here: http://forum.doom9.org/showthread.php?s=&threadid=82217
i did the best that i could and i'm very happy cos my little part give fruits!

i have good memory to find my posts too!
and without /*...jokes...*/ ;)
thanks!

Chainmax
25th September 2004, 01:24
I am using Lanczos4Resize and LimitedSharpen for a 352x240--->800x600 upsampling test and it seems pretty good if you don't take into account the lack of detail and the enhancing of the macroblocking from the source it seems to yield adequate results.

Mug Funky
27th September 2004, 16:23
@ jorel: i'm flattered, but i must refute your statement.

my haircut was a terribly bad idea

eating KFC's popcorn chicken that time was definitely a bad idea :scared:

jorel
29th September 2004, 04:15
sorry Mug Funky, i don't understood
my haircut was a terribly bad idea

eating KFC's popcorn chicken that time was definitely a bad idea :scared: my english is not so good and your phrases seems from "regional language" or something like this.sorry my poor english....:o what it means? :confused: thanks (and sorry for OT):)