Imagick::getImageChannelDistortions

(No version information available, might only be in Git)

Imagick::getImageChannelDistortionsGets channel distortions

˵��

Imagick::getImageChannelDistortions ( Imagick $reference , int $metric [, int $channel = Imagick::CHANNEL_DEFAULT ] ) : float

Compares one or more image channels of an image to a reconstructed image and returns the specified distortion metrics �˷�����Imagick����ImageMagick 6.4.4���ϰ汾����ʱ���á�

����

reference

Imagick object containing the reference image

metric

Refer to this list of metric type constants.

channel

Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. ȱʡΪImagick::CHANNEL_DEFAULT. �ο��� ͨ�������б�

����ֵ

Returns a double describing the channel distortion.

�����쳣

����ʱ�׳� ImagickException��