Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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
49extern struct pano_unwrap_t pano_unwrap;
50
52extern struct image_t pano_unwrapped_image;
53
54extern void pano_unwrap_init(void);
55
56#endif
57
Image helper functions like resizing, color filter, converters...
void pano_unwrap_init(void)
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.