watershed.c 534 B

123456789101112131415161718192021222324
  1. /* PURPOSE: Develop the image segments */
  2. /* Currently only region growing is implemented */
  3. #include <stdlib.h>
  4. #include <string.h>
  5. #include <float.h>
  6. #include <math.h>
  7. #include <time.h>
  8. #include <grass/gis.h>
  9. #include <grass/glocale.h>
  10. #include <grass/raster.h>
  11. #include <grass/segment.h> /* segmentation library */
  12. #include <grass/rbtree.h> /* Red Black Tree library functions */
  13. #include "iseg.h"
  14. int watershed(struct globals *globals)
  15. {
  16. G_fatal_error(_("Watershed is not yet implemented"));
  17. return FALSE;
  18. }