32 #ifndef COLORFILTER_FPS
33 #define COLORFILTER_FPS 0
38 #ifndef COLORFILTER_SEND_OBSTACLE
39 #define COLORFILTER_SEND_OBSTACLE FALSE
56 #include "modules/core/abi.h"
#define OBS_DETECTION_COLOR_ID
static struct image_t * colorfilter_func(struct image_t *img, uint8_t camera_id)
struct video_listener * listener
#define COLORFILTER_SEND_OBSTACLE
Default sonar/agl to use in opticflow visual_estimator.
#define COLORFILTER_FPS
Default FPS (zero means run at camera fps)
void colorfilter_init(void)
struct video_listener * cv_add_to_device(struct video_config_t *device, cv_function func, uint16_t fps, uint8_t 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.
Image helper functions like resizing, color filter, converters...
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.