MAN page from RedHat Other XITE-3.3-3.i386.rpm
MKHISTO
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
mkHisto, mkIhistogram, mkDhistogram - make a histogram
SYNTAX
#include <
xite/histo.h>
BiffStatus mkHisto( IBAND band,
histogram histo );
BiffStatus mkIhistogram( IBAND band,
int histo[], int limits[], int n );
BiffStatus mkDhistogram( IBAND band,
int histo[], double limits[], int n );
DESCRIPTION
Generate the histogram of a band.
band : input band
histo : output histogram
limits : input limits for the accumulator cells in histo
n : input number of limits (n >= 1)
limitsshould be indexable on 0..n-1, and (NOTE!) histoshould be indexable on 0..n.At return, histocontains:
histo[0] = #pixels in < -inf .. limits[0] ]
histo[i] = #pixels in < limits[i-1] .. limits[i] ]
histo[n] = #pixels in < limits[n-1] .. inf. >
Choose mkIhistogramor mkDhistogram,depending on whetheryour limits are integers or real numbers.
RESTRICTIONS
mkHistoaccepts only unsigned byte pixels, mkIhistogramand mkDhistogram accept all pixel types but complex anddouble complex.
limitsshould be sorted in ascending order.
RETURN VALUE
status, see diagnostics
DIAGNOSTICS
Status 0 => ok
Status 2 => Error: Bad pixel type
Status 3 => Error: Bad 'n' argument (mkHistogram only)
SEE ALSO
histo(3),
scale(3)
AUTHOR
Tor Lønnestad, BLAB, Ifi, UiO
ID
$Id: mkHisto.c,v 1.23 1997/01/29 10:42:48 svein Exp $
Index
- NAME
- SYNTAX
- DESCRIPTION
- RESTRICTIONS
- RETURN VALUE
- DIAGNOSTICS
- SEE ALSO
- AUTHOR
- ID
This document was created byman2html,using the manual pages.