GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
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

◆ SIG

#define SIG   struct One_Sig

Definition at line 14 of file sig.c.

Referenced by I_new_signature().

Function Documentation

◆ I_free_signatures()

int I_free_signatures ( struct Signature S)

◆ I_init_signatures()

int I_init_signatures ( struct Signature S,
int  nbands 
)

◆ I_new_signature()

int I_new_signature ( struct Signature S)

◆ I_read_one_signature()

int I_read_one_signature ( FILE *  fd,
struct Signature S 
)

Definition at line 52 of file sig.c.

Referenced by I_read_signatures().

◆ 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.

◆ I_write_signatures()

int I_write_signatures ( FILE *  fd,
struct Signature S 
)

Definition at line 116 of file sig.c.