Re: imageconvolution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux