/* imdisplay.h */ /* Algorithm codes for maxmin routine */ #define MAXMIN_ABS 0 #define MAXMIN_SMOOTH 1 #define MAXMIN_NEIGHBOR 2 /* Function Prototypes */ int getpixel (void *array, int pixnum, int bitpix); void setpixel (void *array, int pixnum, int value, int bitpix); double maxmin (void *pic, int naxes[2], int bitpix, int *max, int *min, int edge, int algorithm); int fastmax (unsigned short *pic, const int naxes[2], const int edge); int fastmaxmin (unsigned short *pic, const int naxes[2], const int edge, int *minval);