(No version information available, might only be in Git)
Imagick::getImageChannelDistortions — Gets channel distortions
$reference
, int $metric
[, int $channel = Imagick::CHANNEL_DEFAULT
] ) : floatCompares one or more image channels of an image to a reconstructed image and returns the specified distortion metrics �˷�����Imagick����ImageMagick 6.4.4���ϰ汾����ʱ���á�
referenceImagick object containing the reference image
metricRefer 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��