Functions
mtt_draw.cpp File Reference

Draw functions for the old mtt tracking. More...

#include <mtt/mtt_draw.h>
Include dependency graph for mtt_draw.cpp:

Go to the source code of this file.

Functions

void draw_ambient (IplImage *img, t_config *config, enum_background_style style, int laser)
 Draw background ambient. More...
 
void draw_clusters (IplImage *img, t_cluster **clusters, int size, t_data *data, t_config *config)
 Draw all cluster points connect by lines. More...
 
void draw_clusters_area (IplImage *img, t_cluster **clusters, int size, t_config *config, t_data *data)
 Draw the cluster inner area. More...
 
void draw_clusters_centers (IplImage *img, t_cluster **clusters, int size, t_config *config)
 Draw a point on the cluster in r minimum and mean theta. More...
 
void draw_clusters_npoints (IplImage *img, t_cluster **clusters, int size, t_data *data, t_config *config)
 Prints the cluster number of points. More...
 
void draw_end_lines (IplImage *img, t_cluster **clusters, int size, t_data *data, t_config *config)
 Draw clusters end lines, lines from the center of the image to the first and last point of the cluster. More...
 
void draw_midle_circle (IplImage *img, t_config *config)
 Draw a circle on the midle of the image. More...
 
void draw_objects (IplImage *img, t_object **objects, int size, CvScalar color, t_config *config)
 Draw objects lines. More...
 
void draw_objects_centers (IplImage *img, t_object **objects, int size, CvScalar color, t_config *config)
 Draws a point in objects centers. More...
 
void draw_objects_ids (IplImage *img, t_object **objects, int size, CvScalar color, t_config *config)
 Draw objects ID's in their centers. More...
 
void draw_oclusion_area (IplImage *img, t_object **list, int size, CvScalar color, t_config *config)
 Draw the cluster inner area. More...
 
void draw_raw_data (IplImage *img, t_data *data, CvScalar color, t_config *config)
 Draw raw data. More...
 
void draw_raw_data_acc (IplImage *img, t_data_acc *data_acc, CvScalar color, t_config *config)
 Draw raw data accumulator. More...
 
void drawarrow (int x0, int y0, double o, double lenght, IplImage *dst, CvScalar color, int thickness, int line_type, int shift)
 Draw arrow. More...
 
void DrawGlobal (char key, IplImage *img, t_config *config, t_data *data, t_object **objects, int object_size, t_list *list, t_flag *flags, int laser, bool raw_only)
 
void DrawListCenters (IplImage *img, t_list *list, CvScalar color, t_config *config)
 
void DrawListIds (IplImage *img, t_list *list, CvScalar color, t_config *config)
 
void DrawListPaths (IplImage *img, t_list *list, t_config *config)
 
void DrawSearchArea (IplImage *img, t_list *list, t_config *config)
 
void DrawVelocity (IplImage *img, t_list *list, t_config *config)
 

Detailed Description

Draw functions for the old mtt tracking.

Definition in file mtt_draw.cpp.

Function Documentation

void draw_ambient ( IplImage *  img,
t_config *  config,
enum_background_style  style,
int  laser 
)

Draw background ambient.

Parameters
imgImage to draw on
configgeneral config structure
stylestyle of the background ambient
laserid of the laser
Returns
void

Definition at line 507 of file mtt_draw.cpp.

void draw_clusters ( IplImage *  img,
t_cluster **  clusters,
int  size,
t_data *  data,
t_config *  config 
)

Draw all cluster points connect by lines.

Parameters
imgImage to draw on
clustersclusters to be drawn
sizenumber of clusters
datageneral data storage vector
configgeneral config structure
Returns
void

Definition at line 707 of file mtt_draw.cpp.

void draw_clusters_area ( IplImage *  img,
t_cluster **  clusters,
int  size,
t_config *  config,
t_data *  data 
)

Draw the cluster inner area.

Parameters
imgImage to draw on
clustersclusters to be drawn
sizenumber of clusters
configgeneral config structure
datageneral data storage vector
Returns
void

Definition at line 670 of file mtt_draw.cpp.

void draw_clusters_centers ( IplImage *  img,
t_cluster **  clusters,
int  size,
t_config *  config 
)

Draw a point on the cluster in r minimum and mean theta.

Parameters
imgImage to draw on
clustersclusters to be drawn
sizenumber of clusters
configgeneral config structure
Returns
void

Definition at line 596 of file mtt_draw.cpp.

void draw_clusters_npoints ( IplImage *  img,
t_cluster **  clusters,
int  size,
t_data *  data,
t_config *  config 
)

