identify command interpretation

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
lionel
Posts: 9
Joined: 2016-01-15T08:01:03-07:00
Authentication code: 1151

identify command interpretation

Post by lionel »

Hi,

I tried the indentify command (with the verbose) and would like to know how to interpret the output.
More precisely I would like to know from the statistic and the histogram values if I can identify properly if this picture is under-exposed or over-exposed ?

Thanks.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: identify command interpretation

Post by snibgo »

There are many ways to interpret the output. If these are ordinary photographs, the mean and standard deviation of each channel is useful. For a "correct" photograph, the mean will be around 0.5 and the SD will be around 0.17. This isn't a solid rule; a low-key photograph that contains mostly shadow will have a lower mean. A high-contrast subject will have a higher SD.
snibgo's IM pages: im.snibgo.com
lionel
Posts: 9
Joined: 2016-01-15T08:01:03-07:00
Authentication code: 1151

Re: identify command interpretation

Post by lionel »

Thanks , it seems to be useful for my time-lapse camera, I would like to read this value after a snapshot to re-adjust my capture parameters.
What does the mean and deviation represent ? is there a definition somewhere.

Thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: identify command interpretation

Post by fmw42 »

The mean is the same as the average pixel value. For standard-deviation see https://en.wikipedia.org/wiki/Standard_deviation
Post Reply