JavaScript Editor Javascript debugger     Website design 

Imagick::getImageChannelStatistics

Returns statistics for each channel in the image ()
array Imagick::getImageChannelStatistics ( )

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.

Returns statistics for each channel in the image. The statistics incude the channel depth, its minima and maxima, the mean, and the standard deviation. You can access the red channel mean, for example, like this:

Parameters

Return Values

Returns TRUE on success.