Paparazzi UAS  v7.0_unstable
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 
Image helper functions like resizing, color filter, converters...
Definition: image.h:44
void pano_unwrap_init(void)
Definition: pano_unwrap.c:313
float radius_top
Distance from center point to top of region of interest [fraction of image height].
Definition: pano_unwrap.h:35
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
bool overwrite_video_thread
Set to true if the unwrapped image should be returned to the video thread.
Definition: pano_unwrap.h:45
struct image_t pano_unwrapped_image
Unwrapped panoramic image.
Definition: pano_unwrap.c:99
uint16_t width
Width of unwrapped image.
Definition: pano_unwrap.h:42
struct pano_unwrap_t pano_unwrap
Definition: pano_unwrap.c:78
uint16_t height
Height of unwrapped image. Set to 0 (default) to determine automatically from unwrapped_width,...
Definition: pano_unwrap.h:43
bool derotate_attitude
Set to true if roll/pitch movement should be corrected.
Definition: pano_unwrap.h:40
bool show_calibration
Draw calibration pattern on raw image.
Definition: pano_unwrap.h:47
bool flip_horizontal
Set to true to horizontally flip the unwrapped image.
Definition: pano_unwrap.h:37
float vertical_resolution
Vertical resolution of raw image in the region of interest, used for attitude derotation [fraction of...
Definition: pano_unwrap.h:39
struct FloatVect2 center
Center point of panoramic lens [fraction of image width, height].
Definition: pano_unwrap.h:33
float radius_bottom
Distance from center point to bottom of region of interest [fraction of image height].
Definition: pano_unwrap.h:34
unsigned short uint16_t
Typedef defining 16 bit unsigned short type.
Definition: vl53l1_types.h:88