home *** CD-ROM | disk | FTP | other *** search
/ Practical Algorithms for Image Analysis / Practical Algorithms for Image Analysis.iso / CH_2.5 / RGB2GRAY / RGB2GRAY.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-09-11  |  588 b   |  29 lines

  1. /* 
  2.  * rgb2gray.h
  3.  * 
  4.  * Practical Algorithms for Image Analysis
  5.  * 
  6.  * Copyright (c) 1997, 1998, 1999 MLMSoftwareGroup, LLC
  7.  */
  8. #ifndef _RGB2GRAY_H_
  9. #define    _RGB2GRAY_H_
  10.  
  11. #include <stdio.h>
  12. #include <math.h>
  13. #include <stdlib.h>
  14. #include <string.h>
  15. #include "misc.h"
  16. #include "images.h"
  17. #include "tiffimage.h"          /* tiff file format info */
  18.  
  19. #if defined(WIN32)
  20. #define M_PI 3.1415926535
  21. #endif
  22.  
  23. /* function prototypes */
  24. extern int input (int argc, char *argv[], char *type);
  25. extern void usage (char *progname);
  26. extern void main (int argc, char *argv[]);
  27.  
  28. #endif /* _RGB2GRAY_H_ */
  29.