Main Page   Compound List   File List   Compound Members   File Members  

sadie_short.h

00001 /* Enable the SADIE libraries to be linked to C++ code */
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;          /* Pixel data type */
00015 
00016 
00017 typedef struct {                        /* Image data structure */
00018     short  nbnd;                        /* Number of bands */
00019     short  nlin;                        /* Number of lines */
00020     short  npix;                        /* Number of pixels/line */
00021     short  nbit;                        /* Number of bits/pixel (for disk I/O) */
00022     PIXEL_SHORT  gmin;                        /* Minimum gray level in image */
00023     PIXEL_SHORT  gmax;                        /* Maximum gray level in image */
00024     char   pstr[1];                     /* Length byte for Pascal strings */
00025     char   text[TLEN-1];                /* Image/window name */
00026     ROI    *regions;                    /* List of defined regions of interest */
00027     PIXEL_SHORT  ***data;                     /* Pointer to the data itself */
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

Generated on Tue Jun 22 14:32:08 2004 for trees by doxygen1.2.18