Gmagick::getimagehistogram

Gets the image histogram

Description

public array Gmagick::getimagehistogram()

Returns the image histogram as an array of GmagickPixel objects. Throw an GmagickException on error.

Parameters

This function has no parameters.

Return Values

Returns the image histogram as an array of GmagickPixel objects.

Errors/Exceptions

Throws an GmagickException on error.