Re: imageconvolution
| From: | xfedex | Date: | Tue, 05 Jul 2005 22:40:14 +0000 |
| Subject: | Re: imageconvolution | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-218164@lists.php.net to get a copy of this message | ||
Thanks for your answer!
On 7/5/05, Richard Lynch <ceo@l-i-e.com> wrote:
>
> 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
>
>
it looks like this function is only PHP5 :(