Object manipulation header. More...
#include "potkf_common.h"
Functions | |
void | init_objets_ids (t_object **objects, int size) |
Inits objects ids, NOT IN USE. | |
t_object ** | clusters2objects (t_cluster **clusters, int size, t_data *data, t_config *config, t_flag *flag) |
void | clean_objets (t_object **objects, int size) |
void | calc_object_props (t_object **objects, int size, t_config *config, t_flag *flags) |
void | recursive_IEPF (t_object *object, t_data *data, int start, int end, t_config *config) |
void | free_lines (t_object **objects, int size) |
void | recursive_line_fitting (t_object *object, t_cluster *cluster, t_data *data, t_config *config) |
double | point2line_distance (double alpha, double ro, double x, double y) |
double | point2point_distance (double xi, double yi, double xf, double yf) |
t_object ** | move_to_old (t_object **objects, int size) |
void | init_model (t_model *model) |
Model initialisation function All models must pass through here in order to be used. | |
void | kinit_object (t_object *object) |
Initialisation of object kalman models. | |
void | move_to_objects (t_object *object, t_object **objects, int size) |
t_object_list ** | init_list (t_object **objects, int size, t_config *config) |
Inits objects list. | |
void | add_to_list (t_object_list **list, t_object *object, int *list_size, t_config *config) |
Adds object to object list. | |
void | kinit_list (t_object_list *object) |
void | remove_from_list (t_object_list **list, int *list_size, int obj2rm) |
Removes objects from list, TODO: there is still step missing, kalman structurs must be removed from memory. | |
void | init_err_acc (t_object_list *object, t_config *config) |
void | add_to_err_acc (t_object_list *object) |
void | copie_lines_to_list (t_object *object, t_object_list *list) |
Object manipulation header.