GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
Go to the source code of this file.
Macros | |
#define | eq(a, b) strcmp(a,b)==0 |
Functions | |
int | I_SigSetNClasses (struct SigSet *S) |
struct ClassData * | I_AllocClassData (struct SigSet *S, struct ClassSig *C, int npixels) |
int | I_InitSigSet (struct SigSet *S) |
int | I_SigSetNBands (struct SigSet *S, int nbands) |
struct ClassSig * | I_NewClassSig (struct SigSet *S) |
struct SubSig * | I_NewSubSig (struct SigSet *S, struct ClassSig *C) |
int | I_ReadSigSet (FILE *fd, struct SigSet *S) |
int | I_SetSigTitle (struct SigSet *S, const char *title) |
const char * | I_GetSigTitle (const struct SigSet *S) |
int | I_SetClassTitle (struct ClassSig *C, const char *title) |
const char * | I_GetClassTitle (const struct ClassSig *C) |
int | I_WriteSigSet (FILE *fd, const struct SigSet *S) |
const char* I_GetClassTitle | ( | const struct ClassSig * | C | ) |
const char* I_GetSigTitle | ( | const struct SigSet * | S | ) |
int I_InitSigSet | ( | struct SigSet * | S | ) |
Definition at line 56 of file sigset.c.
References SigSet::ClassSig, SigSet::nbands, SigSet::nclasses, NULL, and SigSet::title.
Referenced by I_ReadSigSet().
Definition at line 73 of file sigset.c.
References ClassSig::classnum, SigSet::ClassSig, G_malloc, G_realloc, SigSet::nclasses, ClassSig::nsubclasses, NULL, SIGNATURE_TYPE_MIXED, ClassSig::title, ClassSig::type, and ClassSig::used.
Definition at line 93 of file sigset.c.
References SubSig::cnst, G_calloc, G_malloc, G_realloc, SubSig::means, SubSig::N, SigSet::nbands, ClassSig::nsubclasses, SubSig::pi, SubSig::R, SubSig::Rinv, ClassSig::SubSig, and SubSig::used.
int I_ReadSigSet | ( | FILE * | fd, |
struct SigSet * | S | ||
) |
Definition at line 124 of file sigset.c.
References I_InitSigSet().
int I_SetClassTitle | ( | struct ClassSig * | C, |
const char * | title | ||
) |
int I_SetSigTitle | ( | struct SigSet * | S, |
const char * | title | ||
) |
int I_SigSetNBands | ( | struct SigSet * | S, |
int | nbands | ||
) |
Definition at line 66 of file sigset.c.
References SigSet::nbands.
int I_SigSetNClasses | ( | struct SigSet * | S | ) |
Definition at line 31 of file sigset.c.
References SigSet::ClassSig, count, SigSet::nclasses, and ClassSig::used.
int I_WriteSigSet | ( | FILE * | fd, |
const struct SigSet * | S | ||
) |
Definition at line 319 of file sigset.c.
References ClassSig::classnum, SigSet::ClassSig, I_GetClassTitle(), I_GetSigTitle(), SubSig::means, SigSet::nbands, SigSet::nclasses, ClassSig::nsubclasses, SubSig::pi, SubSig::R, ClassSig::SubSig, ClassSig::type, and ClassSig::used.