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. |
|
|
Thread Tools | Search this Thread | Display Modes |
24th October 2005, 10:43 | #21 | Link |
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
|
that was my point... median filters by their nature can't really take weights (or else they cease being medians...)
__________________
sucking the life out of your videos since 2004 |
24th October 2005, 11:08 | #23 | Link |
Registered User
Join Date: Nov 2004
Location: Spain
Posts: 408
|
Hi,
For three clips there are the clense alternative (even with worse performance). I think that to use variable number of clips is a must for a proyect. In my case, I use two, trhee or four captures of the same VHS, plus motion compensated generated clips. The median value is the reference to choose the best candidate pixels. The weight isn't essential. Indeed is not applicable before the median is calculate but may be usable por selective modification of the output. At the moment I don't know a useful application for it but maybe exists. |
24th October 2005, 13:19 | #25 | Link |
Registered User
Join Date: Nov 2004
Location: Spain
Posts: 408
|
@Mug Funky
Yes, often I capture from a camcorder with TBC. If I capture without TBC (from my cheapo VCR) I must visually align all the clips. I use virtualdub's plugin FrameTweaker in my avisynth scripts to scroll the frame 1 line up or down for the frames misaligned. Fortunately my VCR don't misaling too much frames. |
24th October 2005, 16:53 | #26 | Link | |
Registered User
Join Date: Jan 2005
Posts: 48
|
Quote:
|
|
1st November 2005, 21:52 | #29 | Link |
Registered User
Join Date: Nov 2004
Location: Spain
Posts: 408
|
@mg262
Averaging the two middle points, I think is the best response. We can see the even case like an odd case with the central value unknown. Probablity theory tell us that on unknown cases (with no previous knowledge of real probabilities), the average is a good choice. Thanks. |
19th May 2006, 13:27 | #30 | Link |
Registered User
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
|
Hi
I have a question. Would it be possible to remake this Average function to some WeightedAverage fucnction? Like WeightedAverage(clip, weightclip, weight, clip, weightclip, weight, clip, weightclip, weight, ... ) so the function will be something like Average(mt_lutxy(clip,weightclip,"x y * 255 /"), weight, mt_lutxy(clip,weightclip,"x y * 255 /"), weight,mt_lutxy(clip,weightclip,"x y * 255 /"), weight, ... ), only faster and much PRECISER. I don't know how difficult it would be to change the existing Average code and whether somebody else finds it useful but I would appreciate it. Please refer to this thread. BTW:Now I am weighting clips with MaskTools followed by Average and I am facing big rounding errors problems with increasing number of clips. |
22nd May 2006, 21:25 | #31 | Link |
Registered User
Join Date: Jan 2005
Location: Praha (not that one in Texas)
Posts: 863
|
Hi,
I have almost working solution: Code:
cFloat1=mt_lutxy(cMovie1,cWeight1,"x y * 255 %",y=3,u=3,v=3) cInt1=mt_lutxy(cMovie1,cWeight1,"x y * x y * 255 % - 255 /",y=3,u=3,v=3) cFloat2=mt_lutxy(cMovie2,cWeight2,"x y * 255 %",y=3,u=3,v=3) cInt2=mt_lutxy(cMovie2,cWeight2,"x y * x y * 255 % - 255 /",y=3,u=3,v=3) . . . Average(cInt1, weight1, cFloat1, weight1/255, cInt2, weight2, cFloat2, weight2/255,...) Is that Avisynth's fault or Average's fault or I'm missing something? |
2nd January 2007, 11:54 | #33 | Link |
Registered User
Join Date: Oct 2003
Location: Germany
Posts: 377
|
All available Plugins are here: http://forum.doom9.org/showthread.php?t=118430
but i could not find this plugin so i uploaded the plugin here: http://rapidshare.com/files/9865411/...Oct05.dll.html |
15th April 2007, 06:53 | #36 | Link |
Derek Prestegard IRL
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
|
I'm also looking for Average.dll, the "mg262's plugins with source" doesn't have it...
Does anyone know where it is? ~Misfit
__________________
These are all my personal statements, not those of my employer :) |
15th April 2007, 08:47 | #37 | Link | |
ffdshow/AviSynth wrangler
Join Date: Feb 2003
Location: Austria
Posts: 2,441
|
Quote:
(Yeah, automatic abbreviation through the forum hasn't quite helped that link... ) np: Star You Star Me - Sweet Things (Simple Things)
__________________
now playing: [artist] - [track] ([album]) |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|