Forum und email

Imagick::getImageDistortion

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

Imagick::getImageDistortion — Compares an image to a reconstructed image

Description

float Imagick::getImageDistortion ( MagickWand $reference , int $metric )
Warning

Tämä on toistaiseksi dokumentoimaton funktio; ainoastaan parametrilistaus on saatavilla.

Warning

Varoitus! Tämä funktio on EKSPERIMENTAALINEN. Tämän funktion ominaisuudet, käyttäytyminen, parametrit ja nimi voivat muuttua varoituksetta seuraavissa PHP versioissa.

Compares an image to a reconstructed image and returns the specified distortion metric.

Parameters

reference

metric

Return values

Returns the distortion metric used on the image (or the best guess thereof). Throws an exception on error.