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锟斤拷