Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
cv_georeference.h File Reference
#include "std.h"
#include <stdint.h>
Include dependency graph for cv_georeference.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  camera_frame_t

Functions

void georeference_init (void)
void georeference_run (void)
void georeference_project (struct camera_frame_t *tar, int wp)
void georeference_filter (bool kalman, int wp, int length)

Variables

int32_t focus_length

Detailed Description

Author
C. De Wagter Geo-reference computer vision detections

Definition in file cv_georeference.h.


Data Structure Documentation

◆ camera_frame_t

struct camera_frame_t

Definition at line 37 of file cv_georeference.h.

Data Fields
int32_t f Camera Focal length in [px].
int32_t h Frame height [px].
int32_t px Target pixel coordinate (left = 0).
int32_t py Target pixel coordinate (top = 0).
int32_t w Frame width [px].

Function Documentation

◆ georeference_filter()

void georeference_filter ( bool kalman,
int wp,
int length )

Definition at line 119 of file cv_georeference.c.

References DefaultChannel, DefaultDevice, geo, h(), VECT3_ADD, VECT3_COPY, VECT3_SDIV, VECT3_SMUL, VECT3_SUB, and waypoint_set_xy_i().

Referenced by cv_blob_locator_event(), and georeference_run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ georeference_init()

void georeference_init ( void )
extern

Definition at line 180 of file cv_georeference.c.

References focus_length, geo, INT32_VECT3_ZERO, and VECT3_ASSIGN.

Referenced by cv_blob_locator_init(), cv_blob_locator_start(), start_vision(), start_vision_land(), and stop_vision().

Here is the caller graph for this function:

◆ georeference_project()

◆ georeference_run()

void georeference_run ( void )
extern

Definition at line 155 of file cv_georeference.c.

References FALSE, focus_length, georeference_filter(), georeference_project(), and target.

Here is the call graph for this function:

Variable Documentation

◆ focus_length

int32_t focus_length
extern

Definition at line 153 of file cv_georeference.c.

Referenced by georeference_init(), and georeference_run().