The Imagick class
PHP Manual

Imagick::getImageChannelStatistics

(No version information available, might be only in CVS)

Imagick::getImageChannelStatisticsReturns statistics for each channel in the image

Description

array Imagick::getImageChannelStatistics ( void )
Warning

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

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

Return Values

Returns TRUE on success.


The Imagick class
PHP Manual