edgedetection.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. /**************************************************************
  2. *
  3. * MODULE: v.lidar.edgedetection
  4. *
  5. * AUTHOR(S): Original version in GRASS 5.4 (s.edgedetection):
  6. * Maria Antonia Brovelli, Massimiliano Cannata,
  7. * Ulisse Longoni and Mirko Reguzzoni
  8. *
  9. * Update for GRASS 6.X and improvements:
  10. * Roberto Antolin and Gonzalo Moreno
  11. *
  12. * PURPOSE: Detection of object's edges on a LIDAR data set
  13. *
  14. * COPYRIGHT: (C) 2006 by Politecnico di Milano -
  15. * Polo Regionale di Como
  16. *
  17. * This program is free software under the
  18. * GNU General Public License (>=v2).
  19. * Read the file COPYING that comes with GRASS
  20. * for details.
  21. *
  22. **************************************************************/
  23. /*INCLUDES*/
  24. #include <grass/gis.h>
  25. #include <grass/vector.h>
  26. #include <grass/dbmi.h>
  27. #include <grass/raster.h>
  28. #include <grass/glocale.h>
  29. #include <grass/lidar.h>
  30. /*---------------------------------------------------------------------------------------*/
  31. int edge_detection(struct Cell_head, /**/
  32. struct bound_box, /**/
  33. double *, /**/
  34. double, /**/
  35. double, /**/
  36. double *, /**/
  37. double, /**/ double, /**/ double, /**/ double /**/);
  38. int Get_Gradient(struct Cell_head, /**/
  39. double, /**/ double, /**/ double *, /**/ double *);
  40. void classification(struct Map_info *, /**/
  41. struct Cell_head, /**/
  42. struct bound_box, /**/
  43. struct bound_box, /**/
  44. double **, /**/
  45. double *, /**/
  46. double *, /**/
  47. double, /**/
  48. double, /**/
  49. double, /**/
  50. double, /**/
  51. double, /**/
  52. int *, /**/ int, /**/ dbDriver *, /**/ char *, /**/ char *);
  53. int Insert(double, /**/ double, /**/ double, /**/ int, /**/ dbDriver *, /**/ char *);
  54. int UpDate(double, /**/ double, /**/ double, /**/ int, /**/ dbDriver *, /**/ char *);
  55. int Select(double *, /**/ double *, /**/ double *, /**/ int, /**/ dbDriver *, /**/ char *);
  56. int Insert_Interpolation(double, int, dbDriver *, char *);