Re: imageconvolution

From: Date: Tue, 05 Jul 2005 21:42:15 +0000
Subject: Re: imageconvolution
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-218158@lists.php.net to get a copy of this message
On Mon, July 4, 2005 11:38 pm, xfedex said: > Has anybody use this function? > http://www.php.net/manual/en/function.imageconvolution.php Somebody must have... :-) > I dont know what a matrix3x3 array is. $matrix3x3 = array( array( 1, 3, 4), array(2, 5, 7,), array(3, 1, 2)); > And so, if someone has experience on random image generation, it would be > greate to read what you got to write. This Google result will explain what the function does, more or less: http://www.codeproject.com/bitmap/ImageConvolution.asp Presumably something like this: $matrix3x3 = array( array( 1, 3, 4), array(2, 5, 7,), array(3, 1, 2)); imageconvolution($image, $matrix3x3, 0.9, 0.3); would so something... interesting... to your image. If you want random, just plug in random numbers for all the numbers above... It won't be PRETTY, most likely, but it should work. -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#218158) next »