Imagick::getImageChannelDistortions
()
Imagick::getImageChannelDistortions — Gets channel distortions
説明
Compares one or more image channels of an image to a reconstructed image and returns the specified distortion metrics このメソッドは、ImageMagick バージョン 6.4.4 以降で Imagick をコンパイルした場合に使用可能です。
パラメータ
- reference
-
Imagick object containing the reference image
- metric
-
Refer to this list of metric type constants.
- channel
-
そのモードで有効なチャネル定数を指定します。 複数のチャネルを適用するには、チャネル定数 をビット演算子で組み合わせます。デフォルトは Imagick::CHANNEL_DEFAULT です。 チャネル定数 の一覧を参照ください。
返り値
Returns a double describing the channel distrortion.
エラー / 例外
エラー時に ImagickException をスローします。
Imagick::getImageChannelDistortions
There are no user contributed notes for this page.
