PHP 8.3.4 Released!

Imagick::getImageChannelMean

(PECL imagick 2, PECL imagick 3)

Imagick::getImageChannelMean平均値と標準偏差を取得する

説明

public Imagick::getImageChannelMean(int $channel): array

ひとつあるいは複数の画像チャネルの平均値および標準偏差を取得します。

パラメータ

channel

チャネルモードに対応したチャネル定数を指定します。 複数のチャネルに適用するには、 ビット演算子でチャネル型定数を組み合わせます。 チャネル定数 の一覧を参照ください。

戻り値

"mean" および "standardDeviation" というキーを含む配列を返します。

エラー / 例外

エラー時に ImagickException をスローします。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top