46  for (i = 0; i < 
output->w; i++) {
 
   52  for (y = 1; y < input->
h; y++) {
 
   53    for (x = 0; x < input->
w / 2; x++) {
 
   55      uint8_t p_y = (input_buf[y * input->
w * 2 + x * 4 + 1] + input_buf[y * input->
w * 2 + x * 4 + 3]) / 2;
 
   57      uint8_t p_v = input_buf[y * input->
w * 2 + x * 4 + 2];
 
   71        output_buf[y * 
output->w + x] = 0xFFFF;
 
   76      lid = output_buf[(y - 1) * 
output->w + x];
 
   86      lid = output_buf[(y - 1) * 
output->w + x + 1];
 
  126      lid = output_buf[(y - 1) * 
output->w + x - 1];
 
  186  for (y = 0; y < input->
h; y++) {
 
  187    for (x = 0; x < input->
w / 2; x++) {
 
 
void image_labeling(struct image_t *input, struct image_t *output, struct image_filter_t *filters, uint8_t filters_cnt, struct image_label_t *labels, uint16_t *labels_count)
Parse UYVY images and make a list of blobs of connected pixels.
void * buf
Image buffer (depending on the image_type)
static struct FirstOrderLowPass filters[SYS_ID_CHIRP_NB_AXES]
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.
uint16_t f
Camera baseline, in meters (i.e. horizontal distance between the two cameras of the stereo setup)