Shad-o-Scan User Manual, Rev04
44
Shad-o-Scan 3001/4501 X-Ray Detector
Teledyne DALSA
Name
Description
Bits
Bytes Endian
offset
Header Version Version number of header
16
2
Big
0
File Type
0. Defectmap
1. Darkmap
2. Gainmap
8
1
Big
1
Serial Number
Serial number of the detector
128
16
Big
2
CRC
CRC of total data file excluding the header
16
2
Little 18
Width
Number of columns in full resolution of the detector
16
2
Big
20
Height
Number of rows in full resolution of the detector
16
2
Big
22
Binning
bit 0-3: horizontal binning
bit 4-7: vertical binning
8
1
Big
24
FullWell
Pixel mask. One (defect) map can be valid for
multiple fullwells
Bit 0: Valid for HFW
Bit 2: Valid for LFW
8
1
Big
25
Readout
directiom
bit 0-3:
0. left to right
1. right to left
bit 4-7:
0. top to bottom
1. bottom to top
8
1
Big
26
DivisionFactor
/ PixelFormat
DivisionFactor: Nominal value of gainmap as a power
of 2. A value of 15 means a division of 2 to the
power of 15
PixelFormat: Number of bits in the detector output
for the dark map
8
1
Big
27
Extra1
Reserved
16
2
Big
28
Extra2
Reserved
16
2
Big
30
Total
256
32
32
Example of defect map file header (hex format):
•
Dark or Gain map (offset 1, 01 or 02)
•
Serialnumber: 20299705
•
Width: 658 (offset 20, 02 92)
•
Height: 656 (offset 22, 2 90)
•
Binning: Horizontal 2, vertical 2 (offset 24, 22)
•
FullWell: HFW And LFW (offset 25, 0x05, 0b00000101 )
•
Readout direction: Top to Bottom, Right to Left (offset 26, 01)
•
Division factor: 2^0 = 1 (offset 27, 00) (only used for gainmap)
•
Pixel Format: 0 (this is invalid) (offset 27, 00) (only used for darkmap)
•
Data: offset 32.
•
Data for gain and offset maps is big endian UINt16 (4047 -> 0FCF)
Defect Maps
Introduction
Defect pixel reference maps are stored in detector non-volatile memory. These maps
contain information on the position of defective (or deviating) pixels, required for
Defect Pixel Correction (DPC). These maps are detector-specific and are generated
during Teledyne DALSA factory calibration.