I\'d like to quantify the number of pixels in an image based on their color, ignoring black background pixels. The heights are predefined and organized by color.