Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
colorfilter.c File Reference
+ Include dependency graph for colorfilter.c:

Go to the source code of this file.

Functions

bool_t colorfilter_func (struct image_t *img)
 
void colorfilter_init (void)
 

Variables

uint8_t color_lum_min = 105
 
uint8_t color_lum_max = 205
 
uint8_t color_cb_min = 52
 
uint8_t color_cb_max = 140
 
uint8_t color_cr_min = 180
 
uint8_t color_cr_max = 255
 
int color_count = 0
 

Function Documentation

bool_t colorfilter_func ( struct image_t img)

Definition at line 45 of file colorfilter.c.

References color_cb_max, color_cb_min, color_count, color_cr_max, color_cr_min, color_lum_max, color_lum_min, FALSE, and image_yuv422_colorfilt().

Referenced by colorfilter_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void colorfilter_init ( void  )

Definition at line 57 of file colorfilter.c.

References colorfilter_func(), and cv_add().

+ Here is the call graph for this function:

Variable Documentation

uint8_t color_cb_max = 140

Definition at line 36 of file colorfilter.c.

Referenced by colorfilter_func().

uint8_t color_cb_min = 52

Definition at line 35 of file colorfilter.c.

Referenced by colorfilter_func().

int color_count = 0

Definition at line 41 of file colorfilter.c.

Referenced by colorfilter_func().

uint8_t color_cr_max = 255

Definition at line 38 of file colorfilter.c.

Referenced by colorfilter_func().

uint8_t color_cr_min = 180

Definition at line 37 of file colorfilter.c.

Referenced by colorfilter_func().

uint8_t color_lum_max = 205

Definition at line 34 of file colorfilter.c.

Referenced by colorfilter_func().

uint8_t color_lum_min = 105

Definition at line 33 of file colorfilter.c.

Referenced by colorfilter_func().