Home > PHP > Function > > Imagick::adaptiveSharpenImage()

Imagick::adaptiveSharpenImage()

Imagick::adaptiveSharpenImage - Adaptively sharpen the image

Syntax

bool Imagick::adaptiveSharpenImage (float $radius, float $sigma, int $channel)

Arguments

  • radius - The radius of the Gaussian, in pixels, not counting the center pixel. Use 0 for auto-select.
  • sigma - The standard deviation of the Gaussian, in pixels.
  • channel - Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constantsusing bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants

Description

Adaptively sharpen the image by sharpening more intensely near image edges and less intensely far from edges. This method is available if Imagick has been compiled against ImageMagick version 6.2.9 or newer.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.