Imagick::getImageDistortion

(PECL imagick 2.0.0)

Imagick::getImageDistortionCompares an image to a reconstructed image

说锟斤拷

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

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

锟斤拷锟斤拷

reference

Imagick object to compare to.

metric

One of the metric type constants.

锟斤拷锟斤拷值

Returns the distortion metric used on the image (or the best guess thereof).

锟斤拷锟斤拷锟届常

锟斤拷锟斤拷时锟阶筹拷 ImagickException锟斤拷