Paparazzi UAS
v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
|
Detects contours of an obstacle used in the autonomous drone racing. More...
Go to the source code of this file.
Data Structures | |
struct | contour_estimation |
struct | contour_threshold |
Functions | |
void | find_contour (char *img, int width, int height) |
Variables | |
struct contour_estimation | cont_est |
struct contour_threshold | cont_thres |
Detects contours of an obstacle used in the autonomous drone racing.
Definition in file opencv_contour.h.
struct contour_estimation |
Definition at line 34 of file opencv_contour.h.
Data Fields | ||
---|---|---|
float | contour_d_x | |
float | contour_d_y | |
float | contour_d_z |
struct contour_threshold |
Definition at line 40 of file opencv_contour.h.
Data Fields | ||
---|---|---|
int | lower_u | |
int | lower_v | |
int | lower_y | |
int | upper_u | |
int | upper_v | |
int | upper_y |
void find_contour | ( | char * | img, |
int | width, | ||
int | height | ||
) |
Find contours
Draw contours
Definition at line 79 of file opencv_contour.cpp.
References cont_est, cont_thres, contour_estimation::contour_d_x, contour_estimation::contour_d_y, contour_estimation::contour_d_z, grayscale_opencv_to_yuv422(), contour_threshold::lower_u, contour_threshold::lower_v, contour_threshold::lower_y, rng(), contour_threshold::upper_u, contour_threshold::upper_v, and contour_threshold::upper_y.
Referenced by contour_func().
struct contour_estimation cont_est |
Definition at line 34 of file opencv_contour.cpp.
Referenced by find_contour().
struct contour_threshold cont_thres |
Definition at line 35 of file opencv_contour.cpp.
Referenced by detect_contour_init(), and find_contour().