Adds random noise to the image.
NOISE_UNIFORM = 1;
NOISE_GAUSSIAN = 2;
NOISE_MULTIPLICATIVEGAUSSIAN = 3;
NOISE_IMPULSE = 4;
NOISE_LAPLACIAN = 5;
NOISE_POISSON = 6;
NOISE_RANDOM = 7;

Touch/mouse over to see original View modified in new window.
Image
Noise type
Channel
Adds random noise to the image.
NOISE_UNIFORM = 1;
NOISE_GAUSSIAN = 2;
NOISE_MULTIPLICATIVEGAUSSIAN = 3;
NOISE_IMPULSE = 4;
NOISE_LAPLACIAN = 5;
NOISE_POISSON = 6;
NOISE_RANDOM = 7;
Parameters
noise_typeintThe type of the noise. Refer to this list of noise constants.
channelintImagick channel constant;
function addNoiseImage($noiseType, $imagePath, $channel)
{
    $imagick = new \Imagick(realpath($imagePath));
    $imagick->addNoiseImage($noiseType, $channel);
    header("Content-Type: image/jpg");
    echo $imagick->getImageBlob();
}