PHP Manual: Imagick::adaptiveThresholdImage
Imagick::adaptiveThresholdImage
(no version information, might be only in CVS)
Imagick::adaptiveThresholdImage -- Selects a threshold for each pixel based on a range of intensityDescription
bool Imagick::adaptiveThresholdImage ( int width, int height, int offset )Selects an individual threshold for each pixel based on the range of intensity values in its local neighborhood. This allows for thresholding of an image whose global intensity histogram doesn't contain distinctive peaks.
Parameters
widthWidth of the local neighborhood.
heightHeight of the local neighborhood.
offsetThe mean offset