Imagick::getImageChannelStatistics

(PECL imagick 2.0.0)

Imagick::getImageChannelStatisticsReturns statistics for each channel in the image

Описание

Imagick::getImageChannelStatistics ( void ) : array

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:

Возвращаемые значения

В случае успешной работы возвращает TRUE.