Re: pure python gaussian blur

2007-08-25 Thread Gerdus van Zyl
Ok, now answering my own question :-) Gaussian blurs can be optimized by seperating the equation and applying in two passes. I also implemented a version using State Vector Machines from www- personal.engin.umd.umich.edu/~jwvm/ece581/21_GBlur.pdf but it does not produce correct results. Most probab

Re: pure python gaussian blur

2007-08-14 Thread Patrick Doyle
On 8/14/07, Gerdus van Zyl <[EMAIL PROTECTED]> wrote: > Does anyone have a relatively fast gaussian blur implemented in pure > python? Below is my attempt but it takes 2.9 seconds for a 320x240 > image. Image comes from byte string: self.array = > array.array('B',srcstring). Would some sort of matr

pure python gaussian blur

2007-08-14 Thread Gerdus van Zyl
Does anyone have a relatively fast gaussian blur implemented in pure python? Below is my attempt but it takes 2.9 seconds for a 320x240 image. Image comes from byte string: self.array = array.array('B',srcstring). Would some sort of matrix multiplication be faster? I don't have experience in that.