downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Imagick::getImageChannelExtrema> <Imagick::getImageChannelDistortion
Last updated: Fri, 13 Nov 2009

view this page in

Imagick::getImageChannelDistortions

()

Imagick::getImageChannelDistortionsGets channel distortions

説明

double Imagick::getImageChannelDistortions ( Imagick $reference , int $metric , int $channel )

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 をスローします。



add a note add a note User Contributed Notes
Imagick::getImageChannelDistortions
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites