|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-0f6a7341fc
|
Imagery Library - Signature file functions (statistics for i.maxlik). More...

Go to the source code of this file.
Functions | |
| FILE * | I_fopen_signature_file_new (const char *name) |
| Create signature file. | |
| FILE * | I_fopen_signature_file_old (const char *name) |
| Open existing signature file. | |
Imagery Library - Signature file functions (statistics for i.maxlik).
SPDX-FileCopyrightText: 2001-2008, 2013, 2021 GRASS Development Team SPDX-License-Identifier: GPL-2.0-or-later
Definition in file sigfile.c.
Create signature file.
Returns a pointer to FILE for writing signature file. Use fclose on the pointer to close after use.
| name | signature filename |
Definition at line 26 of file sigfile.c.
References G_fopen_new_misc(), GNAME_MAX, I_get_signatures_dir(), I_make_signatures_dir(), I_SIGFILE_TYPE_SIG, and name.
Referenced by I_iclass_write_signatures().
Open existing signature file.
Use fully qualified names for signatures from other mapsets.
Returns a pointer to FILE with signature. Use fclose on the pointer after use.
| name | signature filename |
Definition at line 52 of file sigfile.c.
References G_fopen_old_misc(), G_mapset(), G_unqualified_name(), GMAPSET_MAX, GNAME_MAX, I_get_signatures_dir(), I_SIGFILE_TYPE_SIG, name, NULL, and strcpy.