Imagick
PHP 手册

Imagick::getImageHistogram

(PECL imagick 2.0.0)

Imagick::getImageHistogramGets the image histogram

说明

array Imagick::getImageHistogram ( void )

Returns the image histogram as an array of ImagickPixel objects.

返回值

Returns the image histogram as an array of ImagickPixel objects.

错误/异常

错误时抛出 ImagickException。


Imagick
PHP 手册