Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
opencv_contour.cpp File Reference
#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

Detailed Description

Author
Roland Meertens and Peng Lu

Definition in file opencv_contour.cpp.

Function Documentation

◆ find_contour()

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, grayscale_opencv_to_yuv422(), moments, and rng().

Referenced by contour_func().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rng()

RNG rng ( 12345 )

Referenced by find_contour().

Here is the caller graph for this function:

◆ uyvy_opencv_to_yuv_opencv()

void uyvy_opencv_to_yuv_opencv ( Mat image,
Mat image_in,
int width,
int height )

Definition at line 56 of file opencv_contour.cpp.

◆ yuv_opencv_to_yuv422()

void yuv_opencv_to_yuv422 ( Mat image,
char * img,
int width,
int height )

Definition at line 40 of file opencv_contour.cpp.

Variable Documentation

◆ cont_est

struct contour_estimation cont_est

Definition at line 34 of file opencv_contour.cpp.

Referenced by find_contour().

◆ cont_thres

struct contour_threshold cont_thres

Definition at line 35 of file opencv_contour.cpp.

Referenced by detect_contour_init(), and find_contour().