JavaScript Editor Javascript debugger     Website design 

Imagick::getImageChannelDistortion

Compares image channels of an image to a reconstructed image ()
float Imagick::getImageChannelDistortion ( Imagick reference, int channel, int metric )

Warning:

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

Warning:

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Compares one or more image channels of an image to a reconstructed image and returns the specified distortion metric.

Parameters

reference
channel
metric

Return Values

Returns TRUE on success.