Imagick::getImageDistortion
(No version information available, might be only in CVS)
Imagick::getImageDistortion — Compares an image to a reconstructed image
Descrizione
float Imagick::getImageDistortion
( MagickWand $reference
, int $metric
)
Avviso
Questa funzione, al momento non è documentata; è disponibile soltanto la lista degli argomenti.
Avviso
Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa funzione è a vostro rischio.
Compares an image to a reconstructed image and returns the specified distortion metric.
Elenco dei parametri
- reference
-
- metric
-
Valori restituiti
Returns the distortion metric used on the image (or the best guess thereof). Throws an exception on error.