Home > PHP > Function > > Imagick::getImageChannelStatistics()

Imagick::getImageChannelStatistics()

Imagick::getImageChannelStatistics - Returns statistics for each channel in the image

Syntax

array Imagick::getImageChannelStatistics ()

Arguments

-

Description

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:

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.