PHP | Imagick medianFilterImage() Function Last Updated : 27 Aug, 2019 Comments Improve Suggest changes Like Article Like Report The Imagick::medianFilterImage() function is an inbuilt function in PHP which applies a digital filter that improves the quality of a noisy image. Syntax: bool Imagick::medianFilterImage( float $radius ) Parameters: The function accepts a single parameter $radius which holds the radius of the pixel neighborhood. Return Value: This function returns TRUE on success. Errors/Exceptions: This function throws an ImagickException on error. Below program illustrates the Imagick::medianFilterImage() function in PHP: Program: php <?php // Create a new imagick object $imagick = new Imagick( 'https://media.geeksforgeeks.org/wp-content/uploads/20190823154611/geeksforgeeks24.png'); // Applying the digital filter to the image $imagick->medianFilterImage(10); header("Content-Type: image/jpg"); // Display the output image echo $imagick->getImageBlob(); ?> Output: Reference: https://www.php.net/manual/en/imagick.medianfilterimage.php Comment More infoAdvertise with us Next Article PHP | Imagick medianFilterImage() Function gurrrung Follow Improve Article Tags : Web Technologies PHP PHP-function PHP-Imagick Similar Reads PHP | Gmagick medianfilterimage() Function The Gmagick::medianfilterimage() function is an inbuilt function in PHP which is used to apply a digital filter that improves the quality of a noisy image. This filter replaces each pixel by the median of its neighboring pixels which is defined by the radius. Syntax: void Gmagick::medianfilterimage( 2 min read PHP | Imagick minifyImage() Function The Imagick::minifyImage() function is an inbuilt function in PHP which is used to scale an image proportionally to half of its size. This function resizes the image into one-half of its original size. Syntax:  bool Imagick::minifyImage( void ) Parameters: This function does not accepts any paramet 1 min read PHP | Imagick magnifyImage() Function The Imagick::magnifyImage() function is an inbuilt function in PHP which is used to scale an image proportionally to 2x. This function scales an image into twice of its original size. Syntax: bool Imagick::magnifyImage( void ) Parameters: This function does not accept any parameter. Return Value: Th 1 min read PHP | Imagick mapImage() Function The Imagick::mapImage() function is an inbuilt function in PHP which is used to replace the colors of an image with the closest color from a reference image. Syntax: bool Imagick::mapImage( Imagick $map, float $dither ) Parameters: This function accepts two parameters as mentioned above and describe 1 min read PHP | Imagick newImage() Function The Imagick::newImage() function is an inbuilt function in PHP which is used to creates a new image. This function creates a new image and associates ImagickPixel value as the background color. Syntax: bool Imagick::newImage( $cols, $rows, $background, $format ) Parameters: This function accepts fo 1 min read PHP | Imagick mosaicImages() Function The Imagick::mosaicImages() function is an inbuilt function in PHP which is used to form a mosaic from images. This function uses an image sequence to form a single coherent picture. Syntax: Imagick Imagick::mosaicImages( void ) Parameters: This function does not accepts any parameters. Return Value 1 min read PHP | Imagick normalizeImage() Function The Imagick::normalizeImage() function is an inbuilt function in PHP which is used to enhances the contrast of a color image by adjusting the color of the pixel to span the entire range of colors available. Syntax: bool Imagick::normalizeImage( $channel ) Parameters: This function accepts a single p 1 min read PHP | Imagick nextImage() Function The Imagick::nextImage() function is an inbuilt function in PHP which is used to move to the next image within the Imagick instance. An Imagick instance may consist of a list of images within it and Imagick nextImage() associates the next image in the image list with an Imagick instance.Syntax:bool 1 min read PHP | Imagick matteFloodfillImage() Function The Imagick::matteFloodfillImage() function is an inbuilt function in PHP which is used to change the transparency value of a color. This function changes the transparency value of any pixel that matches the target and is an immediate neighbor. Syntax: bool Imagick::matteFloodfillImage(float $alpha 1 min read PHP | Imagick orderedPosterizeImage() Function The Imagick::orderedPosterizeImage() function is an inbuilt function in PHP which is used to performs an ordered dither based on a number of pre-defined dithering threshold maps, but over multiple intensity levels, which can be different for different channels, according to the input arguments. Syn 1 min read Like