README.libaom 1.4 KB

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