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

תיעוד לפונקציה זו אינו קיים. רק רשימת הארגומנטים זמינה ברגע זה.

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.