tlhfcs.h file for this module. Includes, global vars, funtion prototypes, etc. More...
#include <lar/tlhfcs_interface.h>
#include <lar/tlcstm_messages.h>
#include <lar/soundplayer_interface.h>
#include "tlhfcs_init.h"
Data Structures | |
struct | TYPE_ligths_cascade |
TYPE_ligths_cascade this type includes the cascade location and data. More... | |
struct | TYPE_image |
struct | TYPE_color |
Contains arrays of 3 elements for some colors that are frequently used. This color values have three integer values corresponding to the RGB values that are going to be inserted in the cvColor() function. More... | |
struct | TYPE_ligths_imgs |
TYPE_ligths_imgs includes all images used in this module. More... | |
struct | TYPE_hsv_limits |
Type_hsv_limits where is specified the upper and lower limits in hsv space to define a color. More... | |
struct | TYPE_decision_limits |
TYPE_decision_limits struct where is defined the decision limits for color pixel ratio and avg around the sign inside roi. More... | |
struct | TYPE_sign_analysis |
TYPE_sign_in_img struct where is stated all roi for the detected sign. More... | |
struct | TYPE_ligths_analysis |
TYPE_ligths_analysis includes all data related with ligths analysis. More... | |
struct | TYPE_detected_sign |
Defines | |
#define | _DO_NOT_USE_OPENCV_ 0 |
#define | _DO_NOT_USE_CARMEN_ 0 |
#define | MAX_OBJ 30 |
Functions | |
void | shutdown_module (int x) |
makes a clean shutdown of the program | |
void | heartbeat_handler_n0 (carmen_heartbeat_message *heartbeat_msg) |
void | heartbeat_handler_n1 (carmen_heartbeat_message *heartbeat_msg) |
void | heartbeat_handler_n2 (carmen_heartbeat_message *heartbeat_msg) |
void | heartbeat_handler_n3 (carmen_heartbeat_message *heartbeat_msg) |
void | handler_load_rc_haar_cascade (void) |
void | handler_load_gau_haar_cascade (void) |
void | handler_load_yal_haar_cascade (void) |
void | handler_load_yar_haar_cascade (void) |
void | handler_load_park_haar_cascade (void) |
void | handler_sign_in_height_update (void) |
handler that update the image size after acquision | |
void | handler_sign_size_update (void) |
handler that update the min sign size | |
void | handler_bavg_weight_update (void) |
handler that update the black average weight in glocal decision | |
void | handler_color_weight_update (void) |
handler that update the color weight in glocal decision | |
void | detect_and_draw_objects (int, CvScalar) |
void | draw_cross (IplImage *src, int line, int column, int lenght, int *color) |
Draws a cross in the src image. | |
void | draw_gui_sign_data (TYPE_sign_analysis *SA, IplImage *src, int *lx, int *ly, int img_height, CvFont *tmp_font, int *color_line, int *color_text, char *sign_name, int search) |
Draws all text about the sign in gui image. | |
void | detect_haar_signal (CvHaarClassifierCascade *classifier, TYPE_image *srcRGB, TYPE_sign_analysis *sign_analysis, TYPE_executionflags *flgs, int *color) |
void | color_segmentation (TYPE_hsv_limits *hsv_limits, const IplImage *srcRGB, IplImage *vf, double *ratio, double *b_avg, char debug, char *name) |
void | refresh_windows (void) |
refresh windows information | |
void | init_color_table (TYPE_color *p) |
Initializes TypeColor struct with the proper RGB values. | |
void | find_tl_sign (TYPE_sign_analysis *sign_analysis, TYPE_hsv_limits *, int *color, TYPE_executionflags *flgs, char *name) |
void | get_image_from_camera3 (void) |
get image from camera3 | |
void | init_color_values (void) |
just work when enter in debug mode and is used to define the color limits (hsv limits for each color). pressing distinct is possible to adjust the | |
Variables | |
TYPE_executionflags | flags |
Include the interface. | |
tlcstm_data_message | tl_msg |
TYPE_ligths_analysis | LA |
CvFont | Font |
CvFont | Font1 |
TYPE_color | color_table |
TYPE_detected_sign | detected_sign |
char | cascade_filename [1024] |
tlhfcs.h file for this module. Includes, global vars, funtion prototypes, etc.