GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sig.c File Reference
#include <stdlib.h>
#include <grass/imagery.h>
Include dependency graph for sig.c:

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)
 

Macro Definition Documentation

#define SIG   struct One_Sig

Definition at line 14 of file sig.c.

Referenced by I_new_signature().

Function Documentation

int I_free_signatures ( struct Signature *  S)

Definition at line 36 of file sig.c.

References free(), I_init_signatures(), and n.

Referenced by I_cluster_begin().

int I_init_signatures ( struct Signature *  S,
int  nbands 
)

Definition at line 4 of file sig.c.

References NULL.

Referenced by I_cluster_begin(), I_cluster_clear(), and I_free_signatures().

int I_new_signature ( struct Signature *  S)

Definition at line 16 of file sig.c.

References n, SIG, and sprintf().

Referenced by I_cluster_signatures(), and I_read_one_signature().

int I_read_one_signature ( FILE *  fd,
struct Signature *  S 
)

Definition at line 52 of file sig.c.

References G_strip(), I_get_to_eol(), I_new_signature(), n, and dialogs::s.

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(), and n.

int I_write_signatures ( FILE *  fd,
struct Signature *  S 
)

Definition at line 116 of file sig.c.

References n, and dialogs::s.