Prints the cluster number of points.

Parameters
imgImage to draw on
clustersclusters to be drawn
sizenumber of clusters
datageneral data storage vector
configgeneral config structure
Returns
void

Definition at line 474 of file mtt_draw.cpp.

void draw_end_lines ( IplImage *  img,
t_cluster **  clusters,
int  size,
t_data *  data,
t_config *  config 
)

Draw clusters end lines, lines from the center of the image to the first and last point of the cluster.

Parameters
imgImage to draw on
clustersclusters to be drawn
sizenumber of clusters
datageneral data storage vector
configgeneral config structure
Returns
void

Definition at line 447 of file mtt_draw.cpp.

void draw_midle_circle ( IplImage *  img,
t_config *  config 
)

Draw a circle on the midle of the image.

Parameters
imgImage to draw on
configgeneral config structure
Returns
void

Definition at line 582 of file mtt_draw.cpp.

void draw_objects ( IplImage *  img,
t_object **  objects,
int  size,
CvScalar  color,
t_config *  config 
)

Draw objects lines.

Parameters
imgImage to draw on
objectsObjects to be drawn
sizenumber of on_linesbjects
colorcolor to be used
configgeneral config structure
Returns
void

Definition at line 417 of file mtt_draw.cpp.

void draw_objects_centers ( IplImage *  img,
t_object **  objects,
int  size,
CvScalar  color,
t_config *  config 
)

Draws a point in objects centers.

Parameters
imgImage to draw on
objectsObjects to be drawn
sizenumber of objects
colorcolor to be used
configgeneral config structure
Returns
void

Definition at line 353 of file mtt_draw.cpp.

void draw_objects_ids ( IplImage *  img,
t_object **  objects,
int  size,
CvScalar  color,
t_config *  config 
)

Draw objects ID's in their centers.

Parameters
imgImage to draw on
objectsObjects to be drawn
sizenumber of objects
colorcolor to be used
configgeneral config structure
Returns
void

Definition at line 383 of file mtt_draw.cpp.

void draw_oclusion_area ( IplImage *  img,
t_object **  list,
int  size,
CvScalar  color,
t_config *  config 
)

Draw the cluster inner area.

Parameters
imgImage to draw on
sizenumber of objects
listlist of objects
colorcolor to draw
configgeneral config structure
Returns
void

Definition at line 626 of file mtt_draw.cpp.

void draw_raw_data ( IplImage *  img,
t_data *  data,
CvScalar  color,
t_config *  config 
)

Draw raw data.

Parameters
imgImage to draw on
datageneral data storage vector
colorcolor to be used
configgeneral config structure
Returns
void

Definition at line 743 of file mtt_draw.cpp.

void draw_raw_data_acc ( IplImage *  img,
t_data_acc *  data_acc,
CvScalar  color,
t_config *  config 
)

Draw raw data accumulator.

Parameters
imgImage to draw on
data_accgeneral data storage accumulator vector
colorcolor to be used
configgeneral config structure
Returns
void

Definition at line 772 of file mtt_draw.cpp.

void drawarrow ( int  x0,
int  y0,
double  o,
double  lenght,
IplImage *  dst,
CvScalar  color,
int  thickness,
int  line_type,
int  shift 
)

Draw arrow.

Parameters
x0start x position
y0start y position
oorientatio angle
lenghtlength of the arrow
dstdestination image
colorcolor of the arrow
thicknessthickness of the line
line_typeline type
shifti don't know what this is
Returns
void

Definition at line 798 of file mtt_draw.cpp.

void DrawGlobal ( char  key,
IplImage *  img,
t_config *  config,
t_data *  data,
t_object **  objects,
int  object_size,
t_list *  list,
t_flag *  flags,
int  laser,
bool  raw_only 
)

Definition at line 34 of file mtt_draw.cpp.

void DrawListCenters ( IplImage *  img,
t_list *  list,
CvScalar  color,
t_config *  config 
)

Definition at line 254 of file mtt_draw.cpp.

void DrawListIds ( IplImage *  img,
t_list *  list,
CvScalar  color,
t_config *  config 
)

Definition at line 308 of file mtt_draw.cpp.

void DrawListPaths ( IplImage *  img,
t_list *  list,
t_config *  config 
)

Definition at line 160 of file mtt_draw.cpp.

void DrawSearchArea ( IplImage *  img,
t_list *  list,
t_config *  config 
)

Definition at line 217 of file mtt_draw.cpp.

void DrawVelocity ( IplImage *  img,
t_list *  list,
t_config *  config 
)

Definition at line 278 of file mtt_draw.cpp.



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