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
Den här funktionen är ännu inte dokumenterad utan endast argumentlistan till funktioner finns tillgänglig.
Warning
Den här funktionen är EXPERIMENTELL. Dess beteende, namnet på den, och allt annat dokumenterat om den här funktionen kan ändras i framtida utgåvar av PHP. Använd den på egen risk.
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.