GRASS GIS 7 Programmer's Manual
7.9.dev(2021)-e5379bbd7
|
Go to the source code of this file.
Macros | |
#define | SIG struct One_Sig |
Functions | |
int | I_init_signatures (struct Signature *S, int nbands) |
int | I_new_signature (struct Signature *S) |
int | I_free_signatures (struct Signature *S) |
int | I_read_one_signature (FILE *fd, struct Signature *S) |
int | I_read_signatures (FILE *fd, struct Signature *S) |
int | I_write_signatures (FILE *fd, struct Signature *S) |
#define SIG struct One_Sig |
Definition at line 14 of file sig.c.
Referenced by I_new_signature().
int I_free_signatures | ( | struct Signature * | S | ) |
Definition at line 36 of file sig.c.
References free(), I_init_signatures(), One_Sig::mean, Signature::nbands, Signature::nsigs, Signature::sig, and One_Sig::var.
Referenced by I_cluster_begin().
int I_init_signatures | ( | struct Signature * | S, |
int | nbands | ||
) |
Definition at line 4 of file sig.c.
References Signature::nbands, Signature::nsigs, NULL, Signature::sig, and Signature::title.
Referenced by I_cluster_begin(), I_cluster_clear(), I_free_signatures(), and I_iclass_init_signatures().
int I_new_signature | ( | struct Signature * | S | ) |
Definition at line 16 of file sig.c.
References One_Sig::desc, G_calloc, G_realloc, One_Sig::have_color, One_Sig::mean, Signature::nbands, Signature::nsigs, SIG, Signature::sig, One_Sig::status, and One_Sig::var.
Referenced by I_iclass_add_signature().
int I_read_one_signature | ( | FILE * | fd, |
struct Signature * | S | ||
) |
Definition at line 52 of file sig.c.
Referenced by I_read_signatures().
int I_read_signatures | ( | FILE * | fd, |
struct Signature * | S | ||
) |
Definition at line 94 of file sig.c.
References G_strip(), I_get_to_eol(), I_read_one_signature(), Signature::nsigs, and Signature::title.