MAN page from Mandrake Other XITE-3.3-3.i386.rpm
STATISTICS
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
statistics, hstatistics - extract statistical informationfrom a band
SYNTAX
#include <
xite/statistics.h>
int statistics( IBAND b, int* min, int* max,
int* median, double* mean, double* stdev );
int hstatistics( histogram histo, int* min,
int* max, int* median, double* mean,
double* stdev );
DESCRIPTION
hstatisticscalculates min, max, median, mean and standarddeviation in a band from the histogram
histo.statisticscalculates min, max, median, mean and standarddeviation in the band b,by first producing the histogramand sending it to hstatistics.
RESTRICTIONS
statisticsonly works for bands with unsigned byte pixels.
RETURN VALUE
For 'hstatistics': Always 0.
For 'statistics':
0 => ok
2 => Pixel-type is not unsigned byte
AUTHOR
Tor Lønnestad, BLAB, Ifi, UiO
ID
$Id: statistics.c,v 1.40 1997/01/29 10:45:49 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RESTRICTIONS
- RETURN VALUE
- AUTHOR
- ID
This document was created byman2html,using the manual pages.