You are here: Re: [PHP] imageconvolution « PHP « IT news, forums, messages
Re: [PHP] imageconvolution

Posted by "Richard Lynch" on 07/06/05 00:42

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация