Forum und email

Imagick::getImageDistortion

(No version information available, might be only in CVS)

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

Popis

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

Táto funkcia nie je momentálne zdokumentovaná; je dostupný len zoznam argumentov.

Warning

Táto funkcia je EXPERIMENTÁLNA. Správanie tejto funkcie, názov tejto funkcie a hocičo iné zdokumentované o tejto funkcii sa môže zmeniť bez povšimnutia v budúcom vydaní PHP. Používajte túto funkcii na svoje vlastné riziko.

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

Parametre

reference

metric

Vrátené hodnoty

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