Bsoft
2.1.0
Bernard's software package
rwSPE.h
Go to the documentation of this file.
1
11
#include "
rwimg.h
"
12
13
#define SPESIZE 4100 // Size of the SPE header (constant)
14
15
16
struct
SPEhead
{
// file header for SPE data
17
short
pad1
[10];
// 0 0
18
char
date
[10];
// 10 20 Date
19
short
pad2
[6];
// 15 30
20
short
xdim
;
// 21 42 X size
21
short
pad3
[32];
// 22 44
22
short
datatype
;
// 54 108 0=float, 1=int, 2=short, 3=unsigned short
23
short
pad4
[45];
// 55 110
24
char
Comments
[400];
// 100 200
25
short
pad5
[28];
// 300 600
26
short
ydim
;
// 328 656 Y size
27
char
pad6
[788];
// 329 658
28
short
NumFrames
;
// 723 1446 Number of frames
29
float
MaxIntensity
;
// 725 1450 max intensity of data
30
float
MinIntensity
;
// 727 1454 min intensity of data
31
short
pad7
[1321];
// 729 1458 Padding
32
} ;
33
34
// I/O prototypes
35
int
readSPE
(
Bimage
* p,
int
readdata,
int
img_select);
36
int
writeSPE
(
Bimage
* p);
SPEhead::Comments
char Comments[400]
Definition:
rwSPE.h:24
SPEhead::pad5
short pad5[28]
Definition:
rwSPE.h:25
SPEhead
Definition:
rwSPE.h:16
SPEhead::pad2
short pad2[6]
Definition:
rwSPE.h:19
SPEhead::MaxIntensity
float MaxIntensity
Definition:
rwSPE.h:29
SPEhead::date
char date[10]
Definition:
rwSPE.h:18
SPEhead::pad6
char pad6[788]
Definition:
rwSPE.h:27
SPEhead::MinIntensity
float MinIntensity
Definition:
rwSPE.h:30
writeSPE
int writeSPE(Bimage *p)
Writing a SPE image file format.
Definition:
rwSPE.cpp:119
SPEhead::pad3
short pad3[32]
Definition:
rwSPE.h:21
Bimage
General image parameter class.
Definition:
Bimage.h:177
SPEhead::pad1
short pad1[10]
Definition:
rwSPE.h:17
rwimg.h
Header file for 2D and 3D image I/O.
SPEhead::pad4
short pad4[45]
Definition:
rwSPE.h:23
SPEhead::ydim
short ydim
Definition:
rwSPE.h:26
SPEhead::datatype
short datatype
Definition:
rwSPE.h:22
SPEhead::xdim
short xdim
Definition:
rwSPE.h:20
readSPE
int readSPE(Bimage *p, int readdata, int img_select)
Reading a SPE image file format.
Definition:
rwSPE.cpp:33
SPEhead::NumFrames
short NumFrames
Definition:
rwSPE.h:28
SPEhead::pad7
short pad7[1321]
Definition:
rwSPE.h:31
include
rwSPE.h
Generated on Mon Oct 26 2020 09:24:41 for Bsoft by
1.8.20