| struct Bimage { | |
| Bimage* next; | // Pointer for linked lists |
| Bstring filename; | // File name |
| time_t time; | // Time in seconds since 00:00:00 January 1, 1970, (UTC) |
| unsigned int dataflag; | // Flag to force reading of the data |
| unsigned int fomflag; | // Flag to indicate presence of FOM block |
| unsigned long x, y, z, c; | // Dimensions, xyz and channels |
| unsigned long n, i; | // Number of images and image number (may be > n) |
| unsigned long px, py, pz; | // Page dimensions |
| unsigned long offset; | // Data offset |
| DataType datatype; | // Data type |
| TransformType transform; | // Transform type |
| ColorModel colormodel; | // Gray, RGB |
| unsigned int colors; | // Number of colours in map |
| char* colormap; | // Colour map for indexed images |
| float min, max; | // Limits |
| float avg, std; | // Average and standard deviation |
| float smin, smax; | // Limits for display |
| float scale; | // Scale of last density conversion operation |
| float shift; | // Shift of last density conversion operation before scaling |
| float resolution; | // Resolution limit of data - used for low-pass filtering |
| float ux, uy, uz; | // Voxel units (angstrom/pixel edge) |
| float ua, ub, uc; | // Unit cell dimensions (angstrom) |
| float alf, bet, gam; | // Unit cell angles (radian) |
| unsigned int spacegroup; | // Space group |
| Bstring symmetry; | // Symmetry string |
| char* data; | // Pointer to the data |
| float fommax; | // Maximum FOM |
| float* fom; | // Figures of merit |
| Bsub_image* image; | // Sub-images |
| Bstring label; | // Label block |
| } ; |