(No version information available, might only be in Git)
Imagick::getImageChannelDistortions — Gets channel distortions
$reference
, int $metric
[, int $channel
= Imagick::CHANNEL_DEFAULT
] )Compares one or more image channels of an image to a reconstructed image and returns the specified distortion metrics Questo metodo è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 o successive.
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. Per default è Imagick::CHANNEL_DEFAULT
. Fare riferimento a questa lista di costanti di canale
Returns a double describing the channel distortion.
Lancia una ImagickException in caso di errore.