shannon entropy to detect monochrome
try an heuritic by calculating the shannon entropy of the distribution of the value of the pixel colors to determine what icons are monochrome.