Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
blob_finder.h File Reference

Parse UYVY images and make a list of blobs of connected pixels. More...

+ Include dependency graph for blob_finder.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  image_filter_t
struct  image_label_t


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)

Detailed Description

Parse UYVY images and make a list of blobs of connected pixels.

Definition in file blob_finder.h.

Data Structure Documentation

struct image_filter_t

Definition at line 36 of file blob_finder.h.

Data Fields
uint8_t u_max
uint8_t u_min
uint8_t v_max
uint8_t v_min
uint8_t y_max
uint8_t y_min YUV color filter.
struct image_label_t

Definition at line 46 of file blob_finder.h.

+ Collaboration diagram for image_label_t:
Data Fields
struct point_t contour[512]
uint16_t contour_cnt
uint16_t corners[4]
uint8_t filter Which filter triggered this blob.
uint16_t id Blob number.
uint32_t pixel_cnt Number of pixels in the blob.
uint16_t x_min Top left corner.
uint32_t x_sum Sum of all x coordinates (used to find center of gravity)
uint16_t y_min
uint32_t y_sum

Function Documentation

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