7.4.4
Image file with spectrum data
Spectrum (SPS) data can be recorded together with image data. The structure is
illustrated below.
■ Structure of Image file with spectrum data
Image Data Size + Spectrum Data Size × (N-1)
The structure of the image file with spectrum data is rather simple, spectrum data files
being added to the end of an image file. The file format of the image and spectrum data
is the same as the one discussed earlier. The number of added spectrum data files is
recorded in the image header file (short type variable at the address 0x0AD6).
■ Size of image file with spectrum data
File Size = SPM Image Data Size + N×SPS Spectrum Data Size
If, for instance, SPM image data = 512×512 pixels (normal measurement image) and
SPS spectrum data with 2048 measurement points = 2, the overall file size is:
SPM Image Data (531 412 bytes) + 2×SPS Spectrum Data (22 474 bytes)
= 576 360 bytes
TMPM5200-2
Image Data Size + Spectrum Data Size
0x0000
Image Data Size
EOF
7 APPENDIX
SPM Image Data
SPS Spectrum Data (1)
:
:
SPS Spectrum Data (N)
7-51
Need help?
Do you have a question about the JSPM-5200 and is the answer not in the manual?