map_histogram - Calculate color distribution for image file
map_histogram <bmp_file>
Caluculate color distribution ("histogram") for map image file. Input image should be 4- or 8-bit uncompressed palletized BMP.
The output is tab-separated list of total count and frequency for each pixel value in the image:
pixel_value rgb_value count percent
00 00809e 85264 2.0107 01 05819f 37446 0.8830 02 66c6dd 2030 0.0479 03 8fb6bf 5162 0.1217 04 4db47f 26373 0.6219 05 e6f6ed 2208518 52.0805 06 99d6ab 64340 1.5172 07 7fc644 109877 2.5911 08 cce83a 111396 2.6269 09 ffff80 252502 5.9544 0a b3b136 35442 0.8358 0b fecc2e 99764 2.3526 0c d3b26f 3296 0.0777 0d fedaa6 7829 0.1846 0e b28665 16928 0.3992 0f fba77e 25353 0.5979 10 e36359 3477 0.0820 11 ffffff 1039382 24.5104 12 696969 20 0.0005 13 666666 19267 0.4543 14 000000 86917 2.0496