Functions |
void | init_config (t_config *config) |
void | init_flags (t_flag *flags) |
void | init_path (t_object_list *object) |
void | create_motion_path (t_object_list **list, int size, t_object **objects, t_config *config) |
void | get_ratios (IplImage *img, int result, double int_x, double int_y, double fxi, double fyi, double nxi, double nyi, double *n_min_ratio, double *f_min_ratio, bool *collision_detected, double n_lenght, double f_lenght, t_config *config) |
void | predict_collisions (IplImage *img, t_object_list **list, int size, t_object **objects, t_config *config, t_flag *flags) |
int | lines_intersect (double x1, double y1, double x2, double y2, double x3, double y3, double x4, double y4, double *x, double *y) |
void | free_error_vectors (t_object_list *object) |
void | get_angle_std (t_circular_data *data, double *std) |
void | get_mean_velocity (t_circular_data *data, double *mean_module, double *mean_angle) |
void | add_to_velocity_acc (t_circular_data *data, double velocity_module, double velocity_angle) |
void | init_velocity_acc (t_circular_data **data, unsigned int number_elements) |
void | free_velocity_acc (t_circular_data *data) |
void | init_error_vectors (t_circular_data **data, unsigned int number_elements) |
void | add_to_erro_vectors (t_circular_data *data, double *element) |
void | get_error_covariance (t_circular_data *data, CvMat *error_accumulator) |
| Get covariance.
|
void | init_data (t_data *data) |
void | copy_data (t_data *src, t_data *dst) |
void | init_data_acc (t_data_acc *data_acc, t_config *config, t_flag *) |
void | clear_data_acc (t_data_acc *data_acc, t_config *, t_flag *) |
void | final_clean_data (t_data *data, t_config *config) |
void | add_to_data_acc (t_data_acc *data_acc, t_data *data) |
void | add_point_to_data_vector (t_data *data, int pos, double x, double y, double t, double r) |
void | spatial_moving_average_filter (t_data *data, int window_size, t_config *config) |
| Performes a limited moving average of the data vector.
|
void | get_occluded_data (t_data *new_data, t_data *last_data, t_data *occluded_data, t_config *config) |
void | get_data_from_acc (t_data_acc *data_acc, t_data *data, t_config *config) |
void | get_data_uncliped_from_acc (t_data_acc *data_acc, t_data *data, t_config *config) |
double | point2point_distance (double xi, double yi, double xf, double yf) |
double | point2point_algebric_distance (double xi, double yi, double xf, double yf) |
double | point2line_distance (double alpha, double ro, double x, double y) |
int | real2print (double x, t_config *config) |
void | get_data (t_data *data, float *range_vector, int size, double angular_resolution, t_config *config) |
void | get_data_uncliped (t_data *data, float *range_vector, int size, double angular_resolution, t_config *config) |
void | calc_cluster_props (t_cluster **clusters, int size, t_data *data, t_config *) |
double | dietmayer_threshold (double r, t_config *config) |
t_cluster ** | clustering (t_data *data, int *count, t_config *config, t_flag *flags) |
void | fill_occluded_data_with_filtered_data (t_data *normal_data, t_data *occluded_data) |
void | advanced_data_merge (t_data *normal_data, t_data *occluded_data, t_data *full_data, t_config *config, t_flag *flags) |
bool | clip_point (double r, double t, t_config *config) |
double | gerate_uniform (int val) |
void | remove_small_clusters (t_cluster **clusters, int *size, int threshold) |
void | remove_border_points (t_cluster **clusters, int size, int npoints) |
void | remove_data_point (t_data *data, int p) |
void | simplify_data (t_data *data, int n) |
double | get_fps (double dt, t_fps *acc) |