The Imagick class
PHP 手册

Imagick::getImageChannelStatistics

(PECL imagick 2.0.0)

Imagick::getImageChannelStatisticsReturns statistics for each channel in the image

说明

array Imagick::getImageChannelStatistics ( void )
Warning

本函数暂无文档,仅有参数列表。

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:

返回值

Returns TRUE on success.


The Imagick class
PHP 手册