Imagick::adaptiveThresholdImage
(No version information available, might be only in CVS)
Imagick::adaptiveThresholdImage — 輝度の範囲にもとづいて各ピクセルの閾値を選択する
説明
bool Imagick::adaptiveThresholdImage
( int $width
, int $height
, int $offset
)
周辺のピクセルの輝度の範囲にもとづいて、 各ピクセルの閾値を選択します。 画像全体の輝度のヒストグラムが特定の頂点を持っていない場合の閾値の設定が可能となります。
パラメータ
- width
-
周辺の幅。
- height
-
周辺の高さ。
- offset
-
平均オフセット。
返り値
成功した場合に TRUE を返します。