Sigma has numbers only"; exit; } if ( $_SESSION[error] ) { header("location:$self"); } ############# $image = new Imagick($_SESSION[path]); foreach ($image as $frame) { $frame->adaptiveBlurImage($adaptiveBlur_radius, $adaptiveBlur_sigma ); } $format = strtolower( $image->getimageformat() ); $path = "temp/$ID.$_SESSION[views].$format"; $frames = $image->getNumberImages(); if ( $frames > 1) { $image->writeImages("$path", TRUE); } else { $image->writeImage("$path"); } # save settings $_SESSION[path] = $path; $_SESSION[adaptiveBlur_radius] = $adaptiveBlur_radius; $_SESSION[adaptiveBlur_sigma] = $adaptiveBlur_sigma; header("Location: display.php"); exit; } ######### end adaptiveBlur include("top.php"); ?>
"> Radius: "> Sigma: ">

Adds an adaptive blur filter to image. The intensity of an adaptive blur depends is dramatically decreased at edge of the image, whereas a standard blur is uniform across the image.

radius
The radius of the Gaussian, in pixels, not counting the center pixel. Provide a value of 0 and the radius will be chosen automatically.
sigma
The standard deviation of the Gaussian, in pixels.
channel
Provide a channel constant that is valid for your channel mode.