File: imagedefs.h

package info (click to toggle)
grass 6.0.2-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 40,044 kB
  • ctags: 31,303
  • sloc: ansic: 321,125; tcl: 25,676; sh: 11,176; cpp: 10,098; makefile: 5,025; fortran: 1,846; yacc: 493; lex: 462; perl: 133; sed: 1
file content (204 lines) | stat: -rw-r--r-- 7,790 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
/* add_cov.c */
double I_add_covariances(int, int, double, double, double, double, double, double);
/* advance.c */
int I_tape_advance(int, int);
/* alloc.c */
void *I_malloc(int);
void *I_realloc(void *, int);
int I_free(void *);
double **I_alloc_double2(int, int);
int *I_alloc_int(int);
int **I_alloc_int2(int, int);
int I_free_int2(int **);
int I_free_double2(double **);
double ***I_alloc_double3(int, int, int);
int I_free_double3(double ***);
/* ask.c */
int I_ask(char *, char *, int);
/* ask_bands.c */
char *I_bandname(int);
char *I_bandname_prefix(void);
int I_set_band_prefix(char *);
int *I_ask_bands(int);
/* ask_colors.c */
int I_ask_ref_colors(char *, struct Ref *);
/* ask_group.c */
int I_ask_group_old(char *, char *);
int I_ask_group_new(char *, char *);
int I_ask_group_any(char *, char *);
/* ask_subgrp.c */
int I_ask_subgroup_old(char *, char *, char *);
int I_ask_subgroup_new(char *, char *, char *);
/* band_io.c */
int I_open_band_new(int);
int I_close_band(int, struct Tape_Info *, int);
/* c_assign.c */
int I_cluster_assign(struct Cluster *, int *);
/* c_begin.c */
int I_cluster_begin(struct Cluster *, int);
/* c_clear.c */
int I_cluster_clear(struct Cluster *);
/* c_distinct.c */
int I_cluster_distinct(struct Cluster *, double);
/* c_exec.c */
int I_cluster_exec(struct Cluster *, int, int, double, double, int, int (*)(), int *);
/* c_execmem.c */
int I_cluster_exec_allocate(struct Cluster *);
int I_cluster_exec_free(struct Cluster *);
/* c_means.c */
int I_cluster_means(struct Cluster *);
/* c_merge.c */
int I_cluster_merge(struct Cluster *);
/* c_nclasses.c */
int I_cluster_nclasses(struct Cluster *, int);
/* c_point.c */
int I_cluster_point(struct Cluster *, CELL *);
int I_cluster_begin_point_set(struct Cluster *, int);
int I_cluster_point_part(struct Cluster *, register CELL, int, int);
int I_cluster_end_point_set(struct Cluster *, int);
/* c_reassign.c */
int I_cluster_reassign(struct Cluster *, int *);
/* c_reclass.c */
int I_cluster_reclass(struct Cluster *, int);
/* c_sep.c */
double I_cluster_separation(struct Cluster *, int, int);
/* c_sig.c */
int I_cluster_signatures(struct Cluster *);
/* c_sum2.c */
int I_cluster_sum2(struct Cluster *);
/* colors.c */
int I_read_group_colors(char *, struct Ref *);
int I_read_group_red_colors(char *, struct Ref *);
int I_read_group_grn_colors(char *, struct Ref *);
int I_read_group_blu_colors(char *, struct Ref *);
int I_free_group_colors(struct Ref *);
int I_write_group_colors(char *, struct Ref *);
int I_write_group_red_colors(char *, struct Ref *);
int I_write_group_grn_colors(char *, struct Ref *);
int I_write_group_blu_colors(char *, struct Ref *);
/* eol.c */
int I_get_to_eol(char *, int, FILE *);
/* find.c */
int I_find_group(char *);
int I_find_group_file(char *, char *);
int I_find_subgroup(char *, char *);
int I_find_subgroup_file(char *, char *, char *);
/* fopen.c */
FILE *I_fopen_group_file_new(char *, char *);
FILE *I_fopen_group_file_append(char *, char *);
FILE *I_fopen_group_file_old(char *, char *);
FILE *I_fopen_subgroup_file_new(char *, char *, char *);
FILE *I_fopen_subgroup_file_append(char *, char *, char *);
FILE *I_fopen_subgroup_file_old(char *, char *, char *);
/* georef.c */
int I_compute_georef_equations(struct Control_Points *, double [3], double [3], double [3], double [3]);
int I_georef(double, double, double *, double *, double [3], double [3]);
/* grey.c */
int I_grey_scale(struct Histogram *, struct Colors *);
/* group.c */
int I_get_group(char *);
int I_put_group(char *);
int I_get_subgroup(char *, char *);
int I_put_subgroup(char *, char *);
int I_get_group_ref(char *, struct Ref *);
int I_get_subgroup_ref(char *, char *, struct Ref *);
int I_init_ref_color_nums(struct Ref *);
int I_put_group_ref(char *, struct Ref *);
int I_put_subgroup_ref(char *, char *, struct Ref *);
int I_add_file_to_group_ref(char *, char *, struct Ref *);
int I_transfer_group_ref_file(struct Ref *, int, struct Ref *);
int I_init_group_ref(struct Ref *);
int I_free_group_ref(struct Ref *);
/* histo.c */
int I_get_histogram(char *, char *, struct Histogram *);
/* histo_eq.c */
int I_histo_eq(struct Histogram *, unsigned char **, CELL *, CELL *);
/* image.c */
int I_image_colors(struct Ref *, unsigned char *, unsigned char *, unsigned char *);
int I_open_image(struct Ref *);
int I_get_image_row(struct Ref *, int);
int I_translate_image_data(CELL *, unsigned char *, register CELL, register CELL, unsigned char *, int);
int I_close_image(struct Ref *);
/* list_gp.c */
int I_list_group(char *, struct Ref *, FILE *);
/* list_subgp.c */
int I_list_subgroup(char *, char *, struct Ref *, FILE *);
/* loc_info.c */
int I_location_info(char *, char *);
/* ls_groups.c */
int I_list_groups(int);
int I_list_subgroups(char *, int);
/* nfiles.c */
int I_number_of_group_ref_files(char *);
int I_number_of_subgroup_ref_files(char *, char *);
/* open.c */
int I_open_group_file_new(char *, char *);
int I_open_group_file_old(char *, char *);
/* percent.c */
int I_percent(int, int, int);
/* points.c */
int I_read_control_points(FILE *, struct Control_Points *);
int I_new_control_point(struct Control_Points *, double, double, double, double, int);
int I_write_control_points(FILE *, struct Control_Points *);
int I_get_control_points(char *, struct Control_Points *);
int I_put_control_points(char *, struct Control_Points *);
/* proj.c */
int I_must_be_imagery_projection(void);
/* ref.c */
FILE *I_fopen_group_ref_new(char *);
FILE *I_fopen_group_ref_old(char *);
FILE *I_fopen_subgroup_ref_new(char *, char *);
FILE *I_fopen_subgroup_ref_old(char *, char *);
/* set_window.c */
int I_set_window(int, int, int, int);
/* sig.c */
int I_init_signatures(struct Signature *, int);
int I_new_signature(struct Signature *);
int I_free_signatures(struct Signature *);
int I_read_one_signature(FILE *, struct Signature *);
int I_read_signatures(FILE *, struct Signature *);
int I_write_signatures(FILE *, struct Signature *);
/* sig2cats.c */
int I_signature_to_cats(struct Signature *, struct Categories *);
/* sigfile.c */
int I_ask_signature_file_any(char *, char *, char *, char *);
int I_ask_signature_file_old(char *, char *, char *, char *);
FILE *I_fopen_signature_file_new(char *, char *, char *);
FILE *I_fopen_signature_file_old(char *, char *, char *);
/* sigset.c */
int I_SigSetNClasses(struct SigSet *);
struct ClassData *I_AllocClassData(struct SigSet *, struct ClassSig *, int);
int I_InitSigSet(struct SigSet *);
int I_SigSetNBands(struct SigSet *, int);
struct ClassSig *I_NewClassSig(struct SigSet *);
struct SubSig *I_NewSubSig(struct SigSet *, struct ClassSig *);
int I_ReadSigSet(FILE *, struct SigSet *);
int I_SetSigTitle(struct SigSet *, char *);
char *I_GetSigTitle(struct SigSet *);
int I_SetClassTitle(struct ClassSig *, char *);
char *I_GetClassTitle(struct ClassSig *);
int I_WriteSigSet(FILE *, struct SigSet *);
/* sigsetfile.c */
int I_ask_sigset_file_any(char *, char *, char *, char *);
int I_ask_sigset_file_old(char *, char *, char *, char *);
FILE *I_fopen_sigset_file_new(char *, char *, char *);
FILE *I_fopen_sigset_file_old(char *, char *, char *);
/* tape_info.c */
int I_clear_tape_info(struct Tape_Info *);
int I_edit_tape_info(struct Tape_Info *);
/* target.c */
int I_get_target(char *, char *, char *);
int I_put_target(char *, char *, char *);
/* title.c */
int I_get_group_title(char *, char *, int);
int I_put_group_title(char *, char *);
/* v_exec.c */
int I_v_exec(void);
/* var.c */
double I_variance(double, double, int);
double I_stddev(double, double, int);
/* vask_group.c */
int I_vask_group_new(char **, char *, char *);
int I_vask_group_old(char **, char *, char *);
int I_vask_subgroup_new(char **, char *, char *, int, char *);
int I_vask_subgroup_old(char **, char *, char *, int, char *);