Touch/mouse over to see original View modified in new window.
Radius
Sigma
Image
Channel
function adaptiveBlurImage($imagePath, $radius, $sigma, $channel)
{
    $imagick = new \Imagick(realpath($imagePath));
    $imagick->adaptiveBlurImage($radius, $sigma, $channel);
    header("Content-Type: image/jpg");
    echo $imagick->getImageBlob();
}