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