PDA

View Full Version : Command line histogram


redfordxx
22nd of June 2008 (Sun), 17:06
Does any1 know any commandline SW for Win, which can write histogram-like statistics in text format?

Only thing I know is:
identify.exe -verbose
which produces
...
Channel statistics:
red:
min: 0 (0)
max: 51896 (0.791882)
mean: 11955.2 (0.182424)
standard deviation: 12203.5 (0.186213)
green:
...

I would like to know at least how many pixels are in certain interval(s).
I want for instance count pixels in interval (65000,65535) for all 16b images and see severity of blown highlights in a batch

Tnx