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. |
10th September 2002, 09:46 | #1 | Link |
Registered User
Join Date: Feb 2002
Posts: 1,195
|
Lanczos3 Filter Resize.
Hi,
for those who don't know the Lanczos is a resize algo better than bicubic resize. does someone have already worked on this filter ? i know there is an virtualdub an an aviutl version but does someone have an yuv version of this filter who could work with avisynth script ? thank u.
__________________
AutoDub v1.8 : Divx3/4/5 & Xvid Video codec and .OGG/.MP3/.AC3/.WMA audio codec. AutoRV10 v1.0 : Use RealVideo 10 Codec and support 2 Audio Streams and Subtitles. |
10th September 2002, 10:30 | #2 | Link |
Vlad, the Buffy slayer
Join Date: Oct 2001
Location: France
Posts: 445
|
Yep I know it, I know it from a French forum quoting a japanese web page.
I made a test (it's very easy to add in avisynth) : it's slower than bicubic and I didn't see any enhancement but I was perhaps too tired to see anything. As soon as I get home I'll mail the modified sources to someone in the avisynth team.
__________________
Vlad59 Convolution3D for avisynth 2.0X : http://www.hellninjacommando.com/con3d Convolution3D for avisynth 2.5 : http://www.hellninjacommando.com/con3d/beta |
10th September 2002, 10:42 | #3 | Link |
Registered User
Join Date: Feb 2002
Posts: 1,195
|
hi,
thank u very much if u could help this filter to be integrated to avisynth i think with a good optimisation we can rush the same speed than bicubic and it's sure that lanczos algo was better for the details than bicubic PS:i was a little frenchy too (bordeaux). bye.
__________________
AutoDub v1.8 : Divx3/4/5 & Xvid Video codec and .OGG/.MP3/.AC3/.WMA audio codec. AutoRV10 v1.0 : Use RealVideo 10 Codec and support 2 Audio Streams and Subtitles. |
10th September 2002, 12:06 | #4 | Link |
Moderator
Join Date: Oct 2001
Location: England
Posts: 3,285
|
Heres an Intel 6 compile of the lanczos filter (avisynth & VDub)
http://nic.dnsalias.com/lanczos3.zip in the readme is the link to where I found the filter/source... -Nic |
10th September 2002, 13:58 | #5 | Link |
Xe-Rotaredom
Join Date: Oct 2001
Location: Croatia
Posts: 1,029
|
Free at last!
Thank, Nic! There was a time when I bothered everyone, that they should included Lanczos resizing in their programs... fISH made a resizing filter for VD with many other algos, but the filter, sadly, never leaved the beta stage. @vlad59 There is a obvious quality gain (first noticed it when using DVD2MPG Squeezer), but all the implementations I used are much slower than bicubic resizing, so there's the question if it's worth it. There is also a AviUtl, lanczos filter out there: http://forum.doom9.org/showthread.php?s=&threadid=19075 BTW, for VD, you need only to rename the .dll to .vdf or what? Er, will try that later... Thanks. Cheers, Mijo.
__________________
"Only those who attempt the absurd achieve the impossible." |
10th September 2002, 15:30 | #9 | Link | |
Registered User
Join Date: Aug 2002
Location: Japan
Posts: 15
|
Quote:
ex. LoadPlugin("lanczos3.vdf") Original archive is this. http://isweb42.infoseek.co.jp/comput...anczos_02a.cab I explain Lanczos3Resize filter history, because Nic wrote nothing about it. Originally, Lanczos3Resize filter was created by MOGI Kazuhiro for AviUtl filter. This Avisynth plugin ported by thejam who created fine ITVC plugin IT. |
|
10th September 2002, 15:35 | #10 | Link |
Moderator
Join Date: Oct 2001
Location: England
Posts: 3,285
|
LoL...No I didnt misunderstand, I thought other people would be confused if it was called .vdf & people would think it was a VDub filter (Not everyone knows that a .vdf file is just a .dll file)
& I didn't write anything about it because I cant read Japanese , but did give the link to the site where I found it... Thanks for the info though Cheers, -Nic ps & I recompiled it to a dll because I thought the intel compiler might help, but I doubt it as it is mainly assembler... |
10th September 2002, 15:55 | #11 | Link | ||
Registered User
Join Date: Aug 2002
Location: Japan
Posts: 15
|
Quote:
Quote:
So, Compiler doen't matter. |
||
10th September 2002, 16:24 | #12 | Link |
Xe-Rotaredom
Join Date: Oct 2001
Location: Croatia
Posts: 1,029
|
@toshi
Are you affiliated with the Aeternitas site? There are so many good japanese sites (for instance http://www.geocities.co.jp/SiliconVa...unnyvale/3109/ seems interesting), that I wish I would have had the patience to learn japanese . Oh, well... BTW, do you know what happened with thejam79's filter site? I wanted to download his filters, but couldn't find anything to download . Thanks, and sorry for the little thread drift. Cheers, Mijo.
__________________
"Only those who attempt the absurd achieve the impossible." |
10th September 2002, 17:19 | #13 | Link |
Registered User
Join Date: Aug 2002
Location: Japan
Posts: 15
|
Thanks Ookami.
You can get the information about thejam's filter site at this thread. http://forum.doom9.org/showthread.php?s=&threadid=32863 But,lately IT 0.051 was released. It contained source code. http://members.tripod.co.jp/thejam79/IT_0051.zip |
10th September 2002, 18:27 | #14 | Link |
VDubMod Devel
Join Date: Oct 2001
Location: Germany
Posts: 824
|
@ookami: Simple way, use Babelfish (http://babelfish.astalavista.com). This page is translated pretty understandable.
Cheers Belgabor |
10th September 2002, 18:27 | #15 | Link |
Xe-Rotaredom
Join Date: Oct 2001
Location: Croatia
Posts: 1,029
|
Thank you very much, Toshi!
And I even got a mail from GuiltyX, where he pointed me, also, to the mentioned thread. Can someone mail me, or upload somewhere, the ghost filter? I'm only interested in it if it is a ghost removing filter like the Exorcist ( http://www.republika.pl/vander74/virtualdub/ ) for VirtualDub. @belgabor In 99% such translations are unusable, especially if you use it for technical pages, but maybe the translations are better now than a few years ago... Thanks for your time. BTW, did you saw the Avspreview program on the site I mentioned ? All the best, Mijo.
__________________
"Only those who attempt the absurd achieve the impossible." |
10th September 2002, 18:52 | #16 | Link | |
VDubMod Devel
Join Date: Oct 2001
Location: Germany
Posts: 824
|
Quote:
I was just testing this AVSPreview thing. Unfortunately my Screen res of 1152x864 isnt large enough for it to fit. (He tells 1024x768 in his readme, but western and eastern windoze systems often differ in screen metrics). Anyways, this program is buggy (at least on my western system) so as long as i don't have the source to recompile its a nice idea but unusable. Cheers Belgabor |
|
10th September 2002, 19:12 | #17 | Link |
Vlad, the Buffy slayer
Join Date: Oct 2001
Location: France
Posts: 445
|
For those who are interested : I have attached a version of avisynth(the latest CVS) with a built-in lanczos resize :
ALanczos3Resize (Destination width, Destination height) (like BilinearResize) I choose to name it ALanczos3Resize to allow you to test this filter and the filter compiled by Nic. I haven't made any quality or speed test between them but since I already have it you can choose the version you want. EDIT : It seems that the built in function is faster that Nic's plugin. I'm too tired to make quality tests. The sources is available, I'll mail Shodan or Dividee as I don't have CVS access.
__________________
Vlad59 Convolution3D for avisynth 2.0X : http://www.hellninjacommando.com/con3d Convolution3D for avisynth 2.5 : http://www.hellninjacommando.com/con3d/beta Last edited by vlad59; 10th September 2002 at 19:23. |
10th September 2002, 23:14 | #18 | Link |
Registered User
Join Date: Jan 2002
Posts: 331
|
I have been using Lanczos3 Resize filter in my last two encodes with excellent results. I find the detail very high. I will look into the compressability differences between it and Bilinear and Bicubic, although judging from the quality of the one cd encodings, it compresses very well, similar to bilinear.
I actually found this filter, by scouring through the japanese filter sites, they are pretty cool. Also, many high end photo resizing programs use Lanczos3 to resize photos in high quality, so I figure it can't hurt video resizing. Dali |
10th September 2002, 23:43 | #19 | Link |
Registered User
Join Date: Feb 2002
Posts: 1,195
|
yes Lanczos resize formula was the BEST ratio quality/size i have make a compressibility test and the result was above bilinear and below the bicubic. i need do more tests but i realy think with a light convolution filter and this resize filter the result will be better than bicubic and near the biliear compressibility.
PS: on a japanese site (http://barururu.virtualave.net/avisynth.html) i have found a script with the file warsharp.dll (seems to be an yuv conversion of the virtualdub filter) does someone have this filter ? perhaps a japanese man could translate the text about this filter. thank u Bye. PS: for those who are interested Autodub 1.6 will be out in a few day with the support of the lanczos filter ,a compressibility test and the update of the xvid build 10-09-02
__________________
AutoDub v1.8 : Divx3/4/5 & Xvid Video codec and .OGG/.MP3/.AC3/.WMA audio codec. AutoRV10 v1.0 : Use RealVideo 10 Codec and support 2 Audio Streams and Subtitles. |
10th September 2002, 23:48 | #20 | Link |
Registered User
Join Date: Oct 2001
Location: Italia
Posts: 412
|
By few comparisons I have found it very very close to sharp bicubic (0.75), only a bit more sharp... I think with normal view diff. is impossible to perceive.
[Edit] Nice to hear about quality/size. Suprised Last edited by unplugged; 10th September 2002 at 23:54. |
Thread Tools | Search this Thread |
Display Modes | |
|
|