GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <string.h>
#include <stdlib.h>
#include <grass/imagery.h>
#include <grass/gis.h>
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) |
Definition at line 122 of file sigset.c.
Referenced by I_ReadSigSet().
struct ClassData* I_AllocClassData | ( | struct SigSet * | S, |
struct ClassSig * | C, | ||
int | npixels | ||
) |
const char* I_GetClassTitle | ( | const struct ClassSig * | C | ) |
Definition at line 293 of file sigset.c.
Referenced by I_WriteSigSet().
const char* I_GetSigTitle | ( | const struct SigSet * | S | ) |
Definition at line 274 of file sigset.c.
Referenced by I_WriteSigSet().
int I_InitSigSet | ( | struct SigSet * | S | ) |
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 | ||
) |
Definition at line 124 of file sigset.c.
References eq, and I_InitSigSet().
int I_SetClassTitle | ( | struct ClassSig * | C, |
const char * | title | ||
) |
int I_SetSigTitle | ( | struct SigSet * | S, |
const char * | title | ||
) |
int I_WriteSigSet | ( | FILE * | fd, |
const struct SigSet * | S | ||
) |
Definition at line 301 of file sigset.c.
References I_GetClassTitle(), and I_GetSigTitle().