You are here

function filtersie_sharpenUSM in FiltersIE 7

Sharpen an image usin USM technique.

Parameters

$image: An image object returned by image_load().

$amount, $radius, $threshold, and $sigma: @see http://en.wikipedia.org/wiki/Unsharp_masking#Digital_unsharp_masking

Return value

TRUE or FALSE, based on success.

See also

image_load()

image_gd_filtersie_sharpen()

1 call to filtersie_sharpenUSM()
filtersie_sharpenUSM_effect in ./filtersie.module
Image effect callback; Sharpen an image resource using USM.

File

./filtersie.module, line 206
Filters Image Effect (filtersie)

Code

function filtersie_sharpenUSM($image, $amount, $radius, $threshold, $sigma) {
  return image_toolkit_invoke('filtersie_UnsharpMask', $image, array(
    $amount,
    $radius,
    $threshold,
    $sigma,
  ));
}