The Imagick class
PHP Manual

Imagick::thresholdImage

(PECL imagick 2.0.0)

Imagick::thresholdImageتغییر مقدار تک پیکسل بر مبنای آستانه

Description

bool Imagick::thresholdImage ( float $threshold [, int $channel = Imagick::CHANNEL_ALL ] )
Warning

This function is currently not documented; only its argument list is available.

تغییر مقدار تک پیکسل بر مبنای شدت هر پیکسل در مقایسه با آستانه. نتیجه تصویر دو رنگ با دقت بالاست.

Parameters

threshold

channel

Return Values

Returns TRUE on success.


The Imagick class
PHP Manual