kopmjj
24th April 2010, 06:44
Hi i want to duplicate video layer add Gaussian blur and median blur and apply blend mode color, is that possible? if it is it will be a life savior so i can do all my editing in avisynth rather than using photoshop, if so what will be an example thanks.
WorBry
25th April 2010, 00:19
Try tsp's VariableBlur and MedianBlur filters:
http://avisynth.org/tsp/
VariableBlur includes Gaussian, Binomial and Average (Mean) Blur filters. Personally, for a Gauss blur I prefer to use the BinomialBlur filter; variance (blur radius) > 1 is stated to be close to a true Gauss blur.
No need to blend/merge anything. With both filters it is possible to select the plane (Y, U or V) that the blur is applied to. As per the filter documentation:
"Y,U,V: Controls which planes the filter is applied to. If set to 3 the plane will be filtered, if 2 the plane will be copied from the source, if 1 the plane will be ignored and from 0 to -255 the plane will be assigned the absolute value. Default Y=3, U=2, V=2"
So, Y=2 ,U=3, V=3 will blur the chroma planes and copy (retain) the luma from your source clip.
Hope that helps you.
BTW: Note, also "The gaussian filter uses fftw version 3(http://www.fftw.org) available from ftp://ftp.fftw.org/pub/fftw/fftw3win32mingw.zip and wouldn't run without it. If you have fft3ffilter or defreq installed you already have it".
Edit: Of course, you`d need to convert to YV12 color space if your loaded image source is, as I assume, RGB. Hey, what happened to Stephen R Savage's first reply? There one minute, gone the next.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.