Log in

View Full Version : filterblender & conditional


movmasty
23rd February 2002, 06:33
someone can post an exaustive help for

steve don's filterblender (http://stuwww.kub.nl/~s527912/)

& the conditional filter (http://wwwtcs.inf.tu-dresden.de/~dc1/conditional/)

omol
23rd February 2002, 15:35
Originally posted by movmasty
someone can post an exaustive help for

steve don's filterblender (http://stuwww.kub.nl/~s527912/)

& the conditional filter (http://wwwtcs.inf.tu-dresden.de/~dc1/conditional/)

Can't help with filterblender, but I do use conditional filter. Here below is what I always use for encoding Live Concert materials. It helps minimize those nasty motion ghost.

"luma filter.vcf" begins:
-----------------------

VirtualDub.video.filters.Add("conditional");
VirtualDub.video.filters.instance[0].Config("2d cleaner optimized (0.9)",6);
VirtualDub.video.filters.instance[0].Condition("luma <= 27 and luma > 25",0, 1, 2, 2);
VirtualDub.video.filters.instance[0].Condition("luma <= 25 and luma > 20",0, 2, 2, 2);
VirtualDub.video.filters.instance[0].Condition("luma <= 20 and luma > 15",0, 4, 2, 2);
VirtualDub.video.filters.instance[0].Condition("luma <= 15 and luma > 10",0, 6, 2, 2);
VirtualDub.video.filters.instance[0].Condition("luma <= 10 and luma > 5",0, 8, 2, 2);
VirtualDub.video.filters.instance[0].Condition("luma <= 5 and luma > 0",0, 10, 2, 2);
VirtualDub.video.filters.Add("conditional");
VirtualDub.video.filters.instance[1].Config("temporal cleaner",1);
VirtualDub.video.filters.instance[1].Condition("luma >= 30 and brightness >= 50",6, 4, 6, 4, 30, 1, 0);

--------------->8 snip 8<-----------------

With conditional filter, you can evaluate the properties of the pixmap in the filter chain. Those are all listed on the URL you listed here. The example I have listed here is to evaluate the luma value of the pixmap in the filter chain, if it falls under certain range, then apply 2d cleaner to the pixmap with certain value. And if the luma value is more than 30 and brightness is more than 50, then go ahead with Temporal Cleaner since motion noise would not be that obvious with such high value. Try to load this into VDub to digest it...:) Hope this help.

regards,
omol

movmasty
24th February 2002, 22:13
yes, many thanks. :D