The Imagick class
PHP Manual

Imagick::getImageDistortion

(PECL imagick 2.0.0)

Imagick::getImageDistortionمقایسه تصویر با تصویر بازسازی‌شده

Description

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

This function is currently not documented; only its argument list is available.

مقایسه تصویر با تصویر بازسازی‌شده و بازگرداندن مقیاس خرابی تصویر.

Parameters

reference

شی Imagick برای مقایسه.

metric

یکی از ثابت‌های نوع مقیاس.

Return Values

بازگرداندن مقیاس خرابی استفاده شده در تصویر (یا بهترین حدس). Throw an ImagickException on error.

Errors/Exceptions

Throws ImagickException on error.


The Imagick class
PHP Manual