Gmagick::medianfilterimage

(PECL gmagick >= Unknown)

Gmagick::medianfilterimageApplies a digital filter

Description

public Gmagick::medianfilterimage ( float $radius ) : void

Applies a digital filter that improves the quality of a noisy image. Each pixel is replaced by the median in a set of neighboring pixels as defined by radius.

Parameters

radius

The radius of the pixel neighborhood.

Return Values

Gmagick object with median filter applied.

Errors/Exceptions

Throws an GmagickException on error.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.medianfilterimage.php