index.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. * \file index.h
  3. *
  4. * \brief declaration of functions for r.li raster analysis
  5. *
  6. * \author Claudio Porta, Lucio Davide Spano, Serena Pallecchi students of Computer Science University of Pisa (Italy)
  7. * Commission from Faunalia Pontedera (PI) www.faunalia.it
  8. * Luca Delucchi and Duccio Rocchini, Fondazione Edmund Mach, Italy: r.li.pielou, r.li.renyi
  9. *
  10. *
  11. * This program is free software under the GPL (>=v2)
  12. * Read the COPYING file that comes with GRASS for details.
  13. *
  14. * \version 1.1
  15. *
  16. */
  17. /* #################################################
  18. ADD HERE INDEX DECLARATIONS
  19. ################################################# */
  20. /**
  21. * \brief calculate patch density index on selected area
  22. * the abstract function is patch_density= patch_number / area
  23. */
  24. int patch_density(int fd, char **par, struct area_entry *ad, double *result);
  25. int patch_number(int fd, char **par, struct area_entry *ad, double *result);
  26. int shape_index(int fd, char **par, struct area_entry *ad, double *result);
  27. int shannon(int fd, char **par, struct area_entry *ad, double *result);
  28. int pielou(int fd, char **par, struct area_entry *ad, double *result);
  29. int renyi(int fd, char **par, struct area_entry *ad, double *result);
  30. int simpson(int fd, char **par, struct area_entry *ad, double *result);
  31. int meanPatchSize(int fd, char **par, struct area_entry *ad, double *result);
  32. int meanPixelAttribute(int fd, char **par, struct area_entry *ad, double *result);
  33. int contrastWeightedEdgeDensity(int fd, char **par, struct area_entry *ad,
  34. double *result);
  35. int edgedensity(int fd, char **valore, struct area_entry *ad, double *result);
  36. int patchAreaDistributionCV(int fd, char **par, struct area_entry *ad, double *result);
  37. int patchAreaDistributionMN(int fd, char **par, struct area_entry *ad, double *result);
  38. int patchAreaDistributionSD(int fd, char **par, struct area_entry *ad, double *result);
  39. int patchAreaDistributionRANGE(int fd, char **par, struct area_entry *ad,
  40. double *result);
  41. int dominance(int fd, char **par, struct area_entry *ad, double *result);
  42. int richness(int fd, char **par, struct area_entry *ad, double *result);