Image statistics

Bob Friesenhahn <[email protected]> Mon, 22 Mar 2004 23:11:43 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.apis,gmane.comp.video.graphicsmagick.tools
Message-ID <Pine.GSO.4.44.0403222257280.11186-100000@scooby.simplesystems.org>
At long last, GraphicsMagick 1.1 supports computing image statistics.
As of this evening, there is a GetImageStatistics function which
populates a ImageStatistics structure with channel-level (e.g.
'red') image statistics.  The image statistics currently available are
minimum, maximum, mean, variance, and standard deviation.  Values are
normalized to the range 0.0 to 1.0.  The interface supports adding
additional statistics without breaking the API.

For Magick++, there is a new Image statistics() method to obtain these
statistics.

The statistics are output by 'gm identify -verbose'.  The statistics
output of identify is scaled up to the actual image quantum values
(e.g. 255).  Feedback is desired regarding the best way to present
these values since normalized values are often more useful.  If there
is demand for it, both normalized and unnormalized values can be
displayed.

Bob
======================================
Bob Friesenhahn
[email protected]
http://www.simplesystems.org/users/bfriesen



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click