Imagick::getImageDistortion
(No version information available, might be only in CVS)
Imagick::getImageDistortion — Compares an image to a reconstructed image
Leírás
float Imagick::getImageDistortion
( MagickWand $reference
, int $metric
)
Warning
Ez a függvény jelenleg nincs dokumentálva, csak a paraméterek listája található itt.
Warning
Ez a függvény KÍSÉRLETI JELLEGGEL MŰKÖDIK. A függvény működése, neve, bármi amit a függévénnyel kapcsolatban dokumentáltunk megváltozhat egy későbbi PHP kiadásban minden figyelmeztetés nélkül. Ezt a függvényt csak a saját felelősségedre használd!
Compares an image to a reconstructed image and returns the specified distortion metric.
Paraméterek
- reference
-
- metric
-
Visszatérési értékek
Returns the distortion metric used on the image (or the best guess thereof). Throws an exception on error.