Imagick::getImageDistortion

(no version information, might be only in CVS)

Imagick::getImageDistortion -- Compares an image to a reconstructed image

Description

float Imagick::getImageDistortion ( MagickWand reference, int metric )

Waarschuwing

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

Waarschuwing

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

Compares an image to a reconstructed image and returns the specified distortion metric.

Parameters

reference

Its description

metric

Its description

Return Values

Returns the distortion metric used on the image (or the best guess thereof). Throws an exception on error.