Imagick クラス
PHP Manual

Imagick::segmentImage

(バージョン情報なし。おそらく SVN 版にしか存在しないでしょう)

Imagick::segmentImageSegments an image

説明

public void Imagick::segmentImage ( int $COLORSPACE , float $cluster_threshold , float $smooth_threshold [, boolean $verbose ] )

Analyses the image and identifies units that are similar. このメソッドは、ImageMagick バージョン 6.4.5 以降で Imagick をコンパイルした場合に使用可能です。

パラメータ

COLORSPACE

One of the COLORSPACE constants.

cluster_threshold

A percentage describing minimum number of pixels contained in hexedra before it is considered valid.

smooth_threshold

Eliminates noise from the histogram.

verbose

Whether to output detailed information about recognised classes.

返り値


Imagick クラス
PHP Manual