Imagick::getImageHeight
Imagick::getImageIndex
Imagick
PHP Manual

# Imagick::getImageHistogram

(PECL imagick 2.0.0)

Imagick::getImageHistogram — Gets the image histogram

### Description

array Imagick::getImageHistogram ( void )

Returns the image histogram as an array of ImagickPixel objects.

### Return Values

Returns the image histogram as an array of ImagickPixel objects.

### Errors/Exceptions

Throws ImagickException on error.

Imagick::getImageHeight
Imagick::getImageIndex
Imagick
PHP Manual