protected function grayscaleEntropy(\Imagick $image)
    {
        // The histogram consists of a list of 0-254 and the number of pixels that has that value
        $histogram = $image->getImageHistogram();

        return $this->getEntropy($histogram, $this->area($image));
    }