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