Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
Find a IMAV pattern. More...
#include "imavmarker.h"
Go to the source code of this file.
Macros | |
#define | Img(X, Y) (source[(Y)*input->w*2+(X)*2+1]) |
Find the marker location. More... | |
#define | Out(X, Y) (source[(Y)*input->w*2+(X)*2]) |
Functions | |
int | AbsDiff (int A, int B) |
struct marker_deviation_t | marker (struct image_t *input, uint8_t M) |
Find a IMAV pattern.
Definition in file imavmarker.c.
#define Img | ( | X, | |
Y | |||
) | (source[(Y)*input->w*2+(X)*2+1]) |
Find the marker location.
[in] | *input | The input image to filter |
[in] | M | The distance between the pixel of interest and farthest neighbor pixel [pixel] |
Definition at line 39 of file imavmarker.c.
Referenced by marker().
#define Out | ( | X, | |
Y | |||
) | (source[(Y)*input->w*2+(X)*2]) |
Definition at line 40 of file imavmarker.c.
Referenced by marker().
|
inline |
Definition at line 43 of file imavmarker.c.
Referenced by marker().
struct marker_deviation_t marker | ( | struct image_t * | input, |
uint8_t | M | ||
) |
Definition at line 51 of file imavmarker.c.
References AbsDiff(), if(), Img, marker_deviation_t::inlier, Out, marker_deviation_t::x, and marker_deviation_t::y.
Referenced by cv_marker_func().