ncb.h 362 B

12345678910111213141516
  1. #include <grass/raster.h>
  2. struct ncb /* neighborhood control block */
  3. {
  4. DCELL **buf; /* for reading raster map */
  5. int *value; /* neighborhood values */
  6. int nsize; /* size of the neighborhood */
  7. int dist; /* nsize/2 */
  8. struct Categories cats;
  9. char **mask;
  10. DCELL **weights;
  11. const char *oldcell;
  12. };
  13. extern struct ncb ncb;