vscshfba.h file for this module. Includes, global vars, funtion prototypes, etc. More...
#include <lar/vscshfba_interface.h>
#include <lar/tlcstm_messages.h>
#include <lar/soundplayer_interface.h>
#include <cvblobs/BlobResult.h>
Data Structures | |
struct | TYPE_cascade |
TYPE_ligths_cascade this type includes the cascade location and data. More... | |
struct | TYPE_image |
struct | TYPE_imgs |
TYPE_imgs struct with all images used for gui. More... | |
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_sign_data |
TYPE_sign_data struct that identifies a region that includes a possible sign. More... | |
struct | TYPE_sign_analysis |
TYPE_sign_in_img struct where is stated all roi for the detected sign. More... | |
struct | TYPE_weights |
TYPE_weights is a struct that includes the weights to be applied. More... | |
Defines | |
#define | _DO_NOT_USE_OPENCV_ 0 |
#define | _DO_NOT_USE_CARMEN_ 0 |
#define | AVG(a, b) (((a)+(b))/2) |
#define | SET_RED_ROI 0b00000001 |
#define | SET_WHITE_ROI 0b00000010 |
#define | SET_BLACK_ROI 0b00000100 |
#define | SET_BLUE_ROI 0b00001000 |
#define | NUM_OF_CYCLES 10 |
Functions | |
void | handler_load_W_N_cascade (void) |
handler connect to param_daemon, that will load WarningRoadNarrowsAhead cascade from the known location by param_daemon. this handler requires to use var from this module | |
void | handler_load_W_D_cascade (void) |
handler connect to param_daemon, that will load WarningRoadDipAhead cascade from the known location by param_daemon. this handler requires to use var from this module | |
void | handler_load_M_B_cascade (void) |
handler connect to param_daemon, that will load MandatoryBusLane cascade from the known location by param_daemon. this handler requires to use var from this module | |
void | handler_load_M_L_cascade (void) |
handler connect to param_daemon, that will load MandatoryTurnLightsOn cascade from the known location by param_daemon. this handler requires to use var from this module | |
void | handler_load_I_60_cascade (void) |
handler connect to param_daemon, that will load Information60SpeedRecommended cascade from the known location by param_daemon. this handler requires to use var from this module | |
void | handler_load_I_H_cascade (void) |
handler connect to param_daemon, that will load InformationHotelAhead cascade from the known location by param_daemon. this handler requires to use var from this module | |
void | handler_sign_size (void) |
void | shutdown_module (int x) |
makes a clean shutdown of the program | |
void | heartbeat_handler_n3 (carmen_heartbeat_message *heartbeat_msg) |
void | handler_sign_in_height_update (void) |
void | init_color_table (TYPE_color *p) |
Initializes TypeColor struct with the proper RGB values. | |
void | detect_haar_signal (TYPE_sign_analysis *sign_analysis, IplImage *src, IplImage *dst, TYPE_executionflags *flgs, int *color_cross, int *color_box) |
void | set_imageROIs (TYPE_imgs *imgs, CvRect *roi, char flg_set_roi) |
function that will set ROI at images for color detection | |
void | check_mask_size (TYPE_sign_data *sign, CvSize *size) |
void | draw_cross (IplImage *src, int line, int column, int lenght, int *color) |
Draws a cross in the src image. | |
void | reset_imageROIs (TYPE_imgs *imgs) |
function that will set ROI at images for color detection | |
void | check_haar_feature_tic (TYPE_sign_analysis *sign_analysis, double *num_cycles) |
check if the haar obj was reset and if not is deleted | |
void | draw_gui_sign_data (IplImage *src, int *lx, int *ly, int img_height, CvFont *tmp_font, int *color_line, int *color_text, TYPE_sign_analysis *sign, int xspace) |
Draws all text about the sign in gui image. | |
void | set_cam_params (int x) |
void | confirm_sign_tipology (TYPE_sign_analysis *sign_analysis, TYPE_imgs *imgs, TYPE_color_lim *color_lim, TYPE_weights *weights, TYPE_executionflags *flgs, int flg_ROIS) |
confirm the sign typology detected by haar feature | |
void | show_masks (TYPE_sign_analysis *sign_analysis, TYPE_executionflags *flgs, int *start_x_pos, int *start_y_pos, int step) |
show if required all the color mask used in classification in function confirm_sign_tipology | |
int | get_image_from_camera3 (IplImage *dst, int *update_size, int *heart_beat, CvSize *cap_img_size) |
get image from camera3 |
vscshfba.h file for this module. Includes, global vars, funtion prototypes, etc.