(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锟斤拷锟较版本锟斤拷锟斤拷时锟斤拷锟矫★拷
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锟斤拷