<!-- manual page source format generated by PolyglotMan v3.2, --> <!-- available at http://polyglotman.sourceforge.net/ --> <html> <head> <title>IM_STATS(3) manual page</title> </head> <body bgcolor='white'> <a href='#toc'>Table of Contents</a><p> <h2><a name='sect0' href='#toc0'>Name</a></h2> im_stats - calculate many image statistics in a single pass <h2><a name='sect1' href='#toc1'>Synopsis</a></h2> <b>#include <vips/vips.h></b> <p> <b>DOUBLEMASK *im_stats(in)</b> <br> <b>IMAGE *in;</b> <h2><a name='sect2' href='#toc2'>Description</a></h2> Find many image statistics in a single pass through the PELs. Returns a DOUBLEMASK of 6 columns by n+1 (where n is number of bands in image in) rows. Columns are statistics, and are, in order: minimum, maximum, sum, sum of squares, mean, standard deviation. Row 0 has statistics for all bands together, row 1 has stats for band 1, and so on. <p> Non-complex images only! <h2><a name='sect3' href='#toc3'>Return Value</a></h2> NULL on error. <h2><a name='sect4' href='#toc4'>See Also</a></h2> <a href='im_avg.3.html'>im_avg(3)</a> , <a href='im_deviate.3.html'>im_deviate(3)</a> <h2><a name='sect5' href='#toc5'>Copyright</a></h2> <br> National Gallery, 1992 <p> <hr><p> <a name='toc'><b>Table of Contents</b></a><p> <ul> <li><a name='toc0' href='#sect0'>Name</a></li> <li><a name='toc1' href='#sect1'>Synopsis</a></li> <li><a name='toc2' href='#sect2'>Description</a></li> <li><a name='toc3' href='#sect3'>Return Value</a></li> <li><a name='toc4' href='#sect4'>SeeAlso</a></li> <li><a name='toc5' href='#sect5'>Copyright</a></li> </ul> </body> </html>