Si
17th October 2004, 17:46
Looks like tsp beat me to it but here (http://www.geocities.com/siwalters_uk/variablemedian.zip) (right-click and save-as) is a simple median filter.
syntax
VariableMedian(2)
will do a blur with a radius of 2.
It works in RGB32 colourspace and for each source pixel and for each colour within the pixel it checks the neighbouring values and picks the median value for each colour as the output pixel.
it'll work on radii from 1 to 10 although how many days/frame it would be at radius 10 will have to tested by someone with more time on their hands than me :)
Hope it works.
Any comments/suggestions welcome.
regards
Simon
syntax
VariableMedian(2)
will do a blur with a radius of 2.
It works in RGB32 colourspace and for each source pixel and for each colour within the pixel it checks the neighbouring values and picks the median value for each colour as the output pixel.
it'll work on radii from 1 to 10 although how many days/frame it would be at radius 10 will have to tested by someone with more time on their hands than me :)
Hope it works.
Any comments/suggestions welcome.
regards
Simon