1 #ifndef GRASS_CLUSTERDEFS_H 2 #define GRASS_CLUSTERDEFS_H int I_cluster_sum2(struct Cluster *)
Compute sum of squares for each class.
int I_cluster_end_point_set(struct Cluster *, int)
?
int I_cluster_begin(struct Cluster *, int)
Initialize the cluster routines for nbands.
int I_cluster_reassign(struct Cluster *, int *)
?
int I_cluster_exec_allocate(struct Cluster *)
Allocate Cluster structure.
int I_cluster_signatures(struct Cluster *)
Create signatures.
int I_cluster_begin_point_set(struct Cluster *, int)
Begin point set.
int I_cluster_exec(struct Cluster *, int, int, double, double, int, int(*)(), int *)
int I_cluster_means(struct Cluster *)
Calculate means value.
int I_cluster_point_part(struct Cluster *, DCELL, int, int)
?
int I_cluster_distinct(struct Cluster *, double)
Get distinct value.
int I_cluster_assign(struct Cluster *, int *)
Assign cluster.
int I_cluster_merge(struct Cluster *)
?
int I_cluster_clear(struct Cluster *)
Clear Cluster structure.
int I_cluster_reclass(struct Cluster *, int)
Reclass data.
int I_cluster_exec_free(struct Cluster *)
Free allocated Cluster structure.
int I_cluster_point(struct Cluster *, DCELL *)
Adds the point x to the list of data points to be "clustered".
int I_cluster_nclasses(struct Cluster *, int)
Get number of classes.
double I_cluster_separation(struct Cluster *, int, int)
?