Draw functions for the old mtt tracking. More...
#include <mtt/mtt_draw.h>
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. | |
| void | draw_clusters (IplImage *img, t_cluster **clusters, int size, t_data *data, t_config *config) |
| Draw all cluster points connect by lines. | |
| void | draw_clusters_area (IplImage *img, t_cluster **clusters, int size, t_config *config, t_data *data) |
| Draw the cluster inner area. | |
| 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. | |
| void | draw_clusters_npoints (IplImage *img, t_cluster **clusters, int size, t_data *data, t_config *config) |
| Prints the cluster number of points. | |
| 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. | |
| void | draw_midle_circle (IplImage *img, t_config *config) |
| Draw a circle on the midle of the image. | |
| void | draw_objects (IplImage *img, t_object **objects, int size, CvScalar color, t_config *config) |
| Draw objects lines. | |
| void | draw_objects_centers (IplImage *img, t_object **objects, int size, CvScalar color, t_config *config) |
| Draws a point in objects centers. | |
| void | draw_objects_ids (IplImage *img, t_object **objects, int size, CvScalar color, t_config *config) |
| Draw objects ID's in their centers. | |
| void | draw_oclusion_area (IplImage *img, t_object **list, int size, CvScalar color, t_config *config) |
| Draw the cluster inner area. | |
| void | draw_raw_data (IplImage *img, t_data *data, CvScalar color, t_config *config) |
| Draw raw data. | |
| void | draw_raw_data_acc (IplImage *img, t_data_acc *data_acc, CvScalar color, t_config *config) |
| Draw raw data accumulator. | |
| void | drawarrow (int x0, int y0, double o, double lenght, IplImage *dst, CvScalar color, int thickness, int line_type, int shift) |
| Draw arrow. | |
| 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) |
Draw functions for the old mtt tracking.
Definition in file mtt_draw.cpp.
| void draw_ambient | ( | IplImage * | img, | |
| t_config * | config, | |||
| enum_background_style | style, | |||
| int | laser | |||
| ) |
Draw background ambient.
| img | Image to draw on | |
| config | general config structure | |
| style | style of the background ambient | |
| laser | id of the laser |
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.
| img | Image to draw on | |
| clusters | clusters to be drawn | |
| size | number of clusters | |
| data | general data storage vector | |
| config | general config structure |
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.
| img | Image to draw on | |
| clusters | clusters to be drawn | |
| size | number of clusters | |
| config | general config structure | |
| data | general data storage vector |
Definition at line 670 of file mtt_draw.cpp.
Draw a point on the cluster in r minimum and mean theta.
| img | Image to draw on | |
| clusters | clusters to be drawn | |
| size | number of clusters | |
| config | general config structure |
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.
| img | Image to draw on | |
| clusters | clusters to be drawn | |
| size | number of clusters | |
| data | general data storage vector | |
| config | general config structure |
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.
| img | Image to draw on | |
| clusters | clusters to be drawn | |
| size | number of clusters | |
| data | general data storage vector | |
| config | general config structure |
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.
| img | Image to draw on | |
| config | general config structure |
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.
| img | Image to draw on | |
| objects | Objects to be drawn | |
| size | number of on_linesbjects | |
| color | color to be used | |
| config | general config structure |
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.
| img | Image to draw on | |
| objects | Objects to be drawn | |
| size | number of objects | |
| color | color to be used | |
| config | general config structure |
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.
| img | Image to draw on | |
| objects | Objects to be drawn | |
| size | number of objects | |
| color | color to be used | |
| config | general config structure |
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.
| img | Image to draw on | |
| size | number of objects | |
| list | list of objects | |
| color | color to draw | |
| config | general config structure |
Definition at line 626 of file mtt_draw.cpp.
Draw raw data.
| img | Image to draw on | |
| data | general data storage vector | |
| color | color to be used | |
| config | general config structure |
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.
| img | Image to draw on | |
| data_acc | general data storage accumulator vector | |
| color | color to be used | |
| config | general config structure |
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.
| x0 | start x position | |
| y0 | start y position | |
| o | orientatio angle | |
| lenght | length of the arrow | |
| dst | destination image | |
| color | color of the arrow | |
| thickness | thickness of the line | |
| line_type | line type | |
| shift | i don't know what this is |
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.
Definition at line 254 of file mtt_draw.cpp.
Definition at line 308 of file mtt_draw.cpp.
Definition at line 160 of file mtt_draw.cpp.
Definition at line 217 of file mtt_draw.cpp.
Definition at line 278 of file mtt_draw.cpp.