clustering.h File Reference

Clustering related functions header. More...

#include "common.h"
Include dependency graph for clustering.h:
This graph shows which files directly or indirectly include this file:

Functions

void FlagCollisionWithOcclusion (t_cluster **clusters, int object_size, t_data *data, t_config *config)
double dietmayer_threshold (double r, t_config *config)
 Computes dietmayer clustering threshold.
t_cluster ** clustering (t_data *data, int *count, t_config *config, t_flag *flags)
 Performes clustering operation.
void remove_border_points (t_cluster **clusters, int size, int npoints)
 Removes cluster border points.
void remove_small_clusters (t_cluster **clusters, int *size, int threshold)
 Removes clusters based on their size.
void calc_cluster_props (t_cluster **clusters, int size, t_data *data, t_config *)
 Calculates cluster properties.
t_object ** clusters2objects (t_cluster **clusters, int size, t_data *data, t_config *config, t_flag *)
 Convets clusters of points into objects using recursive line fitting.
void calc_object_props (t_object **objects, int size, t_config *config, t_flag *)
 Computed object propreties, such as centroid and size.
void clean_objets (t_object **objects, int size)
 Frees memory associated with objects.
void recursive_line_fitting (t_object *object, t_cluster *cluster, t_data *data, t_config *config)
 Recursive line fitting, complete process.
void free_lines (t_object **objects, int size)
 Removes lines from memory.
void recursive_IEPF (t_object *object, t_data *data, int start, int end, t_config *config)
 Recursive iterative end point fit. Single step.
double point2point_distance (double xi, double yi, double xf, double yf)
double point2line_distance (double alpha, double ro, double x, double y)
 Calculates the line to point distance.
int real2print (double x, t_config *config)
 Converts a value from real world coordinates to image coordinates.

Detailed Description

Clustering related functions header.

Generated on Wed Jun 2 12:43:03 2010 for LAR Atlas by  doxygen 1.6.3