Imagick::getImageDistortion
(No version information available, might be only in CVS)
Imagick::getImageDistortion — Compares an image to a reconstructed image
설명
float Imagick::getImageDistortion
( MagickWand $reference
, int $metric
)
Warning
This function is currently not documented; only the argument list is available.
Warning
This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.
Compares an image to a reconstructed image and returns the specified distortion metric.
매개변수
- reference
-
- metric
-
반환값
Returns the distortion metric used on the image (or the best guess thereof). Throws an exception on error.