home *** CD-ROM | disk | FTP | other *** search
/ Practical Algorithms for Image Analysis / Practical Algorithms for Image Analysis.iso / TARFILE.GZ / tarfile / ch_4.6 / xph / xph.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-09-11  |  793 b   |  45 lines

  1. /* 
  2.  * xph.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 <stdlib.h>
  11. #include <math.h>
  12. #include <malloc.h>
  13. #include <string.h>
  14. #include <stdarg.h>
  15.  
  16. #include "ip.h"
  17.  
  18. #define    N_VERTEX    46L            /* number of distinct curv pts */
  19. #define    X_ORG        300
  20. #define    Y_ORG        140
  21. #define    N_MOM        15
  22.  
  23. #define    SQ2        1.414213562
  24.  
  25. #define    NA_MAX        128             /* max no allowed vertices in ph.c */
  26.  
  27. #define    ON        1
  28. #define    OFF        0
  29. #undef    ECHO_INPUT
  30.  
  31. #define    DISPL_PAGE    1
  32. #define    RESET        ON
  33. #define    EVAL_MOM    ON
  34.  
  35. #define    DEBUG
  36. #undef    DBG_MEM
  37. #define FILE_EXT ".zdt"
  38.  
  39. /*
  40.  * Function prototypes
  41.  */
  42. extern int main (int argc, char **argv);
  43. extern int readDeltas (char *, float **, float **);
  44. extern void usage (char *);
  45.