Go to the source code of this file.
Functions | |
void | array_abs (double *v, int n) |
void | cluster_convolve (const int *cluster, const double *original, int n, double *dest, double *filter, int filter_len, int negate_negative) |
int | cluster_find_max (int *cluster, double *v, int n) |
int | find_max (int *v, int n) |
void | ld_cluster_curv (LDP ld) |
int | ld_cluster_size (LDP ld, int i0) |
void | ld_mark_cluster_as_invalid (LDP ld, int cluster) |
int | ld_max_cluster_id (LDP ld) |
void | ld_remove_small_clusters (LDP ld, int min_size) |
int | main (int argc, const char *argv[]) |
Variables | |
struct { | |
int neighbours | |
double scale_deg | |
} | p |
void array_abs | ( | double * | v, |
int | n | ||
) |
Definition at line 137 of file ld_cluster_curv.c.
void cluster_convolve | ( | const int * | cluster, |
const double * | original, | ||
int | n, | ||
double * | dest, | ||
double * | filter, | ||
int | filter_len, | ||
int | negate_negative | ||
) |
Definition at line 49 of file ld_cluster_curv.c.
int cluster_find_max | ( | int * | cluster, |
double * | v, | ||
int | n | ||
) |
Definition at line 77 of file ld_cluster_curv.c.
int find_max | ( | int * | v, |
int | n | ||
) |
Definition at line 87 of file ld_cluster_curv.c.
void ld_cluster_curv | ( | LDP | ld | ) |
Definition at line 142 of file ld_cluster_curv.c.
int ld_cluster_size | ( | LDP | ld, |
int | i0 | ||
) |
Definition at line 100 of file ld_cluster_curv.c.
void ld_mark_cluster_as_invalid | ( | LDP | ld, |
int | cluster | ||
) |
Definition at line 129 of file ld_cluster_curv.c.
int ld_max_cluster_id | ( | LDP | ld | ) |
Definition at line 96 of file ld_cluster_curv.c.
void ld_remove_small_clusters | ( | LDP | ld, |
int | min_size | ||
) |
Definition at line 112 of file ld_cluster_curv.c.
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Definition at line 14 of file ld_cluster_curv.c.
int neighbours |
How many neighbours to consider
Definition at line 9 of file ld_cluster_curv.c.
struct { ... } p |
double scale_deg |
Scale factor
Definition at line 6 of file ld_cluster_curv.c.