MAN page from Mandrake Other XITE-3.3-3.i386.rpm
CLASSMEANS
Section: C Library Functions (3)
Updated: 16 Mar 1998
Index
NAME
classMeans - calculate class means
SYNTAX
#include <
xite/classification.h>
int classMeans( IMAGE input,
IBAND classification, float* means[],
int k );
DESCRIPTION
Calculates new class means.
inputmay be multi band.classificationis the input classification result.meansrefers to the output mean vectors.kis the number of classes.
meansmust be indexable on the interval
means[0..k-1][1..Inbands(input)]
Classes that don't occur at all are given mean values -1000.0.
RESTRICTIONS
inputand
classificationmust have pixel type unsignedbyte.
RETURN VALUE
0 => ok
1 => bad pixel type in input image
2 => bad pixel type in classification
3 => bad k value (less than 1)
AUTHOR
Tor Lønnestad, BLAB, Ifi, UiO
Index
- NAME
- SYNTAX
- DESCRIPTION
- RESTRICTIONS
- RETURN VALUE
- AUTHOR
This document was created byman2html,using the manual pages.