Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
cv_georeference.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) C. De Wagter
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
*/
26
#ifndef CV_GEOREFERENCE_H
27
#define CV_GEOREFERENCE_H
28
29
#include "
std.h
"
30
#include <stdint.h>
31
32
extern
int32_t
focus_length
;
33
34
extern
void
georeference_init
(
void
);
35
extern
void
georeference_run
(
void
);
36
37
struct
camera_frame_t
{
38
int32_t
w
;
39
int32_t
h
;
40
int32_t
f
;
41
int32_t
px
;
42
int32_t
py
;
43
};
44
45
void
georeference_project
(
struct
camera_frame_t
*tar,
int
wp);
46
void
georeference_filter
(
bool
kalman,
int
wp,
int
length);
47
48
49
#endif
50
georeference_project
void georeference_project(struct camera_frame_t *tar, int wp)
Definition:
cv_georeference.c:53
camera_frame_t
Definition:
cv_georeference.h:37
georeference_filter
void georeference_filter(bool kalman, int wp, int length)
Definition:
cv_georeference.c:119
camera_frame_t::px
int32_t px
Target pixel coordinate (left = 0)
Definition:
cv_georeference.h:41
camera_frame_t::py
int32_t py
Target pixel coordinate (top = 0)
Definition:
cv_georeference.h:42
std.h
georeference_run
void georeference_run(void)
Definition:
cv_georeference.c:155
camera_frame_t::w
int32_t w
Frame width [px].
Definition:
cv_georeference.h:38
georeference_init
void georeference_init(void)
Definition:
cv_georeference.c:180
int32_t
signed long int32_t
Definition:
types.h:19
camera_frame_t::f
int32_t f
Camera Focal length in [px].
Definition:
cv_georeference.h:40
focus_length
int32_t focus_length
Definition:
cv_georeference.c:153
camera_frame_t::h
int32_t h
Frame height [px].
Definition:
cv_georeference.h:39
sw
airborne
modules
computer_vision
cv_georeference.h
Generated on Tue Feb 1 2022 13:51:14 for Paparazzi UAS by
1.8.17