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. |
18th March 2003, 00:14 | #1 | Link |
VDubMod Devel
Join Date: Oct 2001
Location: Germany
Posts: 824
|
My first filter: Super8Equal
After requesting the Filter SDK I feel oblieged to publish my filter, although it is probably of low interest for most people
Code:
Overview: One problem of the transfer of Super8 films to digital media is the inhomogenous brightness produced by projectors. Usually the brighness drops in a circular fashion from the center to the rim. This filter was written to counteract this problem. (Alternatively it can be used to create the same flair ;) ) Usage: Super8Equal(clip, center[float, 1.0], rim[float, 0.0], min[float, 0.0], max[float, 2.0]) center, rim: The brightness of pixels is multiplicated by a factor calculated by linear interpolaration from the center factor to the rim factor, dependant on the distance from the center of the picture. The rim factor is reached in the corners of the picture. min, max: These are cut off values. The factor will never go below min or above max. The filter is for AviSynth 2.5.x and works in all color spaces (the brightness alteration is a bit diffrent between the RGB color spaces and YUY2/YV12). Edit: Download it here. Cheers Belgabor
__________________
VirtualDubMod [SourceForge : Tracker/DL] (FAQ, Some rules) Be sure to also download the latest DLL package or get the all inclusive package! Before you post questions, please read the VirtualDub and/or VirtualDubMod FAQ. If you have a bug report or feature request for VirtualDubMod, be sure to read the rules first. We give 100% of your donations to the Open Source community Last edited by Belgabor; 20th March 2003 at 04:46. |
18th March 2003, 14:13 | #2 | Link |
·
Join Date: Jan 2002
Posts: 1,729
|
Wouldn't it have been easier to port neuron2's HotSpot filter ?
Last edited by mf; 20th March 2003 at 12:34. |
18th March 2003, 17:43 | #4 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
My Hotspot filter uses a mask directly obtained from the projector and therefore exactly matches the luminance discontinuities. I also found that both multiplicative and additive adjustments were required for best results. |
|
19th March 2003, 11:25 | #5 | Link |
VDubMod Devel
Join Date: Oct 2001
Location: Germany
Posts: 824
|
Doh! I should have known you made such a filter Donald, knowing you did an anti flicker filter. Anyhow mine's at least AviSynth
To its working condition I have to say I didnt yet test it on footage. I wrote it for my dad who wants to cap all his old super8 films but he hasnt done any real captureing yet. The file is attached to my first post, but either its not been moderated yet or the forum's been funky on it. I'll see if I can put it somewhere else when I get home this evening. Cheers
__________________
VirtualDubMod [SourceForge : Tracker/DL] (FAQ, Some rules) Be sure to also download the latest DLL package or get the all inclusive package! Before you post questions, please read the VirtualDub and/or VirtualDubMod FAQ. If you have a bug report or feature request for VirtualDubMod, be sure to read the rules first. We give 100% of your donations to the Open Source community |
19th March 2003, 12:05 | #7 | Link | |
VDubMod Devel
Join Date: Oct 2001
Location: Germany
Posts: 824
|
Quote:
I certainly will have a look at your sources when I have some footage to play with (well, from the pics on your page I already got the idea to add options to move the center, something that hadn't occured to me.) In fact my first implementaton idea was to calculate a mask first and apply that, but then I found out that you can't access frame dimensions from the filters constructor (have I overlooked something there?)
__________________
VirtualDubMod [SourceForge : Tracker/DL] (FAQ, Some rules) Be sure to also download the latest DLL package or get the all inclusive package! Before you post questions, please read the VirtualDub and/or VirtualDubMod FAQ. If you have a bug report or feature request for VirtualDubMod, be sure to read the rules first. We give 100% of your donations to the Open Source community |
|
19th March 2003, 12:30 | #9 | Link |
VDubMod Devel
Join Date: Oct 2001
Location: Germany
Posts: 824
|
Doh! Looking for GetHeight() and GetWidth() like in Clip I overlooked those ^^'
__________________
VirtualDubMod [SourceForge : Tracker/DL] (FAQ, Some rules) Be sure to also download the latest DLL package or get the all inclusive package! Before you post questions, please read the VirtualDub and/or VirtualDubMod FAQ. If you have a bug report or feature request for VirtualDubMod, be sure to read the rules first. We give 100% of your donations to the Open Source community |
19th March 2003, 12:48 | #10 | Link |
Retired AviSynth Dev ;)
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
|
Just writing a "speech", so it can be put up on avisynth.org:
VideoInfo is considered the "constant" video info. This can not in any way change. The information such as width, height and colorspace cannot change. So the information you get from this can be trusted to be the same from all frames you recieve. If you change the VideoInfo you have recieved it will not change the frames you recieve, but a modified 'VideoInfo vi' can be sent to env->NewVideoFrame(vi) and a new frame with the changed parameters will be created. Only your own filter can modify the VideoInfo given to your filter. PVideoFrame contains information about a particular frame you requested. Height and Rowsize should not change (this can be considerd a bug). Pitch can change, so you cannot rely on pitch being the same for all frames you recieve.
__________________
Regards, sh0dan // VoxPod |
20th March 2003, 04:47 | #11 | Link |
VDubMod Devel
Join Date: Oct 2001
Location: Germany
Posts: 824
|
Original post updated with a link to the file.
__________________
VirtualDubMod [SourceForge : Tracker/DL] (FAQ, Some rules) Be sure to also download the latest DLL package or get the all inclusive package! Before you post questions, please read the VirtualDub and/or VirtualDubMod FAQ. If you have a bug report or feature request for VirtualDubMod, be sure to read the rules first. We give 100% of your donations to the Open Source community |
20th March 2003, 11:13 | #12 | Link |
Registered User
Join Date: Sep 2002
Location: Moscow, Russia
Posts: 19
|
Hi, everybody.
There is a nice VirtualDub filter - Radial Luminance Correction It can be found here: http://web.tiscali.it/minomala/virtualdub/filters.htm
__________________
Regards, lex3 |
20th March 2003, 12:40 | #13 | Link | |
·
Join Date: Jan 2002
Posts: 1,729
|
Quote:
Anyway, I edited my post. Could you enlighten me on why the new url, and why they both still co-exist, and not updated on google yet ? |
|
21st March 2003, 18:17 | #14 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
My site is contributed by Chris Mauritz. I do not administer it. One day sauron died and the site was restored to shelob. That is all I know. I will ask Chris to make a redirect. Thank you for pointing out the inconvenience this causes. Don (safely back from India after Lufthansa re-routed around the Gulf) Last edited by Guest; 21st March 2003 at 18:26. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|