motionblurImage($motionblur_radius, $motionblur_sigma, $motionblur_angle ); } $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[motionblur_radius] = $motionblur_radius; $_SESSION[motionblur_sigma] = $motionblur_sigma; $_SESSION[motionblur_angle] = $motionblur_angle; header("Location: display.php"); exit; } ######### end blur include("top.php"); ?>

"> Radius: "> Sigma: "> Angle ">
Description
Simulates motion blur. Convolve the image with a Gaussian operator of the given radius and standard deviation (sigma). For reasonable results, radius should be larger than sigma. Use a radius of 0 and MotionBlurImage() selects a suitable radius for you.
Radius
The radius of the Gaussian, in pixels, not counting the center pixel.
Sigma
The standard deviation of the Gaussian, in pixels.
Angle
Direction of effect.