|
| execute ($image, $amount, $type) |
|
| filter ($image, $function, $value) |
|
| colorNoise_fun (&$r, &$g, &$b, $amount) |
|
| monoNoise_fun (&$r, &$g, &$b, $amount) |
|
| saltPepperNoise_fun (&$r, &$g, &$b, $amount) |
|
| byte ($b) |
|
◆ byte()
Returns value within (0,255)
- Paramètres
-
- Renvoie
- int
◆ colorNoise_fun()
colorNoise_fun |
( |
& |
$r, |
|
|
& |
$g, |
|
|
& |
$b, |
|
|
|
$amount |
|
) |
| |
Adds color noise by altering given R,G,B values using specififed amount
- Paramètres
-
int | $r | |
int | $g | |
int | $b | |
int | $value |
|
- Renvoie
- void
◆ execute()
execute |
( |
|
$image, |
|
|
|
$amount, |
|
|
|
$type |
|
) |
| |
Returns image with noise added
- Paramètres
-
\WideImage\Image | $image | |
float | $amount | |
const | $type | |
float | $threshold | |
- Renvoie
- \WideImage\Image
◆ filter()
filter |
( |
|
$image, |
|
|
|
$function, |
|
|
|
$value |
|
) |
| |
Returns image with every pixel changed by specififed function
- Paramètres
-
\WideImage\Image | $image | |
str | $function | |
int | $value | |
- Renvoie
- \WideImage\Image
◆ monoNoise_fun()
monoNoise_fun |
( |
& |
$r, |
|
|
& |
$g, |
|
|
& |
$b, |
|
|
|
$amount |
|
) |
| |
Adds mono noise by altering given R,G,B values using specififed amount
- Paramètres
-
int | $r | |
int | $g | |
int | $b | |
int | $value |
|
- Renvoie
- void
◆ saltPepperNoise_fun()
saltPepperNoise_fun |
( |
& |
$r, |
|
|
& |
$g, |
|
|
& |
$b, |
|
|
|
$amount |
|
) |
| |
Adds salt&pepper noise by altering given R,G,B values using specififed amount
- Paramètres
-
int | $r | |
int | $g | |
int | $b | |
int | $value |
|
- Renvoie
- void
La documentation de cette classe a été générée à partir du fichier suivant :
- XoopsCore25-2.5.11-Beta1/htdocs/class/libraries/vendor/smottt/wideimage/lib/WideImage/Operation/AddNoise.php