View Full Version : Smooth in time and space?
metallikop
8th October 2002, 17:22
Tom-
I guess that means two of us are using the filter. ;) It's too bad to hear you're dropping support for it.
I favor STM because of the huge speed boost over c3d. I've done a lot of comparisons between Vlads filter and yours, in some cases I prefer STM, and like I said earlier, the speed does help a great deal.
Do a fellow detroiter a favor and keep up production on it. ;)
Regards,
-kop
Metalazzo
8th October 2002, 18:42
I also use it ^^
it works great :D
and since i use tweak() in my avs script i have not a pb of hue or sat or anything else
conv3d is sometimes hard to find some good values for anime and STMedianFilter(8,15,5,7,8,15) works fine with the gundam dvd i use
a big thx Tom ;)
conv3d and STM are the main reducing noise filters i use now :)
vlad59
8th October 2002, 20:12
As always Tom's code is perfectly commented. So even if he has not any time to check it out (I respect his decision), another coder can try to fix it. The code is full ASM but not too long ;).
I'm also using StMedianFilter because of its wonderful result in fade in or fade out scene. I often use C3d on other scene because StMedianFilter doesn't soften enought but thanks to Trim I can have exactly the quality I want on each part of the movie (including fade in/out).
I personnaly never noticed the purple hue ! My eyes are not good enought :sly:
Just my 2 (euro) cents.
trbarry
9th October 2002, 05:52
Thanks guys for the kind comments. I just didn't want to be the author of a filter where everybody said "Well, it doesn't do much, but it's fast". ;)
To be honest, I usually don't do that much filtering since I mostly am doing HDTV clips and rarely process noisy analog captures. But it just happend that this thread appeared at a time when I needed to cap a Tai Chi instructional video tape and everybody was tossing out all the good ideas, so I wrote the darn thing on impulse just to handle that one capture.
But if folks are actually getting some use out of it then I won't drop it. It's not that big or that much code anyway, mostly just some pieces parts pilfered from TomsMoComp. I have never noticed the purple, but I'll go look for it.
Incidentally, the default parms I first recommended were too strong for most use. What I mostly use it for now is a little deringing and removing mosquito noise from mostly clean clips, using fairly small values like:
STMedianFilter(8,10,4,7,8,10) or so.
This way it doesn't soften noticeably but will pick up many of the stray dots. Use something else for heavy filtering.
And I still say Convolution3D is both much more powerful and general.
- Tom
Jeff D
15th March 2003, 10:11
What would be the best settings for removing "dust and dirt" black spots?
I've tried convolution3d with most of the presets, but each time the black spot is still there. (I'd post a image, but upload has diappeared..)
the dirt is a black spot on a single frame, so the pre and next frames are key and maybe the current frame's matrix weighting should be lowered, but I haven't been able to get anyting to work. Without seriously bluring the rest of the image.
I like the results of the movieLQ settings, the results look like they should compress way better than without the cleanup.
trbarry
15th March 2003, 14:37
"What would be the best settings for removing "dust and dirt" black spots?"
Jeff -
Your best bet might be temporal filtering though it may create some ghosting. Note the STMedianFilter parms have changed a bit, at least for Avisynth 2.5 but you might try something stronger than above, like:
STMedianFilter(15,50,25,25)
and then crank the last 2 parms back down a bit if there is too much smearing.
Be aware the temporal filtering relies on the spots being on only a single frame and won't help otherwise.
- Tom
I must admit that I feel somehow stupid, but...
Is there a way to make Convolution3D deal with YUV2 input using AviSynth 2.51?
I guess the AviSynth 2.0x version should be ok, except that it lacks the "AvisynthPluginInit2" call. So AviSynth 2.5x rejects the filter. And Convolution3dYV12 for AviSynth 2.5x lacks YUV2 support.
By the way: does anybody continue development of the filter since Vlad59 said he won't have the time any more?
bb
Defiler
22nd April 2003, 17:27
You just need to convert between colorspaces. The 2.5x plugin assumes YV12 input.
WarpEnterprises
22nd April 2003, 22:13
here you go:
C3d compiled for 2.5.
(attachement)
@WarpEnterprises:
I know I'm late - but thank you! This version is great if you just need to clean up a YUV2 capture without much further processing, and then hand it over to CCE to encode (something I've done quite often lately since I have a DVD burner).
Edit: Why not add it to your AviSynth Filter Collection?
bb
WarpEnterprises
4th May 2003, 20:46
Done.
Btw why is the attachement gone?
There was a database error. Has been fixed in the meantime, but some attachments are gone.
bb
WarpEnterprises
5th May 2003, 23:15
now I have another reason for setting up my collection :)
troy
20th June 2003, 03:43
There seems to be some issues with what is the best way to use convolution3d with interlaced sources. I know that a lot of people must be doing vcr to mpeg transfers since this is a good filter for this. So then a lot of people must be using this filter on interlaces sources. My question is about how best to use this filter on interlaced AVI DV BFF sourses.
Is it best to use this script.
LoadPlugin("d:\Convolution3D.dll")
AviSource("c:\test.avi")
SeparateFields()
convertToYUY2()
Convolution3D(preset="movieHQ")
Weave()
DoubleWeave().SelectOdd()
resampleaudio(44100) #only necessary for certain versions of CCE
or should I use this script
LoadPlugin("d:\c3d\Convolution3D.dll")
avisource("D:\test.avi")
fps50=SeparateFields()
even=selectEven(fps50).Convolution3D(preset="movieHQ")
odd=selectOdd(fps50).Convolution3D(preset="movieHQ")
interleave(even,odd).weave() #possibly swap Even and Odd
resampleaudio(44100) #only necessary for certain versions of CCE
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.