README.libaom
1URL: https://github.com/edrosten/fast-C-src
2Version: 391d5e939eb1545d24c10533d7de424db8d9c191
3License: BSD
4License File: LICENSE
5
6Description:
7Library to compute FAST features with non-maximum suppression.
8
9The files are valid C and C++ code, and have no special requirements for
10compiling, and they do not depend on any libraries. Just compile them along with
11the rest of your project.
12
13To use the functions, #include "fast.h"
14
15The corner detectors have the following prototype (where X is 9, 10, 11 or 12):
16
17xy* fastX_detect_nonmax(const unsigned char * data, int xsize, int ysize, int stride, int threshold, int* numcorners)
18
19Where xy is the following simple struct typedef:
20
21typedef struct
22{
23 int x, y;
24} xy;
25
26The image is passed in as a block of data and dimensions, and the list of
27corners is returned as an array of xy structs, and an integer (numcorners)
28with the number of corners returned. The data can be deallocated with free().
29Nonmaximal suppression is performed on the corners. Note that the stride
30is the number of bytes between rows. If your image has no padding, then this
31is the same as xsize.
32
33The detection, scoring and nonmaximal suppression are available as individual
34functions. To see how to use the individual functions, see fast.c
35
36Local Modifications:
37Add lines to turn off clang formatting for these files
38Remove Fast 10, 11 and 12
39Convert tabs to spaces
40Prefix global functions with "aom_"
41Add error checking
42