Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
pano_unwrap.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) Tom van Dijk
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 PANO_UNWRAP_H
27 #define PANO_UNWRAP_H
28 
30 
32 {
33  struct FloatVect2 center;
34  float radius_bottom;
35  float radius_top;
38 
41 
44 
46 
48 };
49 extern struct pano_unwrap_t pano_unwrap;
50 
52 extern struct image_t pano_unwrapped_image;
53 
54 extern void pano_unwrap_init(void);
55 
56 #endif
57 
uint16_t
unsigned short uint16_t
Definition: types.h:16
pano_unwrap_t::forward_direction
float forward_direction
Angle [deg] in raw image that corresponds to the forward direction, where 0 points right and the valu...
Definition: pano_unwrap.h:36
pano_unwrap_t::radius_top
float radius_top
Distance from center point to top of region of interest [fraction of image height].
Definition: pano_unwrap.h:35
pano_unwrap_t::height
uint16_t height
Height of unwrapped image. Set to 0 (default) to determine automatically from unwrapped_width,...
Definition: pano_unwrap.h:43
pano_unwrap_t::vertical_resolution
float vertical_resolution
Vertical resolution of raw image in the region of interest, used for attitude derotation [fraction of...
Definition: pano_unwrap.h:39
pano_unwrap_t::derotate_attitude
bool derotate_attitude
Set to true if roll/pitch movement should be corrected.
Definition: pano_unwrap.h:40
pano_unwrap_t
Definition: pano_unwrap.h:31
FloatVect2
Definition: pprz_algebra_float.h:49
pano_unwrap_t::center
struct FloatVect2 center
Center point of panoramic lens [fraction of image width, height].
Definition: pano_unwrap.h:33
image.h
pano_unwrap_t::overwrite_video_thread
bool overwrite_video_thread
Set to true if the unwrapped image should be returned to the video thread.
Definition: pano_unwrap.h:45
pano_unwrap_t::flip_horizontal
bool flip_horizontal
Set to true to horizontally flip the unwrapped image.
Definition: pano_unwrap.h:37
pano_unwrap_t::width
uint16_t width
Width of unwrapped image.
Definition: pano_unwrap.h:42
pano_unwrap
struct pano_unwrap_t pano_unwrap
Definition: pano_unwrap.c:78
pano_unwrapped_image
struct image_t pano_unwrapped_image
Unwrapped panoramic image.
Definition: pano_unwrap.c:99
pano_unwrap_t::radius_bottom
float radius_bottom
Distance from center point to bottom of region of interest [fraction of image height].
Definition: pano_unwrap.h:34
pano_unwrap_t::show_calibration
bool show_calibration
Draw calibration pattern on raw image.
Definition: pano_unwrap.h:47
image_t
Definition: image.h:44
pano_unwrap_init
void pano_unwrap_init(void)
Definition: pano_unwrap.c:313