mtt_association.h
Go to the documentation of this file.
1 /**************************************************************************************************
2  Software License Agreement (BSD License)
3 
4  Copyright (c) 2011-2013, LAR toolkit developers - University of Aveiro - http://lars.mec.ua.pt
5  All rights reserved.
6 
7  Redistribution and use in source and binary forms, with or without modification, are permitted
8  provided that the following conditions are met:
9 
10  *Redistributions of source code must retain the above copyright notice, this list of
11  conditions and the following disclaimer.
12  *Redistributions in binary form must reproduce the above copyright notice, this list of
13  conditions and the following disclaimer in the documentation and/or other materials provided
14  with the distribution.
15  *Neither the name of the University of Aveiro nor the names of its contributors may be used to
16  endorse or promote products derived from this software without specific prior written permission.
17 
18  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
19  IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20  FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
21  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
24  IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
25  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 ***************************************************************************************************/
32 #ifndef _MTT_DATA_ASSOCIATION_H_
33 #define _MTT_DATA_ASSOCIATION_H_
34 
35 
36 #include "mtt_common.h"
37 
38 #ifdef _MTT_DATA_ASSOCIATION_CPP_
39 #else
41 extern unsigned int last_id;
42 #endif
43 
44 unsigned int GetListSize(t_list*list);
45 
46 // void AssociateObjects(t_list**list,t_object**objects,int object_size,t_config*config,t_flag*flags);
47 void AssociateObjects(vector<t_listPtr> &list,vector<t_objectPtr> &objects,t_config& config,t_flag& flags);
48 
49 void AddObjectToList(vector<t_listPtr> &list,t_object& object,t_config&config);
50 
51 void RemoveFromList(vector<t_listPtr> &list,unsigned int id);
52 
53 extern void AllocMotionModels(t_list&list,t_config&config);
54 
55 void AllocPath(t_path*path,t_config&config);
56 void InitialiseSearchArea(t_list&list,t_config&config);
57 
58 void PrintNobjects(t_list*list);
59 
60 void InitialiseTimers(t_timers*timer);
61 void InitialiseClassification(t_classification*classification);
62 
63 /*double CheckAssociationCriteria(t_list*list,t_object*object,t_config*config);
64 double CheckAssociationCriteria(t_list*list,t_object& object);*/
65 double CheckAssociationCriteria(t_list&list,t_object& object);
66 
67 void SingleObjectAssociation(t_list& list,t_object& object);
68 
69 void AddPointPath(t_path*path,double x,double y);
70 
71 void SetSearchArea(t_list& list,t_config&config);
72 
73 void AllocErrors(t_errors*error,t_config&config);
74 
75 void SetOjectMorphology(t_list&list,t_object& object);
76 
77 void PrintTree(t_list*list,int l);
78 extern double point2point_distance(double xi,double yi,double xf,double yf);
79 extern int real2print(double x,t_config*config);
80 #endif
void PrintTree(t_list *list, int l)
void InitialiseClassification(t_classification *classification)
void InitialiseSearchArea(t_list &list, t_config &config)
Timers structure.
Definition: mtt_common.h:243
Estimation errors.
Definition: mtt_common.h:266
unsigned int last_id
List of XY points.
Definition: mtt_common.h:307
void AllocErrors(t_errors *error, t_config &config)
void AddObjectToList(vector< t_listPtr > &list, t_object &object, t_config &config)
int real2print(double x, t_config *config)
double point2point_distance(double xi, double yi, double xf, double yf)
Full description of and tracked object.
Definition: mtt_common.h:394
unsigned int GetListSize(t_list *list)
void AssociateObjects(vector< t_listPtr > &list, vector< t_objectPtr > &objects, t_config &config, t_flag &flags)
void PrintNobjects(t_list *list)
This structure contains object information.
Definition: mtt_common.h:210
void SetSearchArea(t_list &list, t_config &config)
void SingleObjectAssociation(t_list &list, t_object &object)
void AllocPath(t_path *path, t_config &config)
void AllocMotionModels(t_list &list, t_config &config)
Definition: mtt_kalman.cpp:415
This structure contains global configurations parameters.
Definition: mtt_common.h:137
void RemoveFromList(vector< t_listPtr > &list, unsigned int id)
Header with common structures and includes.
Object classification in regard to velocity and occlusion.
Definition: mtt_common.h:359
double CheckAssociationCriteria(t_list &list, t_object &object)
void SetOjectMorphology(t_list &list, t_object &object)
void AddPointPath(t_path *path, double x, double y)
This structure contains global flags parameters.
Definition: mtt_common.h:369
void InitialiseTimers(t_timers *timer)


mtt
Author(s): Jorge Almeida
autogenerated on Mon Mar 2 2015 01:32:18