00001
00002 #ifdef __cplusplus
00003 extern "C" {
00004 #endif
00005
00006 #include <sadie.h>
00007 #include <sadie_byte.h>
00008
00009 #ifndef SADIE_SHORT_H
00010 #define SADIE_SHORT_H
00011
00012
00013
00014 typedef short PIXEL_SHORT;
00015
00016
00017 typedef struct {
00018 short nbnd;
00019 short nlin;
00020 short npix;
00021 short nbit;
00022 PIXEL_SHORT gmin;
00023 PIXEL_SHORT gmax;
00024 char pstr[1];
00025 char text[TLEN-1];
00026 ROI *regions;
00027 PIXEL_SHORT ***data;
00028 } IMAGE_SHORT;
00029
00030
00031
00032 extern short CHECKIMG_SHORT(IMAGE_SHORT*);
00033 extern void RELIMG_SHORT(IMAGE_SHORT**);
00034 extern void RELMEM_SHORT(IMAGE_SHORT*);
00035 extern void GETMEM_SHORT (short,short,short,IMAGE_SHORT**);
00036 extern void RANGE_SHORT (IMAGE_SHORT*);
00037
00038 extern void quicksort_short(short*, short, short);
00039 extern void quicksort2_short(short*, short, short);
00040
00041 #endif
00042
00043 #ifdef __cplusplus
00044 }
00045 #endif