Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
opencv_contour.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2016 Roland Meertens and Peng Lu
3
*
4
* This file is part of Paparazzi.
5
*
6
* Paparazzi is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2, or (at your option)
9
* any later version.
10
*
11
* Paparazzi is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with paparazzi; see the file COPYING. If not, see
18
* <http://www.gnu.org/licenses/>.
19
*
20
*/
21
27
#ifndef OPENCV_CONTOUR_H
28
#define OPENCV_CONTOUR_H
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
33
34
struct
contour_estimation
{
35
float
contour_d_x
;
36
float
contour_d_y
;
37
float
contour_d_z
;
38
};
39
40
struct
contour_threshold
{
41
int
lower_y
,
upper_y
,
lower_u
,
upper_u
,
lower_v
,
upper_v
;
42
};
43
44
extern
struct
contour_estimation
cont_est
;
45
extern
struct
contour_threshold
cont_thres
;
46
47
void
find_contour
(
char
*img,
int
width,
int
height);
48
49
#ifdef __cplusplus
50
}
51
#endif
52
53
#endif
contour_estimation::contour_d_z
float contour_d_z
Definition:
opencv_contour.h:37
contour_threshold::upper_y
int upper_y
Definition:
opencv_contour.h:41
cont_thres
struct contour_threshold cont_thres
Definition:
opencv_contour.cpp:35
contour_estimation::contour_d_x
float contour_d_x
Definition:
opencv_contour.h:35
contour_threshold::lower_y
int lower_y
Definition:
opencv_contour.h:41
contour_estimation::contour_d_y
float contour_d_y
Definition:
opencv_contour.h:36
find_contour
void find_contour(char *img, int width, int height)
Definition:
opencv_contour.cpp:79
contour_threshold::lower_v
int lower_v
Definition:
opencv_contour.h:41
contour_threshold::lower_u
int lower_u
Definition:
opencv_contour.h:41
contour_threshold::upper_v
int upper_v
Definition:
opencv_contour.h:41
contour_threshold::upper_u
int upper_u
Definition:
opencv_contour.h:41
cont_est
struct contour_estimation cont_est
Definition:
opencv_contour.cpp:34
contour_estimation
Definition:
opencv_contour.h:34
contour_threshold
Definition:
opencv_contour.h:40
sw
airborne
modules
computer_vision
opencv_contour.h
Generated on Fri Nov 8 2024 14:10:45 for Paparazzi UAS by
1.9.1