actionman133
14th June 2006, 18:00
Hi,
Those who have been surfing here a little while ago may remember a few script filters I posted (BleachBypass, Glow and Bloom). They all used the ported BoxBlur (v1.4) plugin for VirtualDub. After noticing some mild 'defects' in some new tests with my scripts, I decided to inspect BoxBlur...
As it turns out, the BoxBlur port can't seems to scale white from 255 to 249.
LoadVirtualDubPlugin ("F:\Core\AVISynth Plugins\BoxBlur.vdf", "BoxBlur")
A = BlankClip ()
StackVertical (a, a.invert ()) # original
BoxBlur (48, 3, 1000) # boxblurred
With this script, anyone should be able to reproduce the problem and confirm it in any paint program with an eyedropper.
As a side-topic to this, I was wondering if someone with some spare time would be able to port (a bug-fixed ;) ) version of this filter for AVISynth. I ask this due to my complete incompetence outside a scripting environment.
At the moment, I reluctantly tolerate having to convert to RGB32, trying to avoid loss on the colorspace conversions (all my sources are YV12). To be able to do the boxblur in YUV would simplify the scripts and speed up the filter to the point where real-time preview with my filters might be possible.
If anyone is willing to donate their time, it'd be much appreciated!
Those who have been surfing here a little while ago may remember a few script filters I posted (BleachBypass, Glow and Bloom). They all used the ported BoxBlur (v1.4) plugin for VirtualDub. After noticing some mild 'defects' in some new tests with my scripts, I decided to inspect BoxBlur...
As it turns out, the BoxBlur port can't seems to scale white from 255 to 249.
LoadVirtualDubPlugin ("F:\Core\AVISynth Plugins\BoxBlur.vdf", "BoxBlur")
A = BlankClip ()
StackVertical (a, a.invert ()) # original
BoxBlur (48, 3, 1000) # boxblurred
With this script, anyone should be able to reproduce the problem and confirm it in any paint program with an eyedropper.
As a side-topic to this, I was wondering if someone with some spare time would be able to port (a bug-fixed ;) ) version of this filter for AVISynth. I ask this due to my complete incompetence outside a scripting environment.
At the moment, I reluctantly tolerate having to convert to RGB32, trying to avoid loss on the colorspace conversions (all my sources are YV12). To be able to do the boxblur in YUV would simplify the scripts and speed up the filter to the point where real-time preview with my filters might be possible.
If anyone is willing to donate their time, it'd be much appreciated!