Paparazzi UAS  v5.15_devel-230-gc96ce27
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
undistort_image.c File Reference
+ Include dependency graph for undistort_image.c:

Go to the source code of this file.

Macros

#define UNDISTORT_FPS   0
 Default FPS (zero means run at camera fps) More...
 
#define UNDISTORT_MIN_X_NORMALIZED   -2.0f
 Minimal normalized coordinate that will be shown in the undistorted image. More...
 
#define UNDISTORT_MAX_X_NORMALIZED   2.0f
 Maximal normalized coordinate that will be shown in the undistorted image. More...
 
#define UNDISTORT_CENTER_RATIO   1.00f
 Maximal normalized coordinate that will be shown in the undistorted image. More...
 

Functions

static struct image_tundistort_image_func (struct image_t *img)
 
void undistort_image_init (void)
 

Variables

float min_x_normalized
 
float max_x_normalized
 
float center_ratio
 
struct camera_intrinsics_t camera_intrinsics
 
struct video_listenerlistener = NULL
 
static float K [9]
 

Macro Definition Documentation

#define UNDISTORT_CENTER_RATIO   1.00f

Maximal normalized coordinate that will be shown in the undistorted image.

Definition at line 29 of file undistort_image.c.

Referenced by undistort_image_init().

#define UNDISTORT_FPS   0

Default FPS (zero means run at camera fps)

Definition at line 14 of file undistort_image.c.

Referenced by undistort_image_init().

#define UNDISTORT_MAX_X_NORMALIZED   2.0f

Maximal normalized coordinate that will be shown in the undistorted image.

Definition at line 24 of file undistort_image.c.

Referenced by undistort_image_init().

#define UNDISTORT_MIN_X_NORMALIZED   -2.0f

Minimal normalized coordinate that will be shown in the undistorted image.

Definition at line 19 of file undistort_image.c.

Referenced by undistort_image_init().

Function Documentation

Variable Documentation

struct camera_intrinsics_t camera_intrinsics

Definition at line 36 of file undistort_image.c.

Referenced by undistort_image_func(), and undistort_image_init().

float center_ratio

Definition at line 35 of file undistort_image.c.

Referenced by undistort_image_func(), and undistort_image_init().

struct video_listener* listener = NULL

Definition at line 38 of file undistort_image.c.

Referenced by undistort_image_init().

float max_x_normalized

Definition at line 34 of file undistort_image.c.

Referenced by undistort_image_func(), and undistort_image_init().

float min_x_normalized

Definition at line 33 of file undistort_image.c.

Referenced by undistort_image_func(), and undistort_image_init().