|
Paparazzi UAS
v5.12_stable-4-g9b43e9b
Paparazzi is a free software Unmanned Aircraft System.
|
#include "opencv_contour.h"#include <opencv2/core/core.hpp>#include <opencv2/imgproc/imgproc.hpp>#include "opencv_image_functions.h"
Include dependency graph for opencv_contour.cpp:Go to the source code of this file.
Functions | |
| RNG | rng (12345) |
| void | yuv_opencv_to_yuv422 (Mat image, char *img, int width, int height) |
| void | uyvy_opencv_to_yuv_opencv (Mat image, Mat image_in, int width, int height) |
| void | find_contour (char *img, int width, int height) |
Variables | |
| struct contour_estimation | cont_est |
| struct contour_threshold | cont_thres |
Definition in file opencv_contour.cpp.
| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| RNG rng | ( | 12345 | ) |
| void uyvy_opencv_to_yuv_opencv | ( | Mat | image, |
| Mat | image_in, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 56 of file opencv_contour.cpp.
| void yuv_opencv_to_yuv422 | ( | Mat | image, |
| char * | img, | ||
| int | width, | ||
| int | height | ||
| ) |
Definition at line 40 of file opencv_contour.cpp.
| 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().