PYTHON Imagick::randomThresholdImage

(0)
Python replacement for PHP's Imagick::randomThresholdImage [ edit ]



Do you know a Python replacement for PHP's Imagick::randomThresholdImage ? Write it!

PHP Imagick::randomThresholdImage

PHP original manual for Imagick::randomThresholdImage [ show | php.net ]

Imagick::randomThresholdImage

(PECL imagick 2.0.0)

Imagick::randomThresholdImageCreates a high-contrast, two-color image

Description

bool Imagick::randomThresholdImage ( float $low , float $high [, int $channel= Imagick::CHANNEL_ALL ] )
Warning

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

Changes the value of individual pixels based on the intensity of each pixel compared to threshold. The result is a high-contrast, two color image.

Parameters

low

high

channel

Return Values

Returns TRUE on success.