|
Bsoft 2.1.4
Bernard's software package
|
Header file for reading and writing SUPRIM files. More...
#include "rwimg.h"Classes | |
| union | REG |
| struct | SUPRIMhead |
Macros | |
| #define | F_AVG 0 |
| #define | BACKGROUND 0 |
| #define | ANG_SAMP 1 |
| #define | RAD_SAMP 2 |
| #define | O_ROW_SZ 3 |
| #define | O_COL_SZ 4 |
| #define | ROW_ORG 5 |
| #define | COL_ORG 6 |
| #define | MASK_RAD 7 |
| #define | F_NOTE_R 8 |
| #define | F_NOTE_I 9 |
| #define | SAMP_DIST 10 |
| #define | NSLICES 11 |
| #define | ENL_BP 12 |
| #define | X_FMAX 12 |
| #define | THE_BP 13 |
| #define | PHI_BP 14 |
| #define | FOUR_TR_CEN 15 |
| #define | GSBAR 15 |
| #define | X_NIMA 16 |
| #define | SYMP2 17 |
| #define | X_NPIX 17 |
| #define | X_NCLU 18 |
| #define | X_NCTR 19 |
| #define | X_NAME 20 |
| #define | X_LNAM 21 |
| #define | X_NTRM 21 |
| #define | X_NFAC 22 |
| #define | X_NTYP 23 |
| #define | FRTHDIM 24 |
| #define | X_NIMI 26 |
| #define | X_UFAC 27 |
| #define | X_WALL 28 |
| #define | SLICE_ORG 29 |
| #define | NUM_POLYS 31 |
| #define | X_FBEG 32 |
| #define | PSI_BP 40 |
| #define | X_TRP 70 |
| #define | R_ANGX 81 |
| #define | R_ANGY 82 |
| #define | R_ANGZ 83 |
| #define | R_NPROJ 84 |
| #define | XGLOB 90 |
| #define | YGLOB 91 |
| #define | ROTGLOB 92 |
| #define | XX_CELL 93 |
| #define | XY_CELL 94 |
| #define | YX_CELL 95 |
| #define | YY_CELL 96 |
| #define | IR_WINID 97 |
| #define | O_SLICE_SZ 98 |
| #define | CALIB 99 |
| #define | NAV 100 |
| #define | SUPRIMSIZE 548 |
| #define | MAXREG 128 |
Functions | |
| int | readSUPRIM (Bimage *p, int readdata) |
| Reading a SUPRIM map image file format. A 3D image format used in electron microscopy. Header size: 36 bytes basic fields 512 bytes additional fields called "registers" up to 1024 bytes of "trace" records File format extensions: .spm, .sup Byte order determination: Version and third dimension values must be less than 256*256. Data types: 1 = byte, 2 = float, 3 = complex float, 4 = run-length-encoded float, 5 = short, 6 = RGB, 7 = int, 8 = double. Transform type: Standard. More... | |
| int | writeSUPRIM (Bimage *p) |
| Writing a SUPRIM map image file format. A 3D image format used in electron microscopy. More... | |
Header file for reading and writing SUPRIM files.
Format: 3D image file format for the SUPRIM package
| #define ANG_SAMP 1 |
| #define BACKGROUND 0 |
| #define CALIB 99 |
| #define COL_ORG 6 |
| #define ENL_BP 12 |
| #define F_AVG 0 |
| #define F_NOTE_I 9 |
| #define F_NOTE_R 8 |
| #define FOUR_TR_CEN 15 |
| #define FRTHDIM 24 |
| #define GSBAR 15 |
| #define IR_WINID 97 |
| #define MASK_RAD 7 |
| #define MAXREG 128 |
| #define NAV 100 |
| #define NSLICES 11 |
| #define NUM_POLYS 31 |
| #define O_COL_SZ 4 |
| #define O_ROW_SZ 3 |
| #define O_SLICE_SZ 98 |
| #define PHI_BP 14 |
| #define PSI_BP 40 |
| #define R_ANGX 81 |
| #define R_ANGY 82 |
| #define R_ANGZ 83 |
| #define R_NPROJ 84 |
| #define RAD_SAMP 2 |
| #define ROTGLOB 92 |
| #define ROW_ORG 5 |
| #define SAMP_DIST 10 |
| #define SLICE_ORG 29 |
| #define SUPRIMSIZE 548 |
| #define SYMP2 17 |
| #define THE_BP 13 |
| #define X_FBEG 32 |
| #define X_FMAX 12 |
| #define X_LNAM 21 |
| #define X_NAME 20 |
| #define X_NCLU 18 |
| #define X_NCTR 19 |
| #define X_NFAC 22 |
| #define X_NIMA 16 |
| #define X_NIMI 26 |
| #define X_NPIX 17 |
| #define X_NTRM 21 |
| #define X_NTYP 23 |
| #define X_TRP 70 |
| #define X_UFAC 27 |
| #define X_WALL 28 |
| #define XGLOB 90 |
| #define XX_CELL 93 |
| #define XY_CELL 94 |
| #define YGLOB 91 |
| #define YX_CELL 95 |
| #define YY_CELL 96 |
| int readSUPRIM | ( | Bimage * | p, |
| int | readdata | ||
| ) |
Reading a SUPRIM map image file format. A 3D image format used in electron microscopy. Header size: 36 bytes basic fields 512 bytes additional fields called "registers" up to 1024 bytes of "trace" records File format extensions: .spm, .sup Byte order determination: Version and third dimension values must be less than 256*256. Data types: 1 = byte, 2 = float, 3 = complex float, 4 = run-length-encoded float, 5 = short, 6 = RGB, 7 = int, 8 = double. Transform type: Standard.
| *p | the image structure. |
| readdata | flag to activate reading of image data. |
| int writeSUPRIM | ( | Bimage * | p | ) |
Writing a SUPRIM map image file format. A 3D image format used in electron microscopy.
| *p | the image structure. |