PHP 5.4.36 Released

Imagick::getImageChannelDistortions

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

Imagick::getImageChannelDistortionsGets channel distortions

Descrizione

float Imagick::getImageChannelDistortions ( Imagick $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.

Elenco dei parametri

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

Valori restituiti

Returns a double describing the channel distortion.

Errori/Eccezioni

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