(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 Questo metodo è disponibile se Imagick è stato compilato con ImageMagick versione 6.4.4 o successive.

Elenco dei parametri


Imagick object containing the reference image


Refer to this list of metric type constants.


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

Valori restituiti

Returns a double describing the channel distortion.


Lancia una ImagickException in caso di errore.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top