GRASS GIS 7 Programmer's Manual
7.8.2(2019)-exported
|
Go to the documentation of this file.
15 for (i = 0; i < n; ++i, ++
b)
16 for (j = 0, p =
b; j < m; ++j, p += n)
int I_cluster_clear(struct Cluster *C)
Clear Cluster structure.
int I_cluster_exec_free(struct Cluster *C)
Free allocated Cluster structure.
int I_cluster_means(struct Cluster *C)
Calculate means value.
int I_cluster_assign(struct Cluster *C, int *interrupted)
Assign cluster.
void cmattr(Cpx *a, Cpx *b, int m, int n)
double I_cluster_separation(struct Cluster *C, int class1, int class2)
?
int I_cluster_reassign(struct Cluster *C, int *interrupted)
?
int I_cluster_signatures(struct Cluster *C)
Create signatures.
int I_cluster_nclasses(struct Cluster *C, int minsize)
Get number of classes.
int I_cluster_point_part(struct Cluster *C, DCELL x, int band, int n)
?
int I_cluster_exec(struct Cluster *C, int maxclass, int iterations, double convergence, double separation, int min_class_size, int(*checkpoint)(), int *interrupted)
int I_cluster_merge(struct Cluster *C)
?
int I_cluster_sum2(struct Cluster *C)
Compute sum of squares for each class.
int I_cluster_reclass(struct Cluster *C, int minsize)
Reclass data.
int I_cluster_begin(struct Cluster *C, int nbands)
Initialize the cluster routines for nbands.
int I_cluster_distinct(struct Cluster *C, double separation)
Get distinct value.
int I_cluster_exec_allocate(struct Cluster *C)
Allocate Cluster structure.
int I_cluster_end_point_set(struct Cluster *C, int n)
?
int I_cluster_point(struct Cluster *C, DCELL *x)
Adds the point x to the list of data points to be "clustered".
int I_cluster_begin_point_set(struct Cluster *C, int n)
Begin point set.