Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
act_fast.h
Go to the documentation of this file.
1 /*
2 Copyright (c) 2017, Guido de Croon, TU Delft
3 All rights reserved.
4 */
5 
25 #ifndef ACT_FAST_H
26 #define ACT_FAST_H
27 
28 struct agent_t {
29  float x;
30  float y;
31  int active;
34 };
35 
36 #include "std.h"
37 #include "lib/vision/image.h"
38 
39 void act_fast(struct image_t *img, uint8_t fast_threshold, uint16_t *num_corners, struct point_t **ret_corners,
40  uint16_t n_agents, uint16_t n_time_steps, float long_step, float short_step, int min_gradient,
41  int gradient_method, int camera_id);
42 
43 #endif
agent_t::preferred_dir_x
float preferred_dir_x
Definition: act_fast.h:32
agent_t::active
int active
Definition: act_fast.h:31
n_agents
uint16_t n_agents[2]
Definition: opticflow_calculator.c:59
uint16_t
unsigned short uint16_t
Definition: types.h:16
n_time_steps
uint16_t n_time_steps[2]
Definition: opticflow_calculator.c:58
std.h
agent_t::preferred_dir_y
float preferred_dir_y
Definition: act_fast.h:33
agent_t
Definition: act_fast.h:28
uint8_t
unsigned char uint8_t
Definition: types.h:14
image.h
agent_t::x
float x
Definition: act_fast.h:29
agent_t::y
float y
Definition: act_fast.h:30
point_t
Definition: image.h:58
act_fast
void act_fast(struct image_t *img, uint8_t fast_threshold, uint16_t *num_corners, struct point_t **ret_corners, uint16_t n_agents, uint16_t n_time_steps, float long_step, float short_step, int min_gradient, int gradient_method, int camera_id)
Do an ACT-FAST corner detection.
Definition: act_fast.c:54
image_t
Definition: image.h:44