PHP | Imagick adaptiveThresholdImage() Function Last Updated : 26 Aug, 2019 Comments Improve Suggest changes Like Article Like Report The Imagick::adaptiveThresholdImage() function is an inbuilt function in PHP which is used to select a threshold for each pixel based on intensity values in its local neighborhood. This function allows to thresholding of an image whose global intensity histogram doesn't contain distinctive peaks. Syntax: bool Imagick::adaptiveThresholdImage ( $width, $height, $offset ) Parameters: This function accepts three parameters as mentioned above and described below: $width: This parameter is used to set the width of local neighborhood. $height: This parameter is used to set the height of local neighborhood. $offset: This parameter is used to set mean offset. Return Value: This function returns TRUE on success. Below program illustrate the Imagick::adaptiveThresholdImage() function in PHP: Original Image: Program: php <?php // require_once('path/to/vendor/autoload.php'); header('Content-type: image/png'); $image = new Imagick( 'https://media.geeksforgeeks.org/wp-content/uploads/geeksforgeeks-9.png'); $image->adaptiveThresholdImage(1024, 73, 0.625); echo $image; ?> Output: Reference: http://php.net/manual/en/imagick.adaptivethresholdimage.php Comment More infoAdvertise with us Next Article PHP | Imagick adaptiveThresholdImage() Function S sarthak_ishu11 Follow Improve Article Tags : Misc Web Technologies PHP PHP-function PHP-Imagick +1 More Practice Tags : Misc Similar Reads PHP | Imagick adaptiveResizeImage() Function The Imagick::adaptiveResizeImage() function is an inbuilt function in PHP which provides an adaptively resize image feature to the image. The intensity of an adaptive resize image depends on dramatically decreased at the edge of the image. This function is used to resize the image according to web s 1 min read PHP | Imagick adaptiveSharpenImage() Function The Imagick::adaptiveSharpenImage() function is an inbuilt function in PHP which provides an adaptive sharpen image feature to the image. The intensity of an adaptive sharpen image depends on dramatically decreased at the edge of the image. Syntax: bool Imagick::adaptiveSharpenImage ( $radius, $sigm 1 min read PHP | Imagick adaptiveBlurImage() Function The Imagick::adaptiveBlurImage() function is an inbuilt function in PHP which is used to add adaptive blur filter in the given image. The intensity of an adaptive blur depends is dramatically decreased at the edge of the image, whereas a standard blur is a uniform across the image. This effect makes 2 min read PHP | Imagick addImage() Function The Imagick::addImage() function is an inbuilt function in PHP which is used to adds new image to Imagick object image list. After the operation iterator position is moved at the end of the list. This function adds new image to Imagick object from the current position of the source object. The Imagi 1 min read PHP | Imagick averageImages() Function The Imagick::averageImages() function is an inbuilt function in PHP which is used to create an average of two or more images after image processing. It is well defined in PECL imagick 2.0.0 version. This function has been depreciated in further versions of Imagick hence it is replaced by Imagick::me 2 min read Like