Forum und email

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

Αυτή η συνάρτηση επί του παρόντος δεν είναι τεκμηριωμένη, μόνο ο κατάλογος των argument της είναι διαθέσιμος.

Warning

Αυτή η συνάρτηση είναι ΔΟΚΙΜΑΣΤΙΚΗ. Η συμπεριφορά της, το όνομα της και οτιδήποτε άλλο είναι τεκμηριωμένο σχετικά με αυτή την συνάρτηση μπορεί να αλλάξει χωρίς ειδοποίηση σε μελλοντικές εκδόσεις της PHP. Χρησιμοποιήστε αυτή την συνάρτηση με δικό σας ρίσκο.

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.