32 #ifndef COLORFILTER_FPS
33 #define COLORFILTER_FPS 0
38 #ifndef COLORFILTER_SEND_OBSTACLE
39 #define COLORFILTER_SEND_OBSTACLE FALSE
56 #include "subsystems/abi.h"
66 color_lum_min, color_lum_max,
67 color_cb_min, color_cb_max,
68 color_cr_min, color_cr_max
void colorfilter_init(void)
struct video_listener * cv_add_to_device(struct video_config_t *device, cv_function func, uint16_t fps)
struct video_listener * listener
Image helper functions like resizing, color filter, converters...
#define COLORFILTER_FPS
Default FPS (zero means run at camera fps)
struct image_t * colorfilter_func(struct image_t *img)
#define OBS_DETECTION_COLOR_ID
uint16_t image_yuv422_colorfilt(struct image_t *input, struct image_t *output, uint8_t y_m, uint8_t y_M, uint8_t u_m, uint8_t u_M, uint8_t v_m, uint8_t v_M)
Filter colors in an YUV422 image.
#define COLORFILTER_SEND_OBSTACLE
Default sonar/agl to use in opticflow visual_estimator.