Forum und email

Imagick::getImageDistortion

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

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

Descripción

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

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Warning

Esta función es EXPERIMENTAL. Esto significa que el comportamiento de esta función, el nombre de esta función y en definitiva TODO lo documentado sobre esta función, puede cambiar en una futura version de PHP SIN AVISO. La advertencia queda hecha, y utilizar esta extensión queda bajo su propia responsabilidad.

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

Lista de parámetros

reference

metric

Valores retornados

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