Main Page | Class List | File List | Class Members | File Members

sadie_byte.h

00001 #ifndef SADIE_BYTE_H
00002 #define SADIE_BYTE_H 1
00003 
00004 #include "project_utilities.h"
00005 #include <sadie.h>
00006 
00007 BEGIN_C_DECLARATIONS
00008 
00009 typedef BYTE PIXEL_BYTE;
00010 
00014 typedef struct 
00015 {                    
00016   uint16_t   fileformat;      
00017   uint16_t   fileversion;     
00018   uint16_t   application;     
00019   uint16_t   appversion;      
00020   uint16_t   dataformat;      
00021   uint16_t   datapacking;     
00022   uint8_t    datarotation[4]; 
00023   uint32_t   npix;            
00024   uint32_t   nlin;            
00025   uint32_t   nbnd;            
00026   uint32_t   ntvl;            
00027   uint32_t   nbit;            
00028   PIXEL      gmin;            
00029   PIXEL      gmax;            
00030   BYTE       text[TLEN];      
00031   BYTE      ***data;          
00032 }                       IMAGE_BYTE;
00033 
00034 short CHECKIMG_BYTE (IMAGE_BYTE *);
00035 void  RELIMG_BYTE (IMAGE_BYTE **);
00036 void  RELMEM_BYTE (IMAGE_BYTE *);
00037 void  GETMEM_BYTE (uint32_t, uint32_t, uint32_t, IMAGE_BYTE **);
00038 int   sad_byte_header_write (IMAGE_BYTE *buf, FILE *fp);
00039 void  BYTEIMG2DISK (IMAGE_BYTE *, const char *);
00040 void  BYTEDISK2IMG (const char *, IMAGE_BYTE **);
00041 
00042 END_C_DECLARATIONS
00043  
00044 #endif /* !SADIE_BYTE_H */
00045 
00046 

Generated on Sat Dec 4 17:12:14 2004 for trees by  doxygen 1.3.9.1