home *** CD-ROM | disk | FTP | other *** search
/ Practical Algorithms for Image Analysis / Practical Algorithms for Image Analysis.iso / CH_4.4 / XPM / XPM.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-09-11  |  831 b   |  30 lines

  1. /* 
  2.  * xbdy.h
  3.  * 
  4.  * Practical Algorithms for Image Analysis
  5.  * 
  6.  * Copyright (c) 1997, 1998, 1999 MLMSoftwareGroup, LLC
  7.  */
  8.  
  9. #include <stdio.h>
  10. #include <malloc.h>
  11. #include <stdlib.h>
  12. #include <math.h>
  13. #include "ip.h"
  14. #include "bdy.h"
  15.  
  16. /* function prototypes */
  17.  
  18. /* xbdy.c */
  19. extern void usage (char *progname);
  20. extern void xfer_first_3_rows (unsigned char *window[], Image * imgIO);
  21. extern void xfer_next_row (unsigned char *window[], int ir, Image * imgIO);
  22. extern void border_err (int row, int col);
  23. extern void check_border (unsigned char *window[], int ir, int jmax, int imax, Image * imgIO);
  24. extern void init_structs ();
  25. extern int img_alloc (unsigned char *img[], int nr, int nc);
  26. extern void main (int, char **);
  27.  
  28. /* proc_poly.c */
  29. extern struct polygon *select_poly (struct polygon *poly_head, Image * imgIO, int value);
  30.