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

Deze functie is op het moment niet gedocumenteerd, alleen de lijst met argumenten is beschikbaar.

Warning

Deze functie is EXPERIMENTEEL. Dat betekent, dat het gedrag van deze functie, deze functienaam, in concreto ALLES dat hier gedocumenteerd is in een toekomstige uitgave van PHP ZONDER WAARSCHUWING kan veranderen. Wees gewaarschuwd, en gebruik deze functie op eigen risico.

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